Transfer step gets hanged while executing the whole test case
I'm trying to execute the whole test case. ReadyAPI gets hanged at the Transfer property step though it gets executed when it is run individually. I also tried executing the whole test case for multiple iterations, but it got hanged at the second iteration. And when I restarted the ReadyAPI and tried again, it is getting hanged at the first iteration itself. Please find the attached screenshot for reference.Solved9.2KViews0likes10CommentsSOH and STX charcters are being replaced with quetion mark(?) in the soapui XML file.
We have been trying to create a project in soapui to invoke a rest api service. The rest API service POST method accept text with special charcters(SOH and STX) as request. When we are trying to save the project with .xml file,SOH and STX charcters are beingreplaced with question mark(?) in xml file. Below configuration is used in soapui tool. Service : REST API Method: POST Content-type: text/plain Charset : utf-88.9KViews0likes15CommentsInvalid xml as special character in request body
Hi Community, I encountered a special character issue with my REST POST payload (request body). As request, the payload include other characters, like Simplified (测试) / Traditional(測試) Chinese. after save project, the test case will be missing due to invalid xml. I open it with XML Spy and said there are invalid characters (acutally it's mass code becoz of special characters). If I accept XML spy convertion, then this xml would be imported into ReadyAPI. I search the same issue from forum, but seems did not find a solution. Checked the encoding, it's UTF-8 in header of xml. Content-type of my payload is application/json, appreciated if anyone who would provide available solution for that. Thanks, /AaronSolved8.5KViews0likes7CommentsUnable to open open AMQP editor
Hi, I am trying to connect to RabbitMQ using the AMQP support plugin. I installed it and restarted ReadyAPI. I can add AMQP test step in my test cases, however I cannot open the editor at all. Nothing happens when I click on it compared to other test steps where the editor immediately shows up. I am using ReadyAPI 3.2 with a SoapUI Pro. Thanks in advance!Solved6.1KViews0likes12CommentsGroovy - How to automatically modify/set operation test step request
Hello, I want to automatically change content of a WSDL request of several requests in test steps of a test case. The name of the service changed in the WS I used to test, but the contents still the same. I add the idea to do this using a groovy test step script to launch manually. In order to reuse it, I created it in a separated TestSuite. def testCase = testRunner.testCase.testSuite.project.getTestSuiteByName("testSuiteName").getTestCaseByName("testCaseName") def request, holder testCase.testStepList.each { step -> request = context.expand( '${#[testSuiteName#testCaseName#'+step.name+']#Request}') if(request.contains("<soap:serviceNameBefore>")){ request = request.replaceAll("soap:serviceNameBefore>","soap:serviceNameAfter>") // At this time, the request is not updated on expected test step // I guess I missing something here } } I don't find the correct method to update request according to the variable I modified (a string with expected request) Do you have an idea ? Is there another way to do that ? To help understand, here is the example of what I want to do. Change this request : <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soap="http://XX/"> <soapenv:Header/> <soapenv:Body> <soap:serviceNameBefore> <request> <name>?</name> <price>?</price> </request> </soap:serviceNameBefore> </soapenv:Body> </soapenv:Envelope> in all test step to that one <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soap="http://XX/"> <soapenv:Header/> <soapenv:Body> <soap:serviceNameAfter> <request> <name>?</name> <price>?</price> </request> </soap:serviceNameAfter> </soapenv:Body> </soapenv:Envelope>Solved4.8KViews0likes9CommentsDataGen deprecated - Alternatives to define templates/multiline properties?
Hi all, in our project (using ReadyAPI 2.6.0) we do need the possibility to define one multiline template per step with property expansion enabled. DataGen templates do have exactly the expected behaviour, but unfortunately the docu states that DataGen is deprecated and will be removed in the next releases. The docu also states, that DataSource should be the proper replacement, but it isn't by far. There is no way to define some multiline text and i don't need the feature of multiple rows. "DataSource" is surely the proper way to define database like sets of entries with rows/columns to iterate over, but not to define a single static template. So what are my options? Why is DataGen deprecated? When will it be removed? Why isn't it possible to define simple multiline properties? What else could i do to achive this goal? Best regards, JoachimSolved4.5KViews0likes12CommentsAssertion of selective elements in a teststep
Hi, I am using readyapi version 3.1.0 and I am trying to do the database testing using it My test case looks like this Iteration 1- csvdata file-Datasource step step1 step2 step3 XPATH - [AC-1,EX-C-1] XPATH - [AC-2,EX-C-2] XPATH - [AC-3,EX-C-3] step4 step5 step6 Datasource loop Iteration 2- csvdata file-Datasource step step1 step2 step3 XPATH - [AC-1,EX-C-4] XPATH - [AC-2,EX-C-5] XPATH - [AC-3,EX-C-6] step4 step5 step6 Datasource loop When i am looping my test case, all the steps are basically dbase calls only and output of step 3 is also from a table and in the first iteration I am getting few fields & they are asserted using xpath assertion But when i iterate it, input data for step3 changes and now I have 3 different fields in the same step(Step3) which i need to assert It is like execution step3 is same, but it is displaying different output in the same column, because of my input data And my requirement is, I need to assert all the elements using xpath match assertion I am sure it can be achieved by Groovy script, wondering if in this flow I can be able to use readyapi existing components Any help which leads to a direction is highly appreciated. Please let me know, if it needs more clarification.Solved4.5KViews0likes17CommentsCannot perform OAuth 1.0 operation having the authorization variables in terms of String values.
Unable to generate the access tokens for OAuth 1.0 as ReadyAPI/SOAPUI does not have few fields which accept string values. Example: As shown in the attached word document file. Postman has fields which accept the values in string format whereas SOAPUI requires URL in some fields which restricts the user to perform API requests having OAuth 1.0 auth profile. Thanks and Regards, Jagruuti4.4KViews0likes8Comments