You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by de...@daimlerchrysler.com on 2004/10/28 15:16:07 UTC
Query: Get Vs Post and Sending a file with request
Hi,
I am using the POST request in Jmeter and specifying a file a.log
in the 'Send a file with request' option under HTTP Request.
The test runs fine and I get the following part in my output .xml file.
......
......
......
<sampleResult timeStamp="1098967817461" dataType="" threadName=""
label="https://c960100006695.str.daimlerchrysler.com:9043/admin/secure/logon.html"
time="172" responseMessage="Found" responseCode="302"
success="true"><property xml:space="preserve" name="samplerData">GET
https://c960100006695.str.daimlerchrysler.com:9043/admin/secure/logon.html
</property></sampleResult><sampleResult timeStamp="1098967817508"
dataType="text" threadName=""
label="https://c960100006695.str.daimlerchrysler.com:9043/admin/logon.jsp"
time="47" responseMessage="OK" responseCode="200" success="true"><property
xml:space="preserve" name="samplerData">GET
https://c960100006695.str.daimlerchrysler.com:9043/admin/logon.jsp
</property></sampleResult><property xml:space="preserve"
name="samplerData">GET
https://c960100006695.str.daimlerchrysler.com:9043/admin/logon.jsp</property></sampleResult>
<sampleResult timeStamp="1098967817539" dataType="text" threadName="Thread
Gruppe1-5" label="HTTP Request" time="187" responseMessage="OK"
responseCode="200" success="true"><sampleResult timeStamp="1098967817352"
dataType="" threadName=""
label="http://c960100006695.str.daimlerchrysler.com:9090/admin/secure/logon.html"
time="0" responseMessage="Found" responseCode="302"
success="true"><property xml:space="preserve" name="samplerData">POST
http://c960100006695.str.daimlerchrysler.com:9090/admin/secure/logon.html
Query data:
</property></sampleResult>
......
......
......
I am not sure how to understand this content. The page I wanted the
threads to access is
https://c960100006695.str.daimlerchrysler.com:9043/admin/secure/logon.html.
Port no: 9090, Protocol; POST, no of threads: 5 and loop: 2
I have the following doubts reg the o/p xml file.
1)How and why is a page
https://c960100006695.str.daimlerchrysler.com:9043/admin/logon.jsp also
being shown???
when i specify only the
https://c960100006695.str.daimlerchrysler.com:9043/admin/secure/logon.html.
page
2)Why do I get 'GET' infront of the jsp files? when I had only requested
'POST'?
3)I also sent a file rec.log with some data in it (data may also be binary
content), I do not find
any response with respect to the rec.log file, I sent???
I dont find any change before and after adding the file or a parameter
name, will I see
some indication in the xml regarding the file or the content that I send
by 'POST' request.
4)Before every </property> tag, I find the string 'Query data:', what does
this signify.?
5)Can I send a binary file via 'POST' request?
bye,
with regards,
Deepak.