Thank you for contacting us with details for the requirements you want to find a solution for.
Based on the shared information I hope we can propose a possible way to automate the load testing to simulate that http connection between the Windows based application to the Application server. Please find my suggestions below:
1. Test Studio load testing can capture any http traffic
generated on the machine. For the particular scenario, you will need to choose to capture a new session and a device as a traffic source in the Capture traffic
Additional notes on this topic:
- it is recommended to exit any other applications on the machine, which may generate http traffic - that way you the captured requests will be only these you need from the target application.
- alternatively, you can capture the traffic using Fiddler
- it is a free Telerik product, which captures http traffic and its core functionality is actually implemented within Test Studio for the load testing scenarios capturing. The Fiddler trace can be easily imported as a user profile
in the load test.
- once you have the traffic captured, you may need to filter the profile, delete some unnecessary requests, etc.
- depending on the generated traffic on the target machine, you may prefer capturing the traffic with Fiddler, as it allows you to easier filter the captured requests
2. Once you have the required traffic, probably you need to data drive the requests in order to change the user, for example. Test Studio load testing detects some dynamic parameters in the captured traffic and we call these dynamic targets. These, which were automatically detected are directly listed in the Dynamic targets view
- there could be some parameters in the http traffic capture, which are not determined as dynamic, but still you may need them. For such scenarios we have implemented the custom dynamic targets
- you can choose parameters from the body, headers or cookies of a response and pass that to any of the following in the capture requests.
- once a dynamic target is added and enabled to be used, it can be data driven
if there is a data source attached to the test.
3. With the above described adjustments, you should now have a load test prepared to run
and simulate the amount of virtual users
you have selected when setting up the test
I hope the shared details will be useful for you to get started with this project. Of course, if you have any further questions or need additional assistance, please, do not hesitate to get back to me.
Thank you in advance for your time and cooperation.