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);
No comments:
Post a Comment