Thanks for hint, I just tried to put the URL here (XML/RPC sampler) different way I did before and it went through as a request. Problem now is that there was NO cookie sent along and I got this response:
-------this one is after first & successful plain HTTP GET request: ---REQUEST header: GET /ptsserver/servlet/PtsServlet HTTP/1.1 Connection: keep-alive User-Agent: Java/1.4.2_05 Host: 192.168.20.72 Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2 ---RESPONSE header: HTTP/1.1 200 OK Date: Tue, 23 Nov 2004 17:30:29 GMT Server: Apache/2.0.44 (Win32) mod_perl/1.99_09-dev Perl/v5.6.1 covalent_auth/2.3 mod_jk/1.2.2-beta-1 DAV/2 Set-Cookie: JSESSIONID=E4DE20AE51AA5E1D78A40994D53E35E5;Path=/ptsserver Keep-Alive: timeout=15, max=100 Connection: Keep-Alive Transfer-Encoding: chunked Content-Type: text/html; charset=UTF8 --------and this one is after XML/RPC request (that finally made it all the way to the server): ---REQUEST header: POST /ptsserver/servlet/PtsServlet HTTP/1.1 Connection: close Content-length: 129 Content-type: text/xml User-Agent: Java/1.4.2_05 Host: NJ-CALDWELL Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2 ---RESPONSE header: HTTP/1.1 401 Unauthorized Date: Tue, 23 Nov 2004 17:30:29 GMT Server: Apache/2.0.44 (Win32) mod_perl/1.99_09-dev Perl/v5.6.1 covalent_auth/2.3 mod_jk/1.2.2-beta-1 DAV/2 Set-Cookie: JSESSIONID=4AA84754161AD4E16A70DA415DA95D28;Path=/ptsserver Content-Language: en-US Connection: close Transfer-Encoding: chunked Content-Type: text/html;charset=ISO-8859-1 Note that the server is setting new cookie as it is unidentified request for "him" and also I noticed that there is no way how to change the header value Connection to 'keep-alive' since I need the Cookie Manager to do its job and there is no way that Header Manager and Cookie manager are in effect concurrently (I read about it in docs). Pleas let me know what else is worth trying. Thanks. Martin -----Original Message----- From: Peter Lin [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 23, 2004 12:28 PM To: JMeter Users List Subject: Re: Sending XML content using the HTTP Request sampler you should be able to use the XML/RPC sampler to send post data. you can find it in the docs http://jakarta.apache.org/jmeter/usermanual/component_reference.html#SOAP/XM L-RPC_Request peter On Tue, 23 Nov 2004 12:00:53 -0500, Martin Adamec <[EMAIL PROTECTED]> wrote: > Hello everyone, > > I think I forgot to introduce myself first before asking any question. My > name is Martin Adamec and I work as a quality control engineer in company > named Xybion. Now I try to find out IF and HOW we can use JMeter for our > application performance testing. I am a total newbie here (JMeter) and maybe > trying to solve my task some wrong way. > > I did further investigation of my problem since I posted my question > yesterday. Here are some constrains I have to accept: > > A) the request have to be HTTP > B) XML content of the request must be sent without any labels and/or leading > characters. > > Any help would be very much appreciated! > > Martin > > Here is an example of what I captured by HTTP sniffer (whole login sequence > consists of 10 requests; can send later if anybody wants to see it all): > > ________________________________ > 1) first GET HTTP request: > > GET /ptsserver/servlet/PtsServlet HTTP/1.1 > User-Agent: PTS XML COM Server > Host: 192.168.20.42 > Connection: Keep-Alive > Cache-Control: no-cache > Cookie: JSESSIONID=; JServSessionIdptsserver= > > 2) first POST HTTP request: > > POST /ptsserver/servlet/PtsServlet HTTP/1.1 > User-Agent: PTS XML COM Server > Host: 192.168.20.42 > Content-Length: 135 > Cache-Control: no-cache > Cookie: JSESSIONID=49BEAA73686182AB58660A3D4267BA16; > JSESSIONID=49BEAA73686182AB58660A3D4267BA16; JServSessionIdptsserver= > > <?xml version="1.0" encoding="UTF-8"?> > <PTS> > <Doctype>pts_rq_server_info</Doctype> > <Category>Server Information</Category> > </PTS> > ____________________________________________ > > > > > *********************************************************************** > This email, and any attachments, contains confidential and privileged information intended for the use of the addressee. If you are not the intended recipient or an authorized representative of the recipient, do not read or distribute the contents of this email and delete it from your system. This email and all attachments have been scanned for viruses and are believed to be virus free. However, it is the recipient's responsibility to ensure that they are virus free. Xybion does not accept any responsibility for any loss or damage arising in any way from use of this email and attachments. Xybion also does not accept responsibility for personal email or email not associated with its business purposes. > *********************************************************************** > > --------------------------------------------------------------------- > 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

