Contributions
Re: Need urgent help with soapui pro installation on linux OS
Hi Ole, I am seeing the same problem with 4.5. beta1 version. Am I missing any step during installation? Can you please let me know how to import a license key through command line or inside which directory I should copy my license ley? Thanks13 years agoPlace ReadyAPI QuestionsReadyAPI Questions754Views0likes0CommentsNeed urgent help with soapui pro installation on linux OS
When I execute the testrunner command on linux none of the test cases are being executed. Please let me know what step did I miss during installation. Also, what should be the location of license file since the installer did not ask me to import the license key. Here are the steps I performed 1) Logged in as perftest user on our linux box 2) cd /usr/bin/eviware 3) wget http://dl.eviware.com/4_0_1/soapUI-Pro-x32-4_0_1.sh 4) Executed the shell script i.e. sh soapUI-Pro-x32-4_0_1.sh 5) Installed soapui in “/usr/bin/eviware/soapui-pro-4.0.1” directory 6) After installation I update the SoapUI_home path in testrunner.sh file Executed the test project: using SoapUI 4.0.1 version [perftest@sssssssss04 bin]$ sh /usr/bin/eviware/soapui-pro-4.0.1/bin/testrunner.sh -PEnvironmentWorksheet=/ysi/www/html/svn/environment_smoketest/trunk/SQA.xls -I -a -f /ysi/www/html/svn/environment_smoketest/trunk/results/SQA/13297058978 /ysi/www/html/svn/environment_smoketest/trunk/EnvironmentSmokeTest-soapui-project.xml -r 16:21:19,997 INFO [SoapUI] Adding [/usr/bin/eviware/soapui-pro-4.0.1/bin/ext/postgresql-8.3-604.jdbc4.jar] to extensions classpath 16:21:19,998 INFO [SoapUI] Adding [/usr/bin/eviware/soapui-pro-4.0.1/bin/ext/sqljdbc.jar] to extensions classpath 16:21:19,998 INFO [SoapUI] Adding [/usr/bin/eviware/soapui-pro-4.0.1/bin/ext/postgresql-8.3-604.jdbc3.jar] to extensions classpath 16:21:19,998 INFO [DefaultSoapUICore] Creating new settings at [/ysi/home/perftest/soapui-settings.xml] 16:21:20,916 WARN [SoapUIProGroovyScriptEngineFactory] Missing scripts folder [/usr/bin/scripts] 16:21:20,918 INFO [DefaultSoapUICore] Adding listeners from [/usr/bin/eviware/soapui-pro-4.0.1/bin/listeners/demo-listeners.xml] 16:21:21,475 INFO [WsdlProject] Loaded project from [file:/ysi/www/html/svn/environment_smoketest/trunk/EnvironmentSmokeTest-soapui-project.xml] 16:21:21,700 WARN [SoapUIProGroovyScriptEngineFactory] Missing scripts folder [/usr/bin/scripts] 16:21:22,656 INFO [SoapUIProTestCaseRunner] Setting project property [EnvironmentWorksheet] to [/ysi/www/html/svn/environment_smoketest/trunk/SQA.xls] 16:21:22,656 INFO [SoapUIProTestCaseRunner] Running soapUI tests in project [EnvironmentSmokeTest] 16:21:22,659 INFO [SoapUIProTestCaseRunner] Running Project [EnvironmentSmokeTest], runType = PARALLEL 16:21:22,664 INFO [SoapUIProTestCaseRunner] Project [EnvironmentSmokeTest] finished with status [RUNNING] in 0ms SoapUI 4.0.1 TestCaseRunner Summary ----------------------------- Time Taken: 8ms Total TestSuites: 0 Total TestCases: 0 (0 failed) Total TestSteps: 0 Total Request Assertions: 0 Total Failed Assertions: 0 If I run the same project on windows I do see the correct results: ----------------------------- Time Taken: 8424ms Total TestSuites: 1 Total TestCases: 3 (0 failed) Total TestSteps: 113 Total Request Assertions: 111 Total Failed Assertions: 0 Total Exported Results: 013 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.7KViews0likes2CommentsInstallation issue with Soapui Pro-4.0.1 version on Linux
I am unable to execute soapui project using version 4.0.1 on linux machine. I see the following message on the command line when I try to execute soapui project. Note no error was thrown on execution and hence I am not sure what am I missing. ================================ = = SOAPUI_HOME = /usr/bin/eviware/soapui-pro-4.0.1 = ================================ soapUI Pro 4.0.1 TestCase Runner 15:48:34,541 INFO [SoapUI] Adding [/usr/bin/eviware/soapui-pro-4.0.1/bin/ext/postgresql-8.3-604.jdbc4.jar] to extensions classpath 15:48:34,541 INFO [SoapUI] Adding [/usr/bin/eviware/soapui-pro-4.0.1/bin/ext/sqljdbc.jar] to extensions classpath 15:48:34,541 INFO [SoapUI] Adding [/usr/bin/eviware/soapui-pro-4.0.1/bin/ext/postgresql-8.3-604.jdbc3.jar] to extensions classpath 15:48:34,865 INFO [DefaultSoapUICore] initialized soapui-settings from [/ysi/www/html/svn/environment_smoketest/trunk/soapui-settings.xml] 15:48:35,517 WARN [SoapUIProGroovyScriptEngineFactory] Missing scripts folder [/ysi/www/html/svn/environment_smoketest/trunk/C:\PROGRA~1\eviware\SOAPUI~1.1\bin\scripts] 15:48:35,518 INFO [DefaultSoapUICore] Adding listeners from [/usr/bin/eviware/soapui-pro-4.0.1/bin/listeners/demo-listeners.xml] 15:48:36,012 INFO [WsdlProject] Loaded project from [file:/ysi/www/html/svn/environment_smoketest/trunk/EnvironmentSmokeTest-soapui-project.xml] 15:48:36,233 WARN [SoapUIProGroovyScriptEngineFactory] Missing scripts folder [/ysi/www/html/svn/environment_smoketest/trunk/C:\PROGRA~1\eviware\SOAPUI~1.1\bin\scripts] 15:48:37,193 INFO [SoapUIProTestCaseRunner] Setting project property [EnvironmentWorksheet] to [/ysi/www/html/svn/environment_smoketest/trunk/SQA.xls] 15:48:37,194 INFO [SoapUIProTestCaseRunner] Running soapUI tests in project [EnvironmentSmokeTest] 15:48:37,197 INFO [SoapUIProTestCaseRunner] Running Project [EnvironmentSmokeTest], runType = PARALLEL 15:48:37,202 INFO [SoapUIProTestCaseRunner] Project [EnvironmentSmokeTest] finished with status [RUNNING] in 0ms Here are the installation steps that I performed. Please let me know if I missed something. 1) wget http://dl.eviware.com/4_0_1/soapUI-Pro-x32-4_0_1.sh 2) Installed the soapui 4.0.1 using above shell script under /usr/bin/eviware/soapui-pro-4.0.1/ directory 3) Installed only two components Soapui and JDBC. 4) After installation I modified testrunner.sh file to set up SoapUI_Home path 5) Copied the license file under "/ysi/home/perftest/.soapui/" directory Note: I had to create .soapui directory I also have 3.6.1 version installed on the same machine and it works great. Thanks13 years agoPlace ReadyAPI QuestionsReadyAPI Questions950Views0likes0CommentsUnable to insert properties into database using Datasink
Hi, I am Unable to insert properties into database using Datasink. An "java.lang.Exception: SQL problem occured" exception is thrown when I try to do so. Steps 1) Datasink step has the following properties Property Name Value duration = ${=testRunner.results[testRunner.results.size()-1].getTimeTaken()} result_reason=${=testRunner.results[testRunner.results.size()-1].status} target_name=${engineDataSource#endpoint} test_case=engineSeverEST test_result=0 test_run_id=1 test_step=${=testRunner.results[testRunner.results.size()-1].testStep.name} test_suite=Engine EST SQL Query: insert into test_run_details(duration,result_reason,target_name,test_case,test_result,test_run_id,test_step,test_suite) values (?,?,?,?,?,?,? ,?); When the test step is executed the "java.lang.Exception: SQL problem occured" exception was thrown. Note: I did try the sql query with quotes too insert into test_run_details(duration,result_reason,target_name,test_case,test_result,test_run_id,test_step,test_suite) values ('?','?','?','?','?','?','?' ,'?'); Can you please help me determine the cause of failure? Thanks13 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.9KViews0likes2CommentsHow can I get Rest Test case log information using a script?
Hi, How can I get Rest Test case log information using a script? I have rest test case that returns following error "java.net.ConnectException: Connection refused: connect" in the Test Case Log. I want to capture this information and store into the property for custom reporting. I am unable to retrieve rest test case log information. Can you please help? Thx, Rhonda13 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.6KViews0likes1CommentDifferent ways to pass message body to the HTTP Post request
What are different ways to pass message body to the HTTP Post request. I am looking to pass below multi part information to message body. ------------IsashgjauayjhaU77UI87HJHJHGGY1 Content-Disposition: form-data; name="Filename" readme.txt ------------IsashgjauayjhaU77UI87HJHJHGGY1 Content-Disposition: form-data; name="" MzZFY05rQXBWRCt4dnc9PQ ------------IsashgjauayjhaU77UI87HJHJHGGY1 Content-Disposition: form-data; name="" from_email@fake.com ------------IsashgjauayjhaU77UI87HJHJHGGY1 Content-Disposition: form-data; name="" to_email@fake.com ------------IsashgjauayjhaU77UI87HJHJHGGY1 Content-Disposition: form-data; name="fname"; filename="readme.txt" Content-Type: application/octet-stream new data ------------IsashgjauayjhaU77UI87HJHJHGGY1 Content-Disposition: form-data; name="" Submit Query ------------IsashgjauayjhaU77UI87HJHJHGGY11--13 years agoPlace ReadyAPI QuestionsReadyAPI Questions3.5KViews0likes1CommentOn Linux mediaType from mess. body iprepended to ContentType
On linux machine the media type is prepended from message body to the Header ContentType. Where the same does not happen on Windows machine. Due to this all our test cases are failing on linux environment. Can some one please help us to resolve this problem asap? Hers is the scenario: I am executing a HTTP Post request. In my request I have added two Header attributes i.e. Content-Type and MIME_version and also I am also passing some value to request via message body. On execution I see the following Content-Type value being sent in the request. The "application/xml" is prepended to Content-Type from message body Note: Please see the Content-Type value Request from On Linux: ----------------- Properties ------------------------------ StatusCode: 200 Encoding: Method: POST Username: HTTP Version: HTTP/1.1 Endpoint: https://SXXX.yahoo.com/rest/v1/d94 URL: https://SXXX.yahoo.com/rest/v1/d94 ---------------- Request --------------------------- MIME-Version: [1.0] Host: [sxxx.yahoo.com] Content-Length: [790] Accept-Encoding: [gzip,deflate] User-Agent: [Jakarta Commons-HttpClient/3.1] Content-Type: [application/xml, multipart/form-data; boundary=----------Ij5Idjahdjhasjkdhasnjkdaskjd] In case of windows I don't see any media type value being prepended to Content-Type Request from windows: POST https://Sxxx.yahoo.com/rest/v1/d94 HTTP/1.1 Accept-Encoding: gzip,deflate MIME-Version: 1.0 Content-Type: multipart/form-data; boundary=----------Ij5Idjahdjhasjkdhasnjkdaskjd User-Agent: Jakarta Commons-HttpClient/3.1 Host: sxxx.yahoo.com Content-Length: 790 Can you please help me to resolve this issue? Thanks SoapuI Version: 3.6.1 (Release build) Btw, I did try the same on 4.0 too and that did not help either13 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.4KViews0likes1Comment