Re: Parameterize values in quotes

Adil qureshi <[email protected]> Tue, 9 Sep 2014 21:06:36 +0100
Newsgroups gmane.comp.java.grinder.user
Message-ID <CAH6ok+SLNFEVNhzu0bKH5-HC6ntuytT7jfaA=x2f_KBEVchpGw@mail.gmail.com>
Try adding str around Id str(id)...
On 9 Sep 2014 20:54, "Chanduram Dowlathram" <[email protected]>
wrote:

> 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
>
>

------------------------------------------------------------------------------
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