JDBC "Some connection settings are not specified"
I am trying to connect to a sql database using the jdbc driver. I have the connection setup but when I try to send a request, if I use my global database connection I receive an error message stating "Some connection settings are not specified", but if I use the exact same connection string built inside the JDBC request, my test connection works and I am able to query the database. Does anyone know what settings are possibly missing/misconfigured? I dont know of any reason the global db connection would fail while the same connection string works inside the jdbc request. Screenshots attached36Views0likes0CommentsAMQP - Cannot connect to ActiveMQ with AMQP Plugin
Hi, Im currently testing AMQP integration and I can not connect to my AMQP broker (ActiveMQ). I tried both "anynomous" and with existing credentials, but it always leads to: WARN | Connection attempt from non AMQP v1.0 client. AMQP,0,0,9,1 | org.apache.activemq.transport.amqp.protocol.AmqpConnection | ActiveMQ Transport: tcp:///127.0.0.1:63476@5672 WARN | Transport Connection to: tcp://127.0.0.1:63476 failed | org.apache.activemq.broker.TransportConnection.Transport | ActiveMQ Transport: tcp:///127.0.0.1:63476@5672 org.apache.activemq.transport.amqp.AmqpProtocolException: Connection from client using unsupported AMQP attempted What is the supported AMQP Version of the plugin? RabbidMQ client lib (as it is used in plugin) seems to only support 0.9.1. Or is it a misconfiguration on my side? If indeed its the client lib, is there consideration to support 1.0? Thanks for the help/info. AndreasSolved1.6KViews0likes2CommentsFailed to update the interface: [ Invalid QName value: Can't resolve prefix 'xs]
Hi, I get this error when trying to update the API definition in the existing project (we use Swagger): Failed to update the interface: [ org.apache.xmlbeans.impl.values.XmlValueOutOfRangeException: Invalid QName value: Can't resolve prefix 'xs' ] Full error log: Thu Dec 08 10:12:27 EST 2022: ERROR: org.apache.xmlbeans.impl.values.XmlValueOutOfRangeException: Invalid QName value: Can't resolve prefix 'xs' org.apache.xmlbeans.impl.values.XmlValueOutOfRangeException: Invalid QName value: Can't resolve prefix 'xs' at org.apache.xmlbeans.impl.values.JavaQNameHolder.parse(JavaQNameHolder.java:140) at org.apache.xmlbeans.impl.values.JavaQNameHolder.set_text(JavaQNameHolder.java:158) at org.apache.xmlbeans.impl.values.XmlObjectBase.update_from_wscanon_text(XmlObjectBase.java:1180) at org.apache.xmlbeans.impl.values.XmlObjectBase._check_dated(XmlObjectBase.java:1331) at org.apache.xmlbeans.impl.values.XmlObjectBase.check_dated(XmlObjectBase.java:1283) at org.apache.xmlbeans.impl.values.JavaQNameHolder.getQNameValue(JavaQNameHolder.java:185) at com.eviware.soapui.config.impl.RestParameterConfigImpl.getType(Unknown Source) at com.eviware.soapui.impl.rest.support.XmlBeansRestParamsTestPropertyHolder$XmlBeansRestParamProperty.getType(XmlBeansRestParamsTestPropertyHolder.java:462) at com.eviware.soapui.impl.rest.support.XmlBeansRestParamsTestPropertyHolder$XmlBeansRestParamProperty.setType(XmlBeansRestParamsTestPropertyHolder.java:481) at com.eviware.soapui.impl.rest.support.UpdateDefinitionManager.initParam(UpdateDefinitionManager.java:78) at com.eviware.soapui.impl.rest.support.UpdateDefinitionManager.updateParamList(UpdateDefinitionManager.java:170) at com.eviware.soapui.impl.rest.support.UpdateDefinitionManager.updateMethod(UpdateDefinitionManager.java:187) at com.eviware.soapui.impl.rest.support.UpdateDefinitionManager.tryUpdateExistMethod(UpdateDefinitionManager.java:245) at com.eviware.soapui.impl.rest.support.UpdateDefinitionManager.updateMethodList(UpdateDefinitionManager.java:260) at com.eviware.soapui.impl.rest.support.UpdateDefinitionManager.updateResourceNode(UpdateDefinitionManager.java:285) at com.eviware.soapui.impl.rest.support.UpdateDefinitionManager.tryUpdateExistingNode(UpdateDefinitionManager.java:299) at com.eviware.soapui.impl.rest.support.UpdateDefinitionManager.tryUpdateChildResourceNodes(UpdateDefinitionManager.java:317) at com.eviware.soapui.impl.rest.support.UpdateDefinitionManager.updateResourceNodeBase(UpdateDefinitionManager.java:333) at com.eviware.soapui.impl.rest.support.UpdateDefinitionManager.updateDefinition(UpdateDefinitionManager.java:364) at com.eviware.soapui.impl.rest.actions.service.UpdateRESTServiceWizard.perform(UpdateRESTServiceWizard.java:190) at com.eviware.soapui.impl.rest.actions.service.UpdateRESTServiceWizard.perform(UpdateRESTServiceWizard.java:1) at com.eviware.soapui.support.action.swing.SwingActionDelegate.actionPerformed(SwingActionDelegate.java:200) at java.desktop/javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1972) at java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2313) at java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:405) at java.desktop/javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:262) at java.desktop/javax.swing.AbstractButton.doClick(AbstractButton.java:374) at java.desktop/javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1028) at java.desktop/javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1072) at java.desktop/java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:297) at java.desktop/java.awt.Component.processMouseEvent(Component.java:6626) at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3389) at java.desktop/java.awt.Component.processEvent(Component.java:6391) at java.desktop/java.awt.Container.processEvent(Container.java:2266) at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5001) at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2324) at java.desktop/java.awt.Component.dispatchEvent(Component.java:4833) at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4948) at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4575) at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4516) at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2310) at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2780) at java.desktop/java.awt.Component.dispatchEvent(Component.java:4833) at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:773) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:722) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:716) at java.base/java.security.AccessController.doPrivileged(AccessController.java:399) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:97) at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:746) at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:744) at java.base/java.security.AccessController.doPrivileged(AccessController.java:399) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86) at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:743) at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203) at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124) at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)Solved1.2KViews0likes4CommentsIs it possible to integrate the Azure TestPlan Test cases and the ReadyAPI tests ?
I have created manual test cases in Azure devops Test Plan. I have automated the manual test case functionality using ReadyAPI. Now i want to link the Azure Test Plan test cases while running the ReadyAPI tests via the Azure pieplines. Is it possible to do so ? I am using the Azure devops extension named "ReadyAPI Test for Azure Devops" and "Publish Test Results" in my pipeline.215Views1like1Commentradyapi maven integration
I am using maven version 3.9.5 and would like to integrate with readyapi by following instructions from here https://support.smartbear.com/readyapi/docs/integrations/junit.html but it seems not working. Any help how I can integrate readyapi project with maven versions 3.** Thanks in advance here is my pom.xml <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>com.example.pr</groupId> <artifactId>readyapi</artifactId> <version>0.0.1</version> <packaging>jar</packaging> <properties> <java.version>11</java.version> </properties> <repositories> <repository> <id>SmartBearPluginRepository</id> <url>http://smartbearsoftware.com/repository/maven2</url> </repository> </repositories> <dependencies> <dependency> <groupId>ch.qos.logback</groupId> <artifactId>logback-classic</artifactId> <version>1.4.11</version> </dependency> <dependency> <groupId>com.oracle.database.jdbc</groupId> <artifactId>ojdbc10</artifactId> <version>19.20.0.0</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-jdbc</artifactId> <version>5.3.29</version> </dependency> <!-- https://mvnrepository.com/artifact/io.github.openfeign/feign-core --> <dependency> <groupId>io.github.openfeign</groupId> <artifactId>feign-core</artifactId> <version>12.5</version> </dependency> <!-- https://mvnrepository.com/artifact/io.github.openfeign/feign-jackson --> <dependency> <groupId>io.github.openfeign</groupId> <artifactId>feign-jackson</artifactId> <version>12.5</version> </dependency> <dependency> <groupId>io.github.openfeign</groupId> <artifactId>feign-hc5</artifactId> <version>12.5</version> </dependency> <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-databind</artifactId> <version>2.15.3</version> </dependency> <!-- https://mvnrepository.com/artifact/org.junit.jupiter/junit-jupiter-api --> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter-api</artifactId> <version>5.10.0</version> <scope>test</scope> </dependency> <!-- https://mvnrepository.com/artifact/com.appland/appmap-agent --> <dependency> <groupId>com.appland</groupId> <artifactId>appmap-agent</artifactId> <version>1.26.1</version> <scope>runtime</scope> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.13.2</version> <scope>test</scope> </dependency> <!-- <dependency>--> <!-- <groupId>org.mockito</groupId>--> <!-- <artifactId>mockito-all</artifactId>--> <!-- <version>1.10.19</version>--> <!-- <scope>test</scope>--> <!-- </dependency>--> <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-core</artifactId> <version>4.2.0</version> <scope>test</scope> </dependency> <!-- Used to combine JUnit 5 with Mockito --> <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-junit-jupiter</artifactId> <version>4.2.0</version> <scope>test</scope> </dependency> <dependency> <groupId>com.smartbear</groupId> <artifactId>ready-api-maven-plugin</artifactId> <version>2.7.0</version> <exclusions> <exclusion> <groupId>com.google.guava</groupId> <artifactId>guava</artifactId> </exclusion> </exclusions> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <configuration> <source>11</source> <target>11</target> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-shade-plugin</artifactId> <version>3.4.1</version> <configuration> <finalName>${project.artifactId}</finalName> </configuration> <executions> <execution> <phase>package</phase> <goals> <goal>shade</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </project>32Views0likes3CommentsGroovy script for dynamic response in Readyapi
Our scope of need is to get a dynamic response if the user hits the API request incorrectly and they need to get different response. I have created in readyapi rest, soap, and jdbc protocols with static responses when the user wants to access the response, but when the user requests with payload incorrectly example ( wrong I'd -xxxxx) , they receive the same response from readyAPI. I would like to create script to handle dynamic response; could you please share an example?Solved194Views0likes3CommentsHow to get ReadyAPI Maven runner to detect new login license?
Our workplace has officially moved over to the new licenses that you have to login to authenticate with. I've had no problems using it with the ReadyAPI GUI but when I try to run automation through Java on the command line using the Maven runner, it doesn't detect my license. What needs to be done to allow the Java and Maven to see that I am a licensed user? Thanks for your help.78Views0likes0Comments