jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: replace strings in XML request
Date Tue, 04 Nov 2008 11:25:00 GMT
On 04/11/2008, Andrej van der Zee <andrejvanderzee@gmail.com> wrote:
> Hi,
>
>  Is the following sequence possible with JMeter:
>  1) Receive XML reply from server

Yes - SOAP/XML-RPC or HTTP Sampler

>  2) Extract node from XML, let's say node X

Yes - XPath Extractor

>  3) Send another XML request in POST_DATA, but before sending it replacing
>  the session id in the XML by X from 2)

Yes, SOAP/XML-RPC

>  I saw that it is possible to send XML requests from a file, but can I also
>  do simple string-replacements before sending it to the server? How should I
>  do this?

JMeter does not process files before sending them; you will have to
either put the XML in the GUI - so variables are processed - or write
your own file handling.

>  Cheers,
>
> Andrej
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Mime
View raw message