You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Lucas Partridge <lu...@uk.ibm.com> on 2007/07/06 13:27:32 UTC

How to run the JMeter client locally on ZOS?

I know JMeter works when I run it from a Windows box and point it at a ZOS 
box, but I want to run JMeter 2.2 in batch mode (-n) from within Unix 
System Services on ZOS.  This is so that I can automate some tests.

However when I run JMeter it appears to send garbage data (EBCDIC?) in the 
POST request:

POST /SpringSimpleAddressBookWeb/add_contact.do HTTP/1.1
Connection: keep-alive
Cookie: 
JSESSIONID=00003IPlaBORkaMwOuHwpOAmjUu:C081E072F214D42E000000D40000000109390F0B
Content-Length: 48
Content-Type: application/x-www-form-urlencoded
User-Agent: Java/1.4.2
Host: 9.145.68.119:9081
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2

~??‰P

... as opposed to something like this when JMeter is run from Windows:

POST /SpringSimpleAddressBookWeb/add_contact.do HTTP/1.1
Connection: keep-alive
Cookie: 
JSESSIONID=0000RMNYrz2DRWwXGi1zEQMNBIq:C081E072F214D42E000000D40000000109390F0B
Content-Length: 48
Content-Type: application/x-www-form-urlencoded
User-Agent: Java/1.4.2
Host: localhost:9081
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2

name=Lucas&phoneNumber=123&dateOfBirth=&address=

I've tried invoking JMeter by using the -Dfile.encoding=ISO-8859-1 on the 
java command line but java then seems to expect the parameters for JMeter 
to be in EBCDIC as well!  For example:

/WebSphere/V6R0M0/AppServer/java/bin/java -jar -Dfile.encoding=ISO-8859-1 
JMeter/jakarta-jmeter-2.2/bin/ApacheJMeter.jar -n -l jm.log -t 
YP_STRUTS_ADD.jmx

yields:

/test/workarea/automation/tmp:>jmenc.sh
The jar file is not found: ÑÔ
£
a£`
£
`òKòaaÁ
ÑÔ
£
K
/test/workarea/automation/tmp:>

Any ideas please on how to get this working?  I am not a ZOS expert so 
hopefully the fix is simple:).
Many thanks.





Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number 
741598. 
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU