Contributions
Re: JAVA_HOME error when trying to execute command line loadtestrunner in 3.0.1
Hi, Below is the exact error message I am receiving JAVA_HOME is not set, unexpected results may occur. Set JAVA_HOME to the directory of your local JDK to avoid this message. "java" is not recognized as an internal or external command, operable program or batch file. Here is the bat file, @echo off set SOAPUI_HOME=%~dp0 set JAVA=%JAVA_HOME%\bin\java if not "%JAVA_HOME%" == "" goto SET_CLASSPATH set JAVA=java echo JAVA_HOME is not set, unexpected results may occur. echo Set JAVA_HOME to the directory of your local JDK to avoid this message. :SET_CLASSPATH rem init classpath set CLASSPATH=%SOAPUI_HOME%soapui-pro-3.0.1.jar;%SOAPUI_HOME%..\lib\*; rem JVM parameters, modify as appropriate set JAVA_OPTS=-Xms1024m -Xmx1024m -Dsoapui.properties=soapui.properties -Dgroovy.source.encoding=iso-8859-1 "-Dsoapui.home=%SOAPUI_HOME%\" if "%SOAPUI_HOME%\" == "" goto START set JAVA_OPTS=%JAVA_OPTS% -Dsoapui.ext.libraries="%SOAPUI_HOME%ext" set JAVA_OPTS=%JAVA_OPTS% -Dsoapui.ext.listeners="%SOAPUI_HOME%listeners" set JAVA_OPTS=%JAVA_OPTS% -Dsoapui.ext.actions="%SOAPUI_HOME%actions" :START rem ********* run soapui loadtest runner *********** "%JAVA%" %JAVA_OPTS% com.eviware.soapui.SoapUIProLoadTestRunner %* As I said earlier I was able to run the command line loadtestrunner without any issue in 2.5.1 but when I installed the newer 3.0.1 version I started receiving this error. I am not good with Java so not sure how to fix this. Thanks for your help, --ag15 years agoPlace ReadyAPI QuestionsReadyAPI Questions3.9KViews0likes0CommentsWaiting for samples error messages in the log file
Hi, I ran few loadtest from command line and while looking throught the log files i noticed following in the soapui.log file, not sure what it means... 2009-08-19 05:51:01,059 INFO [LoadTestStatistics] Waiting for 1 samples.. 2009-08-19 05:51:01,559 INFO [LoadTestStatistics] Waiting for 1 samples.. 2009-08-19 05:51:02,059 INFO [LoadTestStatistics] Waiting for 1 samples.. 2009-08-19 05:51:02,559 INFO [LoadTestStatistics] Waiting for 1 samples.. 2009-08-19 05:51:03,059 INFO [LoadTestStatistics] Waiting for 1 samples.. 2009-08-19 05:51:03,558 INFO [LoadTestStatistics] Waiting for 1 samples..Also I noticed on my task manager there were few java.exe processes (which are related to soapui command line tests which i was firing) taking up too much of memory and not releasing it even though in theory it should have finished. Can you please provide any workaround or fix to these issues? Thanks, --ag15 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.6KViews0likes3CommentsRe: Re: Socket Time Out during loadtest
Hi, I tried the higher value also but no luck, In the process of trial and error, I tried checked the option which says Discard Successful results to preserve memory and it solved the issue for now. Thanks for your prompt replies, --ag15 years agoPlace ReadyAPI QuestionsReadyAPI Questions968Views0likes0CommentsRe: Re: Socket Time Out during loadtest
Hi, I just checked the TestCase options and all the below three parameters are set to 0 1. Socket Time Out 2. TestCase Time Out 3. Max Results and the only check boxes which are unchecked are Session and Discard OK results. Let me know if I should look into something else also to fix this issue? Thank you so much for your prompt reply, Regards, --ag15 years agoPlace ReadyAPI QuestionsReadyAPI Questions969Views0likes0CommentsRe: Re: Socket Time Out during loadtest
Hi, Sorry I should have alaborated more on the SAVE and Process step. These steps can take longer to response depending on the size of the xml file which it's trying to SAVE. The above error message was for xml file which is 16MB. Also I am assuming that setting the SocketTimeOut to 0 sets it to unlimited timeout. Thanks, --ag15 years agoPlace ReadyAPI QuestionsReadyAPI Questions967Views0likes0CommentsRe: Socket Time Out during loadtest
Hi, I am currently using the sopa ui 2.5.1 (as could not install the 3.0.1 succesfully due to JAVE_HOME error as per my ealier post) to loadtest web service. The TestCase has following steps which runs for 1 hour window and is repeated for 10 hour with different dataset. 1. Authenticate 2. Read DataSource (which reads xml files from a particular location and shared across multiple threads) 3. Transfer the xml file from Datasource to SAVE step 4. SAVE (which sends the xml file through web service to SAVE it in the SQL database) 5. Transfere the response from SAVE (account id) to Process step 6. Process step which processes the account id received from the step 5 7. Loop the DataSource For the load test I am using the simple strategy with Test Delay of 20 mins with Random set to 1. The number of threads are set to half the number of limit (total runs) Also the SocketTimeOut is set to 0 and Max response size is set to 0 in the SoauUI preferences. It works fine except for some requests I am receiving following error message in the soap ui log files Thu Aug 13 16:24:59 PDT 2009:Save:TestStep [Save] result status is FAILED; [java.lang.Exception: java.net.SocketTimeoutException: Read timed out]:8 ---------------------------------------------------- Status: FAILED Time Taken: 0 Size: 0 Timestamp: Thu Aug 13 16:24:59 PDT 2009 TestStep: Save java.lang.Exception: java.net.SocketTimeoutException: Read timed out ---------------------------------------------------- Encoding: UTF-8 Endpoint: http://rblab9/services/account.asmx Username: null Password: null Domain: null ---------------- Request --------------------------- 0 0 Insert ........ ---------------- Response -------------------------- - missing response / garbage collected - Can you please let us know how to fix this issue? Thanks, --ag15 years agoPlace ReadyAPI QuestionsReadyAPI Questions3KViews0likes5CommentsRe: JAVA_HOME error when trying to execute command line loadtestrunner in 3.0.1
Hi, I used the soapUI Pro 3.0.1 Installer for 32-bit Windows to install the 3.0.1. I was able to launch the Soap UI without any issue it's just that I could not fire up any load test using the command line due to JAVA_HOME error. The 2.5.1 version was alos installed using the installer and had no issues at all. I am not sure how to install soap UI using Binary Zip files. Thanks, --ag15 years agoPlace ReadyAPI QuestionsReadyAPI Questions3.9KViews0likes0CommentsJAVA_HOME error when trying to execute command line loadtestrunner in 3.0.1
Hi, I just upgraded the soap ui from previous version (2.5.1) to 3.0.1 and when I try to run the loadtestrunner from command line I receive the JAVA_HOME error message. I have a 32 bit OS (Windows XP) and installed the Soap UI by downloading it from your website. Can you please let me know how to fix this issue? Thanks, --ag15 years agoPlace ReadyAPI QuestionsReadyAPI Questions7.5KViews0likes6Comments