HomeSUPPORT QUESTIONS

Need help with StresStimulus? Start here.

How to modify URL Messages in this topic - RSS

Unregistered User
Unregistered User
Posts: 514


1/25/2019
Unregistered User
Unregistered User
Posts: 514
We have two identical environments:
www.App.com/prod/
www.App.com/test/
We recorded scenarios in prod and now need to run them in test. Is it possible to do that without the re-recording?
0 link
George @StresStimulus
George @StresStimulus
Administrator
Posts: 568


1/26/2019
George @StresStimulus
George @StresStimulus
Administrator
Posts: 568
Yes. You need to parameterize a part of your URL.

Changing a portion of an application path is done the same way as parameterizing any other part of the request:

1. create a data generator of type constant for every environment http://support.stresstimulus.com/display/doc49/Data-Generators
For example: prod_env returning "/prod/" and test_env returning "/test/"








2.In the test case tree -> select the 1st request -> create a parameter -> select the header tab -> on the toolbar select parameterization editor -> under the {PATH} header select a portion of URL you wish to replace -> right mouse click and select the data generator you wish.





3.Once the parameter is created, right click and select "create more like this"

0 link






Copyright © 2025 Stimulus Technology