ContributionsMost RecentMost LikesSolutionsRe: How to call Java main method from Groovy Script in SoapUI nmrao Below is the configuration I am using it. Selenium jars httpclient-4.3.4.jar selenium-server-standalone-2.41.0.jar Ready API 2.3.0 Chrome Driver 2.26 2.38 Chrome version Version 65.0.3325.181 (Official Build) (64-bit) Eclipse IDE Version: Photon Release (4.8.0) When I use the above selenium jar files with chromedriver 2.26, it just opens the chrome browser and does not do anything further - maybe the chrome version I am using is higher (I executed this on eclipse as well as ReadyAPI both). However, when I use chromedriver 2.38 with the same selenium jar files, it does work on eclipse but not on readyapi. Re: How to call Java main method from Groovy Script in SoapUI avidCoder, Yes, I think its same issue. Can you please let me know how to find compatibility between ready api, chromedriver version, and selenium as it is working fine in eclipse. The chrome version you have suggested before in here (https://community.smartbear.com/t5/SoapUI-Pro/Simple-Functional-Web-Testing/td-p/177519), it just launches the chrome but it won't do anything further like searching for the particulate field and place the values etc.. I use my code with 2 chromedriver, one is suggested by you(2.26) and another one is 2.38.it is working fine with 2.38 but I think Ready API did not support 2.38 chrome version. As I use the same selenium jar in eclipse and ready api. It works in eclipse but not in readyapi. Re: How to call Java main method from Groovy Script in SoapUI avidCoder, Java Version : 1.8.0_181 Soupui Version: 2.3.0 Re: How to call Java main method from Groovy Script in SoapUI avidCoder, I do not have any method in the class. It's the only main method I have in the class. I try doing this but it did not work My java code looks like this package project; public class MyClass{ public static void main(String[] args) { // performing some functionality here } } Groovy script : import project.MyClass; MyClass sample = new MyClass(); sample.main(".abcd","Test","tom","pass"); It throws below error and I am not sure, Is this error coming because I am calling main method or any other issue ERROR:java.lang.NoSuchMethodError: com.google.common.util.concurrent.SimpleTimeLimiter.create(Ljava/util/concurrent/ExecutorService;)Lcom/google/common/util/concurrent/SimpleTimeLimiter; How to call Java main method from Groovy Script in SoapUI Can someone please advice me how to call java main method along with argument from Groovy script. Below are the steps which I have done 1) Write the code and eclipse under the main method 2) Taking 4 parameters as input from the main method. 3) Run the class in eclipse and it's working fine. 4) Created the Jar file 5) Place in the bin/ext folder of ReadyAPI 6) Restart ReadyAPI now the question is how can I call the main method from the groovy script. I try creating an object of the class and call method as same we call another method but it's not working. Is there any way to call the main method of the class. Soup UI integration/connection with BrowserStack Is there any way that we can integrate Soup UI with Browserstack. Below is the step that I need to follow. Steps 1) Run the API 2) Get the response from the API and save it in a file 3) Send it on email 4) open on mobile (iPhone) (Here I need browser stack connectivity) 5) Verify content once the file added Re: Simple Functional Web Testing avidCoder Below are the steps that I need to follow 1) Get the response from the API 2) Start Chrome connection 3) Visit a particular page 4) Enter the response in one of the field and click on submit. 5) check if the response code is correct then 5) Wait for a sec (It will generate another button) 6) Click on the new generated button and so on. Re: Simple Functional Web Testing avidCoder Finally, It worked for me. Thank you so much for your help. :-) Could you please guide me with some materials/blogs from where I can understand how to pass the value and get the response back to the ready API. It will be helpful for me. Thanks once again. :-) Re: How to get Endpoint from the Request I tried below code //Conside API_Name is name of the testStep. def response = context.expand('${API_Name#Response}') def token = response.data.token but it is also throwing an error message:- Thu Jan 31 14:46:44 AEDT 2019:ERROR:groovy.lang.MissingPropertyException: No such property: data for class: java.lang.String This error message is coming for the last line def token = response.data.token Re: Simple Functional Web Testing avidCoder , Yes I removed this one - import java.util.concurrent.TimeUnit Now my code looks like this import org.openqa.selenium.* import org.openqa.selenium.chrome.ChromeDriver //Initiate WebDriver System.setProperty("webdriver.chrome.driver", "C:/chromedriver_win32 2.42/chromedriver.exe"); log.info(System.getProperty("webdriver.chrome.driver")); WebDriver driver=new ChromeDriver(); Still getting the same error Tue Jan 29 09:43:16 AEDT 2019:ERROR:java.lang.NoSuchMethodError: com.google.common.util.concurrent.SimpleTimeLimiter.create(Ljava/util/concurrent/ExecutorService;)Lcom/google/common/util/concurrent/SimpleTimeLimiter;