HomeSUPPORT QUESTIONS

Need help with StresStimulus? Start here.

Question on Scripting Messages in this topic - RSS

Unregistered User
Unregistered User
Posts: 509


2/15/2019
Unregistered User
Unregistered User
Posts: 509
We are trying to build a script where we’d like to pass a different URL for each VUser, we are attempting to load/stress test a client based application and need to replicate on many machines with different ids. The way we pass that identification is via the URL.

Does Stress Stimulus have a way to do that?
0 link
George @StresStimulus
George @StresStimulus
Administrator
Posts: 554


2/17/2019
George @StresStimulus
George @StresStimulus
Administrator
Posts: 554
If I correctly understood, you use a URL with a query string containing a machine ID.
If this is the case, let me use an example of how it can be done:
1. Record a test case from a machine with ID equal to, let's say, 111111. Some requests will be sent to URL that looks like https://website/path/page?id=111111
2. Create a dataset called Machine with one column ID that has ids of other machines:
222222
333333
3. Create a parameter replacing value 111111 with Machine.ID using VU-bound Databinding method as described here http://support.stresstimulus.com/display/doc49/Creating+a+Parameter
0 link






Copyright © 2024 Stimulus Technology