Showing posts with label Jmeter. Show all posts
Showing posts with label Jmeter. Show all posts

Saturday, April 09, 2011

How to Print Variables in JMeter

I often find myself looking for this, though i very well know it. Its very useful to print variables in a Post Processor Bean shell in Jmeter, while you are developing / debugging your script. Specially when you are using variables that are picked up from CSV files. So here is a the 2 lines you use in a Beanshell to print the variables in Jmeter.

String auth = vars.get(“oauth_token”);
System.out.println(” AUTH Token = ” + auth);

Jmeter for Functional Tests

Found this article on web, which is an extract from the book “Apache Jmeter” ,I have been using Jmeter for performance measurement and found it to be very useful, but this article talks about the use of Jmeter for functional testing, which is interesting. link below

- http://www.packtpub.com/article/functional-testing-with-jmeter

Java Request Sampler in Jmeter

How to write a custom Java Class and use it as part of Java Request in Jmeter

1.

reference – http://henry-tech-notes.blogspot.com/2006/10/testing-hessian-services-with-jmeter.html

How to use SampleResult in Java Request / Why its required

reference – http://stackoverflow.com/questions/2379688/testing-java-classes-with-jmeter