Recent Discussions
Groovy 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?114Views0likes2CommentsHow 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.73Views0likes0CommentsTestEngine external JAR files - error - unable to resolve class
Background - We have test engine hosted on some linux server and we execute tests suing CURL cmd or POSTMAN. Given some external JARs When we add external JARs in /bin/ext folder of test engine server and re-start the test engine And run the tests using curl command from locally or using POSTMAN Then it throws error for groovy script test step saying unable to resolve class <className present in external JARs> on import statement itself. We have also configured .vmoptions of test engine server to read ext JARs but still it throws error. Locally, In ReadyAPI, we are placing those JARs in /bin/ext/ folder and it works perfectly fine. Any solution to this problem?178Views1like2CommentsReadyAPI changes in background - Git Integration
I'm using ReadyAPI 3.48.0 together with GitLab. After pulling the latest version of the project from GitLab and not making any changes at all, I can see that ReadyAPI makes hundreds of changes in the background. Adding the following under con:settings: xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance The next team member that pushes automatically has the same thing removed in the same files. Is there a way to prevent this from happening?307Views1like4Commentsrunning TestEngine in github workflow
I am trying to integratesmartbear/ready-api-soapui-testrunner:latest through a custom github workflow. Problem is, whenever I launch the docker container with this command: docker run -e LICENSE_SERVER="" -e COMMAND_LINE="-sMyTestSuite -cMyTestCase -rJUnit-Style-Report.xml -ehttp://laravel-test:8000 -Dbase_url=http://laravel-test:8000"-v ".":/project -v "./reports":/reports smartbear/ready-api-soapui-testrunner:latest, it throws this: Exception in thread "main" java.lang.RuntimeException: org.apache.commons.cli.MissingArgumentException: Missing argument for option: s I am using the first approach specified herehttps://hub.docker.com/r/smartbear/ready-api-soapui-testrunner/: docker run -v="Project Folder":/project -v="Report Folder":/reports -v="Extensions Folder":/ext -e LICENSE_SERVER="License Server Address" -e COMMAND_LINE="Test Runner Arguments" -it smartbear/ready-api-soapui-testrunner:latest134Views0likes0Commentsgcloud authentification with service account
Hi community, we are trying to check our google storage buckets using ready api. For this we need a token to access the gcs. It works on my local machine inserting my personal token directly in the oauth token field but, as you might understand, I don't want this to be stored in any gitlab pipeline or log file. Has any body already gathered experience with connection rap to the google storage, and has come across a solution for automatic token generation?210Views1like0CommentsReadyAPI timeout/running out of memory in our VSTS pipelines
The problems: 1. Our VSTS agent takes more than 60 minutes to try execute our ready api tests and the operation is cancel 2. Java.lang.OutOfMemoryError We had our test running on the pipeline, then we added a few changes to modify the settings file so we could update our endpoint variables via VSTS to avoid hardcoding our values. We added a step with a Powershell script to modify our environment values, the values are modified correctly but the test just fails at the end because of a timeout (taking more than 60 minutes to execute a task) or the Memory Error. For the memory error, we increased the Xmx value in the .vmoptions file from 800m to 25344m but didn't solve anything :C The virtual machine we are using is an AWS machine that has 8 vCPUs with 32GiB (EC2 instance type:t3.2xlarge) Any ideas on what to look for and where?187Views0likes1CommentReadyAPI test for Azure DevOps doesn't output log information on the fly
ReadyAPI test for Azure DevOps doesn't output log information on the fly, we have to wait minutes to get information We are trying two approaches to see which one fits our needs. Initially we had a CMD step with the following to execute our test: -f$(Common.TestResultsDirectory) "-RJUnit-Style HTML Report" -FXML "-ECI-Pipeline" "-TTestSuite Integration" "-TTestCase Integration" $(Build.SourcesDirectory) -email $(ReadyAPI.User) -password $(ReadyAPI.Pass) Then we tried the ReadyAPI step from Azure Marketplace but it's too long to start sending log information, is this expected? How long it should take for that step to give log information?233Views0likes2CommentsData Validation after Running a POST Request
I'm quite new to Ready API and API testing, but need help with needing to validate that after running a post request that the request has been successfully inserted into the database and fetch the status column from the db, which I will use with assertions The db is running on GCP... Any help is greatly appreciatedSolved283Views0likes2Comments