Error of type Dispatch exception Occured while running the script in SOAP UI Mocking
Hi Team, I am facing an issue while trying to execute the java script in SOAP UI Mocking.I am getting an error stating "com.eviware.soapui.impl.wsdl.mock.DispatchException: Failed to dispatch using script; org.mozilla.javascript.EcmaError: ReferenceError: "alert" is not defined".Kindly provide your inputs to resolve the issue. Thanks, Praveen773Views0likes0CommentsHow to do Command line installation of SoapUI Open Source on Linux server ?
Hi Team, I am installing SoapUI Open Source on my Linux server. For installtion I am executing following commands: wget https://s3.amazonaws.com/downloads.eviware/soapuios/5.4.0/SoapUI-5.4.0-linux-bin.tar.gz tar -xzf SoapUI-5.4.0-linux-bin.tar.gz -C /opt/ cd /opt/SoapUI-5.4.0/bin/ ./soapui.sh While installtion last step (./soapui.sh) is giving me following error: 05:11:16,498 INFO [DefaultSoapUICore] All plugins loaded java.awt.HeadlessException: No X11 DISPLAY variable was set, but this program performed an operation which requires it. at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:204) at java.awt.Window.<init>(Window.java:536) When I use 'export DISPLAY=:0.0' , step ./soapui.sh goes in long run and need to abort manually with following message - Exception in thread "main" java.awt.AWTError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable. at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method) at sun.awt.X11GraphicsEnvironment.access$200(X11GraphicsEnvironment.java:65) at sun.awt.X11GraphicsEnvironment$1.run(X11GraphicsEnvironment.java:115) Kindly suggest solution for Command line installation of SoapUI Open Source on Linux.3KViews0likes0CommentsHow to apply common assertions at Project or Suite Level
Hi, I have a test suite in soapUi which has many test cases . And each test cases contains multiple REST requests tests steps as well. I would like to add assertions for all of those requests test steps , but I don’t want to add common types of assertions at each and every request level. Say for example I want to add assertions for http response status code . This assertion is going to be a common one and it should be checked for all the requests . Adding this common assertion for each and every test step is going to be a manual effort , and looking for a better approach. Instead of adding this at every request level, is it possible to add at test suite / test case level or some other way, so when the execution of suite happens , this gets checked for all the requests. I use free version of soapUI Thanks & Warm Regards MusaffirSolved2.1KViews0likes1Commentcan we use regex function in JDBC test step
Hi, I am using open source SoapUI tool . trying to retrieve DB result using JDBC step. Below is the query, I used -SELECTregexp_replace(current_bill_cycle_amount::text,'^(-??\\d*?\\.\\d*?)0*\$','\1')current_bill_cycle_amountfrom liability.creditcardstatement ; getting error message as -Tue Sep 13 14:32:07 IST 2016:ERROR:org.postgresql.util.PSQLException: No value specified for parameter 1. DBName - PostgreSQL When I tried wothout regex function, i am getting response from DB. Any one please suggest, whether I can use regex function in JDBC step or not. Same query is working in postgresql and getting expected response.673Views0likes0Comments