Re: grinder script parameter

Gary Mulder <[email protected]> Fri, 17 Apr 2015 17:48:58 +0100
Newsgroups gmane.comp.java.grinder.user
Message-ID <CAKy9zTDyXXfJDUw3C+q--SUvp2VGTUYOArWp5CWaOqTLWVJscg@mail.gmail.com>
On 17 April 2015 at 17:14, Gang Yan <[email protected]> wrote:

> Hi all
>
>
>
> I use grinder test http stress test. URL: http://192.168.0.254:7001/app
>
>
>
> My server Deploy multi app:   7001,7002,7003,7004…….7010.
>
>
>
> How to parameter web port  in script ?
>

'http://192.168.0.254:%d/app' % (7001 + grinder.getThreadNumber() % 10)

------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF

_______________________________________________
grinder-use mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/grinder-use