jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew M <>
Subject Re: HTTP Proxy Server problem.... [bcc][faked-from]
Date Thu, 18 Nov 2004 14:11:41 GMT
Hi Chris,
thanks for your reply. The value I wish to use is indeed within the 
html page. When I view the http request for the page in question in 
Jmeter I get the following output:

Name	|	Value	|	Encode
stockID	|	4657829	|	

Do I specify the regular expression where the existing stockID value 
is, i.e.:

Name	|	Value				|	Encode
stockID	|	{regular expression}		|	

Or do I specify the regular expression in the Regular expression 
Extractor, and the place the reference name in the http request page?, 

Name	|	Value				|	Encode
stockID	|	{reference name}		|

many thanks for your help


On 18 Nov 2004, at 13:22, Krahe, Chris wrote:

> Andrew-
> You must alter your test after recording it.  Assuming the ID's you 
> need
> are in the returned HTML, use a regular expression to extract them,
> store them in a JMeter variable, and use them in a later request.
> The alternative is restoring your database after each series of tests.
> -Chris
> -----Original Message-----
> From: Andrew M []
> Sent: Thursday, November 18, 2004 7:36 AM
> To: JMeter Users List
> Subject: HTTP Proxy Server problem.... [bcc][faked-from]
> Importance: Low
> Hi,
> I have just started to use Jmeter and find it a very useful tool,
> particularly the proxy server facility which records steps taken when I
> navigate through my site.
> My site is a dynamic one, so using the proxy server option records the
> values generated by my database etc. The problem I have is that when 
> you
> then run a test it uses for example, the unique ID that was created 
> when
> I saved a record to a table. Running the test then tries to use a key
> which already exists thus throwing a duplicate key error. My question
> is, how do I set the proxy server facility to record my movements
> through the site but when running a test not to use the recorded values
> but to use values generated as the test navigates through the site?
> regards
> Andrew
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

View raw message