Contributions
Resolve bug Null pointer exception with HTTP Monitor.
Hi, Please resolve bug Null pointer exception with HTTP Monitor. Http Monitor + create test case from selected request would be a very useful feature, but as far as I can see (in version 5.3.0) this is currently completely unusable. Its working in Pro version, so I guess a fix wouldn't be very difficult to implement? Kind Regards, Paul Igoe1.2KViews0likes0CommentsRe: Null pointer exception with HTTP Monitor in SoapUI open source (but OK in Pro)
Hi, I'd really appreciate some feedback on this from Smartbear. I'm currently evaluating SoapUI open source as a possible solution for a new service-level automation project. The other possibility we are looking at is TestComplete (we already use) scripting (usingMSXML2.SERVERXMLHTTP.6.0 to manage http requests). Currently I'd favour SoapUI, but only if the create test case from Http Monitor functionality is working. Manually copy/pasting request details from e.g. chrome F12 or fiddler is too slow / error-prone. (project is at http level, not SOAP or WSDL) We need to make a decision this week! Thanks in advance for any feedback you can provide! Kind Regards, Paul5.3KViews0likes0CommentsRe: Null pointer exception with HTTP Monitor in SoapUI open source (but OK in Pro)
Some more information related to this error. I just noticed that when I start SoapUI, there are always various errorsin the soapui log: (error log is empty). Could these errors be related to the Null pointer exception I get when trying to use Http Monitor? Any idea how to fix them? Tue Aug 01 14:20:56 CEST 2017:INFO:initialized soapui-settings from [C:\Users\Paul\soapui-settings.xml] Tue Aug 01 14:20:58 CEST 2017:INFO:Adding plugin from [C:\Users\Paul\.soapuios\plugins\ready-uxm-plugin-1.0.1-dist.jar] Tue Aug 01 14:20:58 CEST 2017:INFO:Adding plugin from [C:\Users\Paul\.soapuios\plugins\soapui-swagger-plugin-2.2-dist.jar] Tue Aug 01 14:20:59 CEST 2017:ERROR:An error occurred [com.eviware.soapui.plugins.auto.factories.AutoDiscoveryMethodFactory], see error log for details Added AutoFactory for [PluginPrefs] Tue Aug 01 14:20:59 CEST 2017:ERROR:An error occurred [com.eviware.soapui.plugins.auto.factories.AutoImportMethodFactory], see error log for details Tue Aug 01 14:20:59 CEST 2017:INFO:Adding plugin from [C:\Users\Paul\.soapuios\plugins\readyapi-postman-1.0.1.jar] Tue Aug 01 14:21:00 CEST 2017:ERROR:An error occurred [com.eviware.soapui.plugins.auto.factories.AutoDiscoveryMethodFactory], see error log for details Tue Aug 01 14:21:00 CEST 2017:ERROR:An error occurred [com.eviware.soapui.plugins.auto.factories.AutoImportMethodFactory], see error log for details Tue Aug 01 14:21:00 CEST 2017:INFO:Adding plugin from [C:\Users\Paul\.soapuios\plugins\ready-mqtt-plugin-dist.jar] Tue Aug 01 14:21:00 CEST 2017:ERROR:An error occurred [com.eviware.soapui.plugins.auto.factories.AutoDiscoveryMethodFactory], see error log for details Tue Aug 01 14:21:00 CEST 2017:ERROR:An error occurred [com.eviware.soapui.plugins.auto.factories.AutoImportMethodFactory], see error log for details Tue Aug 01 14:21:00 CEST 2017:ERROR:An error occurred [com.eviware.soapui.plugins.auto.factories.AutoDiscoveryMethodFactory], see error log for details Added AutoFactory for [PluginTestStep] Added AutoFactory for [PluginTestStep] Added AutoFactory for [PluginTestStep] Added AutoFactory for [PluginPanelBuilder] Added AutoFactory for [PluginPanelBuilder] Added AutoFactory for [PluginPanelBuilder] Tue Aug 01 14:21:00 CEST 2017:ERROR:An error occurred [com.eviware.soapui.plugins.auto.factories.AutoImportMethodFactory], see error log for details Tue Aug 01 14:21:00 CEST 2017:INFO:Adding plugin from [C:\Users\Paul\.soapuios\plugins\readyapi-swaggerhub-plugin-1.0.jar] Tue Aug 01 14:21:01 CEST 2017:ERROR:An error occurred [com.eviware.soapui.plugins.auto.factories.AutoDiscoveryMethodFactory], see error log for details Tue Aug 01 14:21:01 CEST 2017:ERROR:An error occurred [com.eviware.soapui.plugins.auto.factories.AutoImportMethodFactory], see error log for details Tue Aug 01 14:21:01 CEST 2017:INFO:5 plugins loaded in 2244 ms Tue Aug 01 14:21:01 CEST 2017:INFO:All plugins loaded Tue Aug 01 14:21:01 CEST 2017:INFO:initialized soapui-settings from [C:\Users\Paul\soapui-settings.xml] Tue Aug 01 14:21:02 CEST 2017:INFO:Adding plugin from [C:\Users\Paul\.soapuios\plugins\ready-uxm-plugin-1.0.1-dist.jar] Tue Aug 01 14:21:02 CEST 2017:INFO:Adding plugin from [C:\Users\Paul\.soapuios\plugins\soapui-swagger-plugin-2.2-dist.jar] Tue Aug 01 14:21:03 CEST 2017:ERROR:An error occurred [com.eviware.soapui.plugins.auto.factories.AutoDiscoveryMethodFactory], see error log for details Added AutoFactory for [PluginPrefs] Tue Aug 01 14:21:03 CEST 2017:ERROR:An error occurred [com.eviware.soapui.plugins.auto.factories.AutoImportMethodFactory], see error log for details Tue Aug 01 14:21:03 CEST 2017:INFO:Adding plugin from [C:\Users\Paul\.soapuios\plugins\readyapi-postman-1.0.1.jar] Tue Aug 01 14:21:03 CEST 2017:ERROR:An error occurred [com.eviware.soapui.plugins.auto.factories.AutoDiscoveryMethodFactory], see error log for details Tue Aug 01 14:21:03 CEST 2017:ERROR:An error occurred [com.eviware.soapui.plugins.auto.factories.AutoImportMethodFactory], see error log for details Tue Aug 01 14:21:03 CEST 2017:ERROR:An error occurred [com.eviware.soapui.plugins.auto.factories.AutoDiscoveryMethodFactory], see error log for details Tue Aug 01 14:21:03 CEST 2017:ERROR:An error occurred [com.eviware.soapui.plugins.auto.factories.AutoImportMethodFactory], see error log for details Tue Aug 01 14:21:03 CEST 2017:INFO:Adding plugin from [C:\Users\Paul\.soapuios\plugins\ready-mqtt-plugin-dist.jar] Tue Aug 01 14:21:04 CEST 2017:ERROR:An error occurred [com.eviware.soapui.plugins.auto.factories.AutoDiscoveryMethodFactory], see error log for details Added AutoFactory for [PluginTestStep] Added AutoFactory for [PluginTestStep] Added AutoFactory for [PluginTestStep] Added AutoFactory for [PluginPanelBuilder] Added AutoFactory for [PluginPanelBuilder] Added AutoFactory for [PluginPanelBuilder] Tue Aug 01 14:21:04 CEST 2017:ERROR:An error occurred [com.eviware.soapui.plugins.auto.factories.AutoImportMethodFactory], see error log for details Tue Aug 01 14:21:04 CEST 2017:INFO:Adding plugin from [C:\Users\Paul\.soapuios\plugins\readyapi-swaggerhub-plugin-1.0.jar] Tue Aug 01 14:21:04 CEST 2017:ERROR:An error occurred [com.eviware.soapui.plugins.auto.factories.AutoDiscoveryMethodFactory], see error log for details Tue Aug 01 14:21:04 CEST 2017:ERROR:An error occurred [com.eviware.soapui.plugins.auto.factories.AutoImportMethodFactory], see error log for details Tue Aug 01 14:21:04 CEST 2017:INFO:5 plugins loaded in 2001 ms Tue Aug 01 14:21:04 CEST 2017:INFO:All plugins loaded Tue Aug 01 14:21:05 CEST 2017:INFO:Loading workspace from [C:\Users\Paul\default-soapui-workspace.xml] Tue Aug 01 14:21:05 CEST 2017:INFO:Loaded project from [file:/C:/Users/Paul/Documents/ProjectAxis/SoapUI%20Projects/Proof-Of-Concept-soapui-project.xml] Tue Aug 01 14:21:05 CEST 2017:INFO:Used java version: 1.7.0_55 Scheduling garbage collection every 60 seconds The cajo server is running on localhost:1198/soapuiIntegration5.3KViews0likes0CommentsRe: Null pointer exception with HTTP Monitor in SoapUI open source (but OK in Pro)
Just to add some more details.... To rule out any installation issues, since I had SoapUI open source and Pro installed on same machine, I uninstalled both and re-installed open-source (5.3.0) only. In a new workspace, I followed the steps described at https://www.soapui.org/http-recording/recording.html: create new SOAP project with CurrencyConverter service (http://www.webservicex.net/CurrencyConvertor.asmx?WSDL) verify currency conversion request (EUR-USD) gets valid response (for some reason I get ConversionRateResult = -1 instead of actual rate, but response is well-formed) start Http Monitor as described repeat request - get null pointer exception Is this a known bug? If so, can we expect a fix? Kind Regards, Paul5.3KViews0likes0CommentsNull pointer exception with HTTP Monitor in SoapUI open source (but OK in Pro)
Hi, Anybody know if there is an issue with the HTTP Monitor functionality in SoapUI open source, compared to SoapUI Pro? With SoapUI Pro (Ready API 2.0.2, trial version) I can capture traffic no problem. With SoapUI open source (5.3.0), following exactly the same actions to start the monitor, and sending the same request, I get Null pointer exception. Any ideas? <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/> <title>Error 500 INTERNAL_SERVER_ERROR</title> </head> <body> <h2>HTTP ERROR 500</h2> <p> Problem accessing /tk2/20170619-1745/esb/login/. Reason: <pre>INTERNAL_SERVER_ERROR</pre> </p> <h3>Caused by:</h3> <pre>java.lang.NullPointerException at com.eviware.soapui.impl.wsdl.submit.AbstractMessageExchange.<init>(AbstractMessageExchange.java:33) at com.eviware.soapui.impl.wsdl.submit.AbstractWsdlMessageExchange.<init>(AbstractWsdlMessageExchange.java:36) at com.eviware.soapui.impl.wsdl.monitor.WsdlMonitorMessageExchange.<init>(WsdlMonitorMessageExchange.java:28) at com.eviware.soapui.impl.wsdl.monitor.JProxyServletWsdlMonitorMessageExchange.<init>(JProxyServletWsdlMonitorMessageExchange.java:86) at com.eviware.soapui.impl.wsdl.monitor.jettyproxy.ProxyServlet.service(ProxyServlet.java:155) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:401) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.Server.handle(Server.java:326) at com.eviware.soapui.impl.wsdl.monitor.jettyproxy.JettyServer.handle(JettyServer.java:76) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542) at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:928) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source)</pre> Regards, Paul5.4KViews0likes4Commentssmall improvement: implement "best fit" logic for columns in Test Parameters dialog box
By default, it seems that the columns in the Test Parameters dialog are spaced evenly. So every time I open the dialog I have to resize the columns, because typically the final column (Value) has more data, and not all the data is visible, whereas the other columns are much wider than their actual data. It would be very helpful if the columns were automatically resized according to "best fit" logic. Would also be nice if the tool-tip that displays the text when you hover over the cell was maintained as long as the cursor stays on the cell - currently it disappears after a couple of seconds. example:4.2KViews5likes0CommentsExperience of JSONPath in JScript or JavaScript? (or JSON to XML convertor?)
Hi Friends, I need to execute JSONPath queries for a new TestComplete project, wondering if anybody has experience of doing this, preferably in JScript or JavaScript. I have tried Stefan Goessner's implementation, which initially looked promising, but later failed with more complex tests. (also fails at this JSONPath Expression Tester, so does seem to be a bug). At the same site, the same tests ran ok with the Flow Communications implementation, so I'll look at integrating that but that's in php, not my strong point :-s I know SoapUI provides JSONPath queries, so I'm hoping the Smartbear folk can give me some pointers... Orcan anybody point me to a more robust J*Script implementation? I'm aware another option might be to convert JSON to XML and use standard XMLPath libraries. Again, any recommendations for a robust JSON to XML convertor (ideally free)? Kind Regards, Paul566Views0likes0CommentsLog.Link() does not work when exported to mht
Hi All, Log.Link() does not work when exported to mht. Example (from Link Method): var sPath = "http:\\\\smartbear.com"; var Str = "Click the link on the right"; var ExtStr = "Click the link in the Link column above"; Log.Link(sPath, Str, ExtStr); In TestComplete Log, link is OK: In exported .mht (attached), link does not appear: TestComplete V11.30 IE 11.0 Is this a known issue? Any workaround? Regards, PaulSolved1.4KViews0likes2CommentsRe: TC11 - cannot keep excel open while using DDT.ExcelDriver
Hi, The example on the Excel Driver Method page also fails for me (for both UseACEDriver=true & false) Also, even with the excel closed, I get the same error with parameter UseACEDriver=false. Its ok with true. Attached my project with the Excel Driver Methodpage example (slightly changed). By the way, when I dont get the error, the first row is skipped (see the current project log) Regards, Paul1.8KViews0likes1CommentTC11 - cannot keep excel open while using DDT.ExcelDriver
Hi, I have a project that uses DDT.ExcelDriver. With TC10, I could keep the excel file open in Excel while running the project in TestComplete. After upgrading to TC11, I get JScript runtime error "An attempt to work with a closed driver" I can only run the project if I close the excel file (not enough to save any changes) Running TC as Admin doesnt help. Its a real nuisance to have to continually close/reopen the file as I'm working on the project. Any workaround for this? TC11.3 Windows 8.1 Excel 2016 Thanks, Paul1.9KViews0likes4Comments