Configuring JMeter Part 12 - BeanShell Server

In this article we are going to see how can we configure jmeter by changing property of JMeter. In this section we will see the different mode settings for TCP Sampler in jmeter.propertie.

In the jmeter installed bin directory(in my case C:\apache-jmeter-2.8\bin), we get a file named Open this with note pad. Search for tcp sampler section in notepad and get the following.

For primary idea on BeanShell Server, please follow the structure here and if you interested in an example server, you may see this. It can be used while running test remotely. 

-To Define the port number as non-zero to start the http BeanShell Server on that port
[Note : The telnet server will be started on the next port]

-To Set the server initialization file(in path)

-To Define a file(path) to be processed at startup
[Path is not given, it will use own interpreter]

-To set the initialization files for BeanShell Sampler, Function and other BeanShell elements
[Note : Beanshell test elements do not share interpreters. Each element in each thread has its own interpreter. This is retained between samples.The file BeanShellListeners.bshrc contains sample definitions of Test and Thread Listeners. ]


No comments:

Post a Comment