jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mstov...@apache.org
Subject RE: Extending XML-RPC Sampler
Date Thu, 24 Apr 2003 12:55:19 GMT
Ways of parsing dynamic content from a previous page:

http://jakarta.apache.org/jmeter/usermanual/component_reference.html#__regexFunction
http://jakarta.apache.org/jmeter/usermanual/component_reference.html#HTTP_URL_Re-
writing_Modifier
http://jakarta.apache.org/jmeter/usermanual/component_reference.html#HTML_Link_Parser

And, additionally, there's the new RegexExtractor in the latest CVS code.

-Mike

On 24 Apr 2003 at 10:33, Jana Poornavel wrote:

> hi chris,
> 		i too tried doing the same,and had a little success,in way
> to modify the Html link Parser to identity the 
> sessionId embedded in the xml response,but the implementation of mine is
> nasty,since i dabbled with the code,but it worked.
> its possible to write to your custom sampler(as stover always says!)but it
> needs lot of understanding to reuse the code.
> 
> i would suggest you to see how Modify controller and HTML Parser work in
> tandem to parse through the response and rewrite
> any 'HREF"(if it is an HTML Page) and make up the http request.
> 
> and why dont you have a look around jmeter1.8.i hope they have implemented
> what you and probably me have tried to do so
> 
> regards
> jana
> 
> 
> 
> -----Original Message-----
> From: Ireland, Chris [mailto:Chris.Ireland@isinet.com]
> Sent: Thursday, April 24, 2003 3:13 AM
> To: jmeter-user@jakarta.apache.org
> Subject: Extending XML-RPC Sampler
> 
> 
> Hello -
> 
> I would like to extend the XML-RPC Sampler and am having trouble doing so.
> Is this task possible?
> 
>  
> 
> My motivations for doing so are as follows - early in my test plan a request
> will generate a SessionID, included in the response from the server.  This
> SessionID is needed for some subsequent test cases - if I can extend the
> sampler then I can create two versions (one that parses the response and
> stores the ID, and the other that takes the ID from storage and populates
> the XML request).  I've not found documentation in JMeter that tells me how
> to do this, and am assuming that it isn't possible - is this correct?
> 
> Anyone have any other suggestions?
> 
>  
> 
> Thanks -
> 
> Chris
> 
> 



--
Michael Stover
mstover1@apache.org
Yahoo IM: mstover_ya
ICQ: 152975688
AIM: mstover777

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