Contributions
Re: ReadyAPI Error: Could not import a definition from the specified file.
Thanks for the reply, Yes I created an empty project, and then selected to Import API Definition. The API we created is a Swagger REST API. For the attachment can't attach a .json file so I changed it to .txt, just rename it back to .json and it should work Thanks for the log info, not sure how I missed that. But this is what is being displayed: ERROR: An error occurred [Invalid int value: 4XX or 5XX], see error log for details And here is the text from the error log: Wed Nov 01 16:17:28 EDT 2023: ERROR: org.apache.xmlbeans.impl.values.XmlValueOutOfRangeException: Invalid int value: 4XX or 5XX org.apache.xmlbeans.impl.values.XmlValueOutOfRangeException: Invalid int value: 4XX or 5XX at org.apache.xmlbeans.impl.values.JavaIntHolder.set_text(JavaIntHolder.java:43) at org.apache.xmlbeans.impl.values.XmlObjectBase.update_from_wscanon_text(XmlObjectBase.java:1180) at org.apache.xmlbeans.impl.values.XmlObjectBase.set_String(XmlObjectBase.java:1125) at org.apache.xmlbeans.impl.values.XmlObjectBase.setStringValue(XmlObjectBase.java:1736) at org.apache.xmlbeans.impl.values.XmlObjectBase.setObjectValue(XmlObjectBase.java:1749) at org.apache.xmlbeans.impl.values.XmlObjectBase.objectSet(XmlObjectBase.java:1664) at org.apache.xmlbeans.impl.schema.SchemaTypeImpl.newValue(SchemaTypeImpl.java:1910) at org.apache.xmlbeans.impl.schema.SchemaTypeImpl.newValue(SchemaTypeImpl.java:1893) at org.apache.xmlbeans.impl.values.XmlListImpl.set_list(XmlListImpl.java:242) at org.apache.xmlbeans.impl.values.XmlObjectBase.setListValue(XmlObjectBase.java:1734) at com.eviware.soapui.config.impl.RestResourceRepresentationConfigImpl.setStatus(Unknown Source) at com.eviware.soapui.impl.rest.RestRepresentation.setStatus(RestRepresentation.java:139) at com.smartbear.swagger.OpenAPI3Importer.createRepresentations(OpenAPI3Importer.java:564) at com.smartbear.swagger.OpenAPI3Importer.createMethod(OpenAPI3Importer.java:420) at com.smartbear.swagger.OpenAPI3Importer.createResourceMethods(OpenAPI3Importer.java:378) at com.smartbear.swagger.OpenAPI3Importer.createResources(OpenAPI3Importer.java:293) at com.smartbear.swagger.OpenAPI3Importer.createRestService(OpenAPI3Importer.java:229) at com.smartbear.swagger.OpenAPI3Importer.importSwagger(OpenAPI3Importer.java:153) at com.smartbear.swagger.OpenAPI3Importer.importSwagger(OpenAPI3Importer.java:127) at com.smartbear.swagger.OpenAPI3Importer.importSwagger(OpenAPI3Importer.java:1) at com.smartbear.swagger.SwaggerImporter$importSwagger.call(Unknown Source) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:125) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:139) at com.smartbear.swagger.SwaggerUtils$1.construct(SwaggerUtils.groovy:187) at com.eviware.soapui.support.swing.SwingWorkerDelegator.construct(SwingWorkerDelegator.java:45) at com.eviware.soapui.support.swing.SwingWorker.run(SwingWorker.java:88) Thanks for your help!7 months agoPlace ReadyAPI QuestionsReadyAPI Questions289Views0likes0CommentsReadyAPI Error: Could not import a definition from the specified file.
Hello I am trying to evaluate to see if we can use ReadyAPI for testing. I am creating a new project and attempting to import out API definition, I have the protocol set to "Determine Automatically" and it comes back with "Failed to import a definition". Not sure where to go or what to check to see what the issue is and I really would like to use this product. I have attached our definition file. If someone could help me out I would greatly appreciate it!! Thanks.Solved7 months agoPlace ReadyAPI QuestionsReadyAPI Questions531Views0likes5CommentsIdentify RowIndex of Multiple Values
I have a table with multiple rows and two columns. ColumnIndex 1 may have duplicate values, and ColumnIndex 2 may have duplicate values, but the combination of ColIndex1+ColIndex2 make a unique value. Sample Data: COL1 COL2 A X A Y B X B Y C Z I need to be able to tell my test to click on a row based on the combination of values in two cells. For example, I want the test to click on a cell RowIndex 4 (which in turn selects the entire row), which represents my unique value of B+Y. Any suggestions for analyzing two separate cell values or a way to determine rowIndex and then click on that specific row? Would be using JScript to accomplish this.Solved1.3KViews0likes2CommentsInvalid Number of Paramters
Don't know what I am doing wrong but I am trying to use an If..Then...Else statement that used to work in TestComplete v11. I have upgraded to v12 and no matter what I do the test fails and displays the error "Invalid number of parameters". I am trying using a data driven test and I have data in my excel spreadsheet that works everywhere else on my form except when I am trying to test for and select either a Male or Female gender button based on what I have in my spread sheet. Basically I have it like this: If.... Value 1 is set to: ProjectSuite.Variables.Donation_Data("Gender") Condition: Equals Value2: Male Then... Select the Male button Else... Select the Female button what other parameters am I missing?????? any help would be appreciated!!!Solved6.9KViews0likes8CommentsNavigate to url with an ip address and port
I am new to Testcomplete and I am trying to get a script that will navigate to a specific web address on our intranet. The address contains the IP and port so it looks like this: http://192.168.1.1:7001/website/stuff/etc I do not want to have the IP and Port and want to use wildcards for it since it could change. Below is the script I created: function web_test () { Sys.Process("iexplore").Page("*").NavigateTo("http://*:*/website/stuff/etc"); } But I keep getting a JScript error, the parameter is incorrect. However it works fine if I replace the*:* with the actual Ip and Port. Is there anyway to keep the widcards for the IP and Port?????1.3KViews0likes2Comments