The browser sends the User-Agent request header, which includes information about the browser type and the features it supports (e.g., compression), as well as the client operating system and installed frameworks and software. This information can impact request processing and performance.
By default, StresStimulus executes the test case without modifying the recorded User-Agent request header. To change the User-agent, set the Replace User-agent String property to True. A generic string for the selected browser type will appear in the User-Agent property. You can further change the string to specify the desired client configuration (e.g., a .NET framework version) to be used for simulating VUs. These User-Agent settings affect only VUs assigned to emulate this browser type. To change User-agents for other uses, make the appropriate changes in the User-Agent for different browsers.
Tip: If a webpage was substantially modified after recording the test case by adding new external resources, then during the load test, the recorded resources will be not be requested. To test a website’s performance with new resources, rerecorded the test case.
- No labels