Re: Parameterize values in quotes

Chanduram Dowlathram <[email protected]> Tue, 9 Sep 2014 17:00:03 -0400
Newsgroups gmane.comp.java.grinder.user
Message-ID <CAP7Ca_kKj09p+UzYciM8pfR0R0Zp+8sti4-4L8X2hKzLcBGSMw@mail.gmail.com>
ok, this worked as well "self.id"

On Tue, Sep 9, 2014 at 4:06 PM, Adil qureshi <[email protected]> wrote:

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

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