Parameterize values in quotes

Chanduram Dowlathram <[email protected]> Tue, 9 Sep 2014 15:51:32 -0400
Newsgroups gmane.comp.java.grinder.user
Message-ID <CAP7Ca_=EQB+4x-+iJFuj+Jz_gwZJM3Aa12cb7bo-jYTsybivbw@mail.gmail.com>
how to parameter values in quotes in jython, this is my method :


BaseSTSSchedulerTask.__init__(self, Test(testId, “Get Service Group by
ID”), hostPort, ‘/SchServices/api/servicegroup/9999′, HEADERS)

I want to replace the value 9999 with a variable which is returned from a
method., like id= Data.getID(). I tried doing this
‘/SchServices/api/servicegroup/’+id, it does not help . Any idea how to
handle this ?

Thanks

Chandu

------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce.
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk

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