Ok - thx for the prompt response - I think that pretty well spells things out but I 
would just like to confirm:

JMeter does not support the scenario where you have data to post at the same time as 
you have parameters to send (because I don't see how to send the parameters in the XML 
sampler unless they just go in the beginning - not too likely)
Which is to say that I want post data along with a url like this :  
http://someIPaddress/academy/servlet/Training?studentId=14&cachekiller=1076447755966&method=saveResults

Thx again.

-----Original Message-----
From: Mark Courneyea 
Sent: Tuesday, February 10, 2004 5:34 PM
To: [EMAIL PROTECTED]
Subject: Using proxy to record script with xml POSTed to servlet - help!


So I got the JMeter proxy to work in order to record test scripts - very nice - but 
when it arrives at a POST with xml data, it seems to need to resolve the xml into a 
name/value pair.

After searching this mailing list, I seemed to come up with 2 possible solutions as 
work arounds:

1) use a header manager to change content-type to text/xml

Result: the content-type as shown in the recorded test script is already text/xml so 
that can't be the problem

2) use a SOAP/XML-RPC sampler

Result: nothing.  I added it as a child to the original http request.  When that 
didn't work, I tried putting it at the same level, just after the original http 
request.  I made sure the garbled xml was removed from the name\value list in the 
original.  I made sure the proper name\value pairs were added to the original.

My first question is - is this a bug in the script recording from the proxy or 
something I am doing?  I am so hoping it is something I am doing.

My second question is - assuming I am working with a bug, is the work around I am 
attempting possible?  If so, can someone point me in the right direction?

Any and all help is appreciated.


Mark Courneyea
Software Specialist
AutoSkill International
http://www.autoskill.com
(613) 235-6740 ext. 269



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

Reply via email to