When testing jms, ready api is having error while it works fine on soapui
Hi I am trying to use soapui as a testing tool for ibm mq, while following the tutorial i was able to make it work for soapui but when i turned to ready api, i am having an issue onsending request. Please see below full stack trace of error javax.jms.JMSException: JMSFMQ6312: An exception occurred in the Java(tm) MQI. at com.eviware.soapui.impl.wsdl.submit.transports.jms.JMSConnectionHolder.createConnection(JMSConnectionHolder.java:98) at com.eviware.soapui.impl.wsdl.submit.transports.jms.HermesJmsRequestSendReceiveTransport.execute(HermesJmsRequestSendReceiveTransport.java:38) at com.eviware.soapui.impl.wsdl.submit.transports.jms.HermesJmsRequestTransport.sendRequest(HermesJmsRequestTransport.java:97) at com.eviware.soapui.impl.wsdl.WsdlSubmit.run(WsdlSubmit.java:119) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source)Solved8.2KViews0likes27Comments[TechCorner Challenge #10] Connecting to JMS using Groovy script
Hi Community! The TechCorner Challenge continues. You can put your skills to the test and learn something new about the tool, as well as bring more valuable content to the ReadyAPI Community! And, those who complete tasks, will get into the Leaderboard. This week's task: Sometimes, the JMS test step doesn’t suit you since you might have custom JMS settings, or you need to add additional logic before or after sending/receiving a JMS message. In this case, you can use Groovy scripts. So, try writing a sample script to connect to JMS that can be used as a basis for further customization. Task: write a script for the Groovy Script test step which creates a connection to a JMS provider (ActiveMQ, WebSphere or another), sends a JMS message to the “Test“ queue, and shows all messages in this queue. Difficulty: Notes: use the manual connection, not the HermesJMS session. Check out the TechCornerLeaderboardand detailed participation rules here. Good luck, as always!Solved5.4KViews0likes9CommentsConfiguration Error When Configuring HermesJMS (in SOAPUI) For Tibco EMS
Hi I am trying to configure a HermesJMS session on SOAPUI 5.3.0. When I try to discover quesues and topic from the provider I get errors. I am configuring the message for a TIBCO EMS 6.3.4 my serverURL = Valid IPAddress username = Valid password = Valid I have added all the approriate JAR files required and configured connection factory "com,tibco.tibjms.TibjmsConnectionFactory" Loader " INT_EMSGroup" with property serverURL and Value tcp://ipaddress:7222 and connection with a valid username and password . However, when I try to discover my session i get an error "java.lang.NoClassdefFoundError". Attached are screen shots Please any help will be desired ThanksSolved4.5KViews0likes6CommentsHow do I retrieve a JMS Security exception object in SoapUI?
How do I retrieve a JMS Security exception object in SoapUI, to extract and parse the message in groovy script? The default JMS Status assertion is not suitable, as I would like to test a negative scenario, such as having the wrong username/password when reading/writing on a queue. I want the custom assertion to pass, by parsing the message from the exception object and validating it.3.3KViews0likes10CommentsHow to Automaticly Start a JMS Virt in SOAP UI NG with ServiceV Pro
Hi, I am currently evaluating the ServiceV pro functionality in the ReadyAPI 1.7.0. Somehow i am not able to start a JMS Virt using the Virt Runner Teststep or with the grooy scripting. When i am using the VirtRunner teststep i cannot select any of my JMS Virts and only start HTTP Virts. Using the script and callvirtRunner.run("JMS") (JMS is the name of my JMS Virt) nothing seems to happen. Not even an error message or anything. Who can help me automaticly start a JMS virt for use in a testscenario/suite.?Solved3.1KViews0likes6CommentsConnect Hermes to WildFly 10 Artemis
Hi, I'm trying to connect Hermes to the messaging provider in WildFly 10 which is Artemis 1.1.0. I'm able to connect, send messages, and browse to a standalone Artemis 1.0.0. using a simple configuration with a single brokerURL=tcp://localhost:61616. However, I get a "peer did not send his wire format" when I try to connect to both http-connector and remote-connectors running Artemis embedded. Has anyone gotten Hermes to work with a similar deployment? Since this is a test environment, I have can change things on the WildFly side if that's easier to get the testing going. Thanks in advance, Carl2.3KViews0likes4CommentsHow to clear queue messages from IBM MQ Client in higher ReadyAPI (3.1 and above) versions?
Hello, I'm trying to create a script to clear all messages from one or more queues. I have some queues within IBM MQ explorer that needs to be cleared using a script so that I can use it run inside a test project. I have created a Groovy script that works for 3.0.0 version and below following this page:https://community.smartbear.com/t5/ReadyAPI-Questions/Resolved-Groovy-Script-Clear-JMS-Messages-from-Queue/td-p/31919 But this supports only HermesJMS. Now for higher versions I have usedJMS Manual Configuration in ReadyAPI Here is my Queue config: How can I create a Groovy script or any step to clear messages from queue? Thanks.Solved2KViews0likes4CommentsHow to listen on a JMS queue from SoapUI NG Pro?
I amimplementing an alerting system using complex event processing. Events will be sent to a JMS queue, and then aComplex Event Processor will handle logic to determine which events need to be turned into alerts. The alerts will then be placed on a second JMS queue, to be picked up as alerts that need to be sent to customers. From SoapUI, I see that it is possible to post requests on my JMS input queue. Is it also possible to listen on a second queue (output queue) from SoapUI, so that I can verify that the correct alerts are being placed into the output queue? If this is not possible, does anyone have any other suggestions on how Ican leverage SoapUI to test this JMS scenario?1.9KViews0likes2Comments