Contributions
Re: MissingPropertyException on swagger import
The error points to a bug in the code. Like the ReadyAPI client is accessing a propperty called "Path" in the classSwagger2Importer that does not exist. But if this is the case, my guess is this has never worked for anyone. My setup is pretty standard... Straight forward readyapi install, nothing funny there.9 years agoPlace ReadyAPI QuestionsReadyAPI Questions5.3KViews1like4CommentsRe: MissingPropertyException on swagger import
Here with the logs: 2015-11-16 21:15:41,886 ERROR [errorlog] groovy.lang.MissingPropertyException: No such property: path for class: com.smartbear.swagger.Swagger2Importer groovy.lang.MissingPropertyException: No such property: path for class: com.smartbear.swagger.Swagger2Importer at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:53) at org.codehaus.groovy.runtime.callsite.GetEffectivePogoPropertySite.getProperty(GetEffectivePogoPropertySite.java:87) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGroovyObjectGetProperty(AbstractCallSite.java:307) at com.smartbear.swagger.Swagger2Importer.createRestService(Swagger2Importer.groovy:229) at com.smartbear.swagger.Swagger2Importer.this$2$createRestService(Swagger2Importer.groovy) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSiteNoUnwrapNoCoerce.invoke(PogoMetaMethodSite.java:210) at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:59) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:52) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:154) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:174) at com.smartbear.swagger.Swagger2Importer.importSwagger(Swagger2Importer.groovy:79) at com.smartbear.swagger.SwaggerImporter$importSwagger.call(Unknown Source) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:125) at com.smartbear.swagger.SwaggerUtils$1.construct(SwaggerUtils.groovy:85) at com.eviware.soapui.support.swing.SwingWorkerDelegator.construct(SwingWorkerDelegator.java:48) at com.eviware.soapui.support.swing.SwingWorker.run(SwingWorker.java:88)9 years agoPlace ReadyAPI QuestionsReadyAPI Questions5.3KViews0likes5CommentsMissingPropertyException on swagger import
Hi, I'm trying to create a new project from the swagger.json file. In Swagger, I've opened the root /swagger.json url, copied the text, and saved on my desktop. I then created a new project, rightclicked and selected import swagger. I point it to this swagger file. When clicking OK, I'm presented with the following error message: groovy.lang.MissingPropertyException: No such property: path for class: com.smartbear.swagger.Swagger2Importer I then upgraded my client to the latest version, and tried again. It gave me the same error. Any one know what could cause this? I really dont feel like creating all those resources by hand.Solved9 years agoPlace ReadyAPI QuestionsReadyAPI Questions5.3KViews0likes7CommentsMultiple methods with different parameters
Hey! I'm trying to add a second method to a resource with different parameters. It is not allowing me to do this. Not sure if this is a bug. I know I have done it before. So to explain visually. In resources I've added them like this: So we have a RESTful get, and a post with a json payload. GetAchievements has 3 parameters as you will see next. CreateAchievement should have a single parameter, but inherits from the previous one. If I delete them from Create, it deletes from Get as well. See below: CreateAchievement Now I know I have done this before. The reseources for users: CreateUser. Notice single parameter: GetUsers I have no idea how I created these. I think that was still in soapui free version before we switched over to readyAPI. However, I've tried to do it in the free version, and they still seems to be linked. Add a parameter, it adds it on both methods. Why does user work then?10 years agoPlace ReadyAPI QuestionsReadyAPI Questions685Views0likes1CommentGet Data not available on Properties
So I've added a properties step. I then added a few fields. I would like to obtain the value on one of those fields from a JDBC Retrieve step. HJowever, it would appear that this is not possible? Everwhere in the app, when you right click, you can get a value from a groovy script, or output from anyother other step. Why not on properties?Is Property transfer the only way to do this? Kind Regards Ben10 years agoPlace ReadyAPI QuestionsReadyAPI Questions550Views0likes0CommentsRe: Adding JAR extensions
Ok Problem solved. Stupid problem really. I was running ReadyAPI 1.1.0 I then updated to 1.2.2. However the shortcut on my desktop was still pointing to 1.1.0. Hence the java libs was copied into 1.2.2 since it is the one I thought I was using. As a simple test I copied into 1.2.2 folder. Everything worked perfect :-) Wil update shortcut now to point to the correct place. Thanks for everyones input.10 years agoPlace ReadyAPI QuestionsReadyAPI Questions7.1KViews1like1CommentRe: Adding JAR extensions
@echo off set READY_API_HOME=%~dp0 if exist "%READY_API_HOME%..\jre\bin" goto SET_BUNDLED_JAVA if exist "%JAVA_HOME%" goto SET_SYSTEM_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. goto SET_SYSTEM_JAVA :SET_BUNDLED_JAVA set JAVA=%READY_API_HOME%..\jre\bin\java goto END_SETTING_JAVA :SET_SYSTEM_JAVA set JAVA=java :END_SETTING_JAVA rem init classpath set CLASSPATH=%READY_API_HOME%ready-api-ui-1.2.2.jar;%READY_API_HOME%..\lib\*;%READY_API_HOME%..\.install4j\* "%JAVA%" -cp "%CLASSPATH%" com.eviware.soapui.tools.JfxrtLocator > %TEMP%\jfxrtpath set /P JFXRTPATH= < %TEMP%\jfxrtpath del %TEMP%\jfxrtpath set CLASSPATH=%CLASSPATH%;%JFXRTPATH% rem JVM parameters, modify as appropriate set JAVA_OPTS=-Xms128m -Xmx1024m -XX:MaxPermSize=256m -Dsoapui.properties=soapui.properties -Dgroovy.source.encoding=iso-8859-1 "-Dsoapui.home=%READY_API_HOME%\" -splash:ready-api-splash.png if "%1" == "debug" set JAVA_OPTS=%JAVA_OPTS% -agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=8005 if "%READY_API_HOME%" == "" goto START set JAVA_OPTS=%JAVA_OPTS% -Dsoapui.ext.libraries="%READY_API_HOME%ext" set JAVA_OPTS=%JAVA_OPTS% -Dsoapui.ext.listeners="%READY_API_HOME%listeners" set JAVA_OPTS=%JAVA_OPTS% -Dsoapui.ext.actions="%READY_API_HOME%actions" set JAVA_OPTS=%JAVA_OPTS% -Djava.library.path="%READY_API_HOME%\" set JAVA_OPTS=%JAVA_OPTS% -Dwsi.dir="%READY_API_HOME%..\wsi-test-tools" set JAVA_OPTS=%JAVA_OPTS% -Dwsi.dir="%READY_API_HOME%..\wsi-test-tools" set JAVA_OPTS=%JAVA_OPTS% -Dsoapui.plugins.url=http://productextensions.s3.amazonaws.com/SoapUI-Plugins/availablePlugins.json rem uncomment to disable browser component rem set JAVA_OPTS=%JAVA_OPTS% -Dsoapui.browser.disabled="true" :START rem ********* run READY_API *********** if "%1" == "debug" set JAVA_OPTS=%JAVA_OPTS% -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=8005 "%JAVA%" %JAVA_OPTS% -cp "%CLASSPATH%" com.smartbear.ready.ui.ReadyApiMain %* cd /d %OLDDIR%10 years agoPlace ReadyAPI QuestionsReadyAPI Questions13KViews0likes2Comments