Hi,
In our project , we are migrating from loadrunner to gatling. There aregood number of scripts in ‘Java vuser’ protocol.
How can I run this in gatling. Highly appreciate your suggestion.
Java code is simple.
Example:
public class Actions
{
private ExecuteBlock mobileBlock**;**
public int init**()** throws Throwable {
web**.set_sockets_option(“MAX_TOTAL_CONNECTIONS”,** “2”);
web**.set_max_html_param_len(“99999”);
web.set_sockets_option(“SSL_VERSION”,** “TLS1.1”);
return 0**;**
}//end of init
public int action**()** throws Throwable {
ExecuteBlock Block = new ExecuteBlock**();**
Block**.runFunction(<{my parameter}>);**
return 0**;**
}//end of action
public int end**()** throws Throwable {
return 0**;**
}//end of en
}