Disable statistics when using headless testrunner
When we use the ReadyAPI headless testrunner in CI (Jenkins) we get loads of error like: 08:52:11 07:52:11,297 ERROR [MixpanelCustomEngine] analytics01.smartbear.com 08:52:11 java.net.UnknownHostException: analytics01.smartbear.com ... Followed by a long stack trace. There seem to be a way to disable the statistics in the UI but is it possible to disable it when using headless testrunner somehow?21Views0likes1CommentEncrypt Usernames and Passwords in REST API, check in code in Azure(ADO) with encrypted files
My XML requests have sensitive data which I do not want to expose when I check in my code in Azure ADO . How can we make sure that the files are encrypted and when someone access the files in ADO, the sensitive data should not be visible.34Views0likes2CommentsHow do you reuse your ReadyAPI Groovy scripts if you want to run tests in a pipeline?
"Create custom Groovy classes, embed your reusable Groovy scripts into their methods, save them as separate files with the .groovy extension and voila - your Script Library is ready. You just need to point ReadyAPI where to find it (Preferences>ReadyAPI > Script library). If you change anything in those external classes, ReadyAPI will detect this and reload the classes automatically." Does this work if you're running the tests in a pipeline or from a commandline on your local machine? How would you point your commandline run script to the groovy script library? And where would you recommend keeping this library if it is being used in multiple projects? We have multiple projects but kept within the same repo (not using git's integration with readyapi, as this doesn't allow for multiple projects in the same repo). Ideally what I want is for someone to pull down the tests from git and then just open up readyApi and be able to run the tests. I don't want them to have to do lots of configuration to be able to run the tests.126Views0likes2CommentsImport from SoapUI (Open Source) to ReadyAPI
I am importing a project from soapui to readyapi. During the Import, there appears the error log: At least one test step was not added to the test case. Please make sure you have all the plugins installed and reload the project. Skipped test step(s): The whole TestCase is not working. Does anyone know, why this is happening?64Views0likes1CommentHow to disable "autocorrect/autofill" on SOAP requests
Using ReadyAPI to do a data driven test against a SOAP API. On each iteration, putting XML in the values for a properties test step. This is so that we can have some tests with missing elements, or other structural options. Using a placeholder in the SOAP request to grab those property values (see image). Whenever I save the project, ReadyAPI goes into my request, sees missing elements (because the placeholder puts them there during runtime) and "helps" me by shoving empty element tags in there for schema compliance. Next time I run the test, it fails because of extra tags... I have to remember to go into the request and delete the extra tags. One day I may forget and raise an embarrassing defect. Main Question: Is there a way to disable this "help" that keeps making things more complicated? (please support negative test cases - they're critical for robust testing) Thanks71Views0likes0CommentsHow to build SQL query using strings whose value should be retrieved from TestCase property
Suppose i have the following properties defined in the Test Case Properties FromTime =2023-11-15 23:00:00 ToTime =2023-11-16 23:00:00 I want to replace the time given in the below query with the above test case property variables. How to do that in ReadyAPI JDBC datasource ? SELECT * FROM Table1 where TagId = 4314 and Time > '2023-11-15 23:00:00' and Time < '2023-11-16 23:00:00' I am able to retrieve integer values like TagId and use it by adding 'Prepared Properties' within the JDBC datasource window. But if i add the string and use it inside the query, data is not fetched as the string is not interpreted properly.357Views1like7CommentsSetting log level in ReadyAPI and TestRunner
Is there an official way to change the log level when running tests with ReadyAPI and TestRunner? The ReadyAPI docs on groovy scripts only mention using `log.info` to write output from scripts. I would love to be able to use `log.debug`, so that when running locally people can set their ReadyAPI instance to log debug logs but when running with TestRunner in CI we would limit logs to info only.Solved182Views0likes1CommentSoapUI Groovy to save Requests and Responses in a txt file
How can I save my REST project in SoapUI Open Source all requests and responses that was ran to a txt file divided in sections test by test. I would like to use a Groovy code to do it, Please may someone help me? Example: Test 1 - Title Request code Response code Test 2 - Title Request code Response code I tried to save the Dump File but I need all request and response information with titles and all test steps together in the same file. How can I solve my problem using REST API and save all requests and responses that was ran? Thank you too munch!175Views0likes1CommentReadyAPI update REST request body and update test cases
Hi all! I am trying to figure out if there is support in ReadyAPI to update a REST API request body and have the updated parameters being updated in all the test cases in my functional tests where that request is used. I looked quite a bit into this, both in ReadyAPI itself, online and on this forum, but I cannot find a proper way to make it work as I would like. Is ReadyAPI currently supporting this use case? As a workaround for now I am storing the body of my REST API request as a variable and saving it as a custom property on my project. I then invoke that project variable when I need to perform that specific REST API request in my test cases in my functional test. Why do I want to do this in the first place you might ask? The answer is that I want to be able to have all my test cases updated once there is an update in any of my REST API requests. I don't want to go through all the test cases and update manually each of them. It seems to be like an obvious feature to have, but I feel like I am either blind and cannot find how to implement it or there is some kind of restriction in ReadyAPI that does not allow to achieve this for some reason. Looking forward to hearing some feedback from you all, I think and hope I am not the first person with this kind of use case and problem, so I am very curious to see if there is a way to solve it or if I need to accept that it is not possible to handle this in the way I would like.361Views0likes5Comments