Contributions
Request to restore the feature of importing ReadyAPI project to SoapUI (free versin)
Hello: I have been using SoapUI long since Eviware era (2008). In the past, I never had any issue to import projects from SoapUI Pro. I used to use a licensed version of SoapUI Pro for my development and then deploy those developed projects in different machines where the free version SoapUI used to run. As a test developer, I would like to see that feature of importing projects from Pro (ReadyAPI) to Free (SoapUI). But alas! recently that feature was taken away and just today I discovered that I am no more able to import projects in SoapUI which was developed on ReadyAPI. As a long time patron of SoapUI and ReadyAPI, I would request to restore back that convenience. /jamil.139Views0likes0CommentsRe: Cannot import project
Hello Rao: I have been using SoapUI long since Eviware era (2008). In the past, I never had any issue to import projects from SoapUI Pro. I used to use a licensed version of SoapUI Pro for my development and then deploy those developed projects in different machines where the free version SoapUI used to run. As a test developer, I would like to see that feature of importing projects from Pro (ReadyAPI) to Free (SoapUI). But alas! recently that feature was taken away and just today I discovered that I am no more able to import projects in SoapUI which was developed on ReadyAPI. As a long time patron of SoapUI and ReadyAPI, I would request to restore back that convenience. /jamil.323Views0likes0CommentsHow to retrieve oauth2.0 access token for grant type Client Credentials in Groovy
I am using ReadyAPI (version 3.48) and able to manually retrieve the OAuth2.0 Access Token for grant type Client Credentials from this GUI. How can I make thisAccess Tokenretrieval automated by Groovy script so that I could use that token and assign it to a property variable and use in a subsequentREST Request I tried this Groovy script but getting error: (java.lang.NoClassDefFoundError: org/apache/ivy/util/MessageLogger) @Grab(group='org.codehaus.groovy.modules.http-builder', module='http-builder', version='0.7.1') import groovyx.net.http.HTTPBuilder import groovyx.net.http.Method import groovyx.net.http.ContentType def clientId = 'df34a176-4d83-4ebf-82fd-ac6efba39e6a' def clientSecret = 'Yf.vZQuX__l4r2x75E_iqfJl_icH6Nr6.7' def tokenUrl = 'https://login.microsoftonline.com/75056d76-b628-4488-82b0-80b08b52d854/oauth2/v2.0/token' // First, we obtain an access token using the client credentials grant def http = new HTTPBuilder(tokenUrl) http.request(Method.POST, ContentType.URLENC) { req -> body = [ grant_type: 'client_credentials', client_id: clientId, client_secret: clientSecret ] response.success = { resp, reader -> // Extract the access token from the response def accessToken = resp.data.access_token // Now we can use the access token to make API requests makeApiRequest(accessToken) } } // Finally, we can use the access token to make API requests def makeApiRequest(accessToken) { def http = new HTTPBuilder('https://inest-npd.azcpggpc.ca') http.request(Method.GET, ContentType.JSON) { req -> headers['Authorization'] = "Bearer $accessToken" response.success = { resp, reader -> // Handle the API response println resp.data } } }371Views1like1CommentUnable to close ReadyAPI 2.2.0
I am unable to close the ReadyAPI (using 2.2.0) neither from exit button ('X' at the top right corner of the window) nor from File->Exit. Only way to exit by ending the ReadyAPI process from task manager. Also, I am experiencing that my project doesn't appeared pre-populated afterstarting the ReadyAPI, means, I have to import project every time after starting the ReadyAPI. ReadyAPI version: 2.2.0 OS platform: Windows 7789Views0likes1CommentUpdate WSDL file of an existing SOAP project in Ready API 1.9
Hello All: Greetings for New Year 2018 ! (BTW, 2018 is a DOG year in Japanese calendar :-) Can you please help me 'how to update WSDL of an existing SOAP project'. I am using Ready API 1.9. Myexisting SOAP project has 120+ Test suites and 400+ Test cases. These test suites and test cases were created based on a previous WSDL (say this is #1). Today, development team gave me an updated WSDLfile (say this is #2). How can I update the WSDL of the whole SOAP projectwithout changing anything at the test suites/cases ? Thanks. Jamil, Ottawa.Solved6.1KViews0likes2Comments- 10KViews0likes5Comments
Re: TestRunner throwFailureException ...
I have same problem. I am using SoapUI 5.2.1, test is being run by calling testrunner.bat using Groovy scripts. Here is my logs: log4j:ERROR setFile(null,true) call failed. java.io.FileNotFoundException: global-groovy.log (Access is denied) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.<init>(Unknown Source) at java.io.FileOutputStream.<init>(Unknown Source) at org.apache.log4j.FileAppender.setFile(FileAppender.java:289) at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:163) at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:256) at org.apache.log4j.xml.DOMConfigurator.parseAppender(DOMConfigurator.java:220) at org.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurator.java:150) at org.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfigurator.java:163) at org.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement(DOMConfigurator.java:425) at org.apache.log4j.xml.DOMConfigurator.parseCategory(DOMConfigurator.java:345) at org.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java:827) at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:712) at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:604) at org.apache.log4j.xml.XMLWatchdog.doOnChange(DOMConfigurator.java:861) at org.apache.log4j.helpers.FileWatchdog.checkAndConfigure(FileWatchdog.java:88) at org.apache.log4j.helpers.FileWatchdog.<init>(FileWatchdog.java:57) at org.apache.log4j.xml.XMLWatchdog.<init>(DOMConfigurator.java:853) at org.apache.log4j.xml.DOMConfigurator.configureAndWatch(DOMConfigurator.java:584) at com.eviware.soapui.DefaultSoapUICore.initLog(DefaultSoapUICore.java:480) at com.eviware.soapui.DefaultSoapUICore.init(DefaultSoapUICore.java:124) at com.eviware.soapui.DefaultSoapUICore.<init>(DefaultSoapUICore.java:114) at com.eviware.soapui.DefaultSoapUICore.createDefault(DefaultSoapUICore.java:93) at com.eviware.soapui.SoapUI.getSettings(SoapUI.java:1566) at com.eviware.soapui.analytics.AnalyticsHelper.analyticsDisabled(AnalyticsHelper.java:18) at com.eviware.soapui.analytics.AnalyticsHelper.InitializeAnalytics(AnalyticsHelper.java:42) at com.eviware.soapui.tools.SoapUITestCaseRunner.main(SoapUITestCaseRunner.java:118)10KViews0likes6CommentsRe: SLF4J: and java.lang.ClassNotFoundException: errors found on SoapUI-x32-5.2.1
Finally, the problem was solved ! The other problem tiesto the default plugins installed under "C:\Users\<user name>.soapuios\plugin". For SoapUI 5.2.1, there are 4 default plugins installed under this directory: readyapi-swaggerhub-plugin-1.0.jar ready-mqtt-plugin-dist.jar ready-uxm-plugin-1.0.1-dist.jar soapui-swagger-plugin-2.2-dist.jar Renamedthe original folder 'plugins' to 'plugins_NOTinUse' (or something else), so that default plugins could be forced hidden during runtime. The problem then disappeared. Kudos for Rao for all the hints he gave me to resolve the issue under this thread. Now, I am able to enjoyZERO error testing:smileyhappy: Suggestion, packaging of SoapUI can be modified toavoid installing default plugins. /jamil6.6KViews0likes4Comments