Hi,

I create a new user thru my API.  I then attempt to add the same user again.  I 
receive a 400 response code from the API, which is by design.  Jmeter displays 
this as a failure.  I added a response assertion which has response code 
matches 400, but Jmeter fails the request before it executes the response 
assertion.

I would like Jmeter to hit the response assertion of 400 and not fail the 
request.

Any ideas?

Ray



-----Original Message-----
From: sebb [mailto:[email protected]] 
Sent: Friday, September 24, 2010 10:11 AM
To: JMeter Users List
Subject: Re: Create random variable then use same variable

On 24 September 2010 15:56, sprozzy <[email protected]> wrote:
>
> Hi, I am currently working on creating a randon variable (Stock$).  When the
> variable is first created I then want to use the same variable throughout
> the script.
>
> How is this possible.

Just refer to the variable by name, i.e. ${Stock$}

> Many thanks
> --
> View this message in context: 
> http://jmeter.512774.n5.nabble.com/Create-random-variable-then-use-same-variable-tp2852755p2852755.html
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



Confidentiality Notice: This e-mail message (including any attached or
embedded documents) is intended for the exclusive and confidential use of the
individual or entity to which this message is addressed, and unless otherwise
expressly indicated, is confidential and privileged information of Rackspace.
Any dissemination, distribution or copying of the enclosed material is 
prohibited.
If you receive this transmission in error, please notify us immediately by 
e-mail
at [email protected], and delete the original message.
Your cooperation is appreciated.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to