Re: HTTP Header Manager uses old variable values?

2010-01-14 Thread sebb
27;s database ... > Thanks a lot anyway for your excellent and promt support > > Heiko > - Ursprüngliche Mail - > Von: "sebb" > An: "JMeter Users List" > Gesendet: Mittwoch, 13. Januar 2010 17:44:44 GMT +01:00 > Amsterdam/Berlin/Bern/Rom/Sto

Re: HTTP Header Manager uses old variable values?

2010-01-14 Thread Heiko Robert
- Von: "sebb" An: "JMeter Users List" Gesendet: Mittwoch, 13. Januar 2010 17:44:44 GMT +01:00 Amsterdam/Berlin/Bern/Rom/Stockholm/Wien Betreff: Re: HTTP Header Manager uses old variable values? On 13/01/2010, Heiko Robert wrote: > sebb, > > thanks a lot - that wo

Re: HTTP Header Manager uses old variable values?

2010-01-13 Thread sebb
On 13/01/2010, Heiko Robert wrote: > sebb, > > thanks a lot - that works !!! ;-) > > For everybody who tries to populate a GUID into a HTTP-Header variable here > is the full solution: > > define a user variable: > MyGUIDScript = > var chars = '0123456789abcdef'.split(''); var uuid = [], rnd

Re: HTTP Header Manager uses old variable values?

2010-01-13 Thread Heiko Robert
sebb, thanks a lot - that works !!! ;-) For everybody who tries to populate a GUID into a HTTP-Header variable here is the full solution: define a user variable: MyGUIDScript = var chars = '0123456789abcdef'.split(''); var uuid = [], rnd = Math.random, r; uuid[8] = uuid[13] = uuid[18] = uuid

Re: HTTP Header Manager uses old variable values?

2010-01-13 Thread sebb
On 13/01/2010, Andrey Pohilko wrote: > Hi, > I have a question - how can I use function in test plan to set variable "in > runtime"? Which component type I should use to do that? If you want to ask a new question, please start a new thread with a relevant subject. -

RE: HTTP Header Manager uses old variable values?

2010-01-13 Thread Andrey Pohilko
evaluation approach in code. (Maybe sebb can help me with this ;) Best regards, Andrey Pohilko С уважением, Андрей Похилько -Original Message- From: sebb [mailto:seb...@gmail.com] Sent: Wednesday, January 13, 2010 1:11 PM To: JMeter Users List Subject: Re: HTTP Header Manager uses

Re: HTTP Header Manager uses old variable values?

2010-01-13 Thread sebb
On 13/01/2010, Heiko Robert wrote: > Hi, > > when I use HTTP Header Manager to set HTTP header variables old values are > used. Has anybody an idea what I'm doing wrong? Header Manager is a Configuration element, and is processed before the thread starts. You can use functions on the Test Plan

HTTP Header Manager uses old variable values?

2010-01-13 Thread Heiko Robert
Hi, when I use HTTP Header Manager to set HTTP header variables old values are used. Has anybody an idea what I'm doing wrong? My Testplan: user defined variables: GUID = not set BSF PreProcessor: setting values to variable GUID Simple Controller HTTP Request ${GUID} HTTP