Contributions
Rest POST request is failing due 400 bad request error, though it's working fine with Postman
I'm doing a POC with ReadyAPI to check the suitability of the tool for use as API automation tool for my company. There is a scenario where I need to store the full JSON response from one GET API and pass it as part of a POST JSON request body. I was trying to do the JSON transformation via the Property Transfer feature in ReadyAPI but it doesn't work.(Response is saving fine but still I'm getting 400 bad request when I'm passing the payload.) To find the root cause of the issue, I copied the working JSON body from Insomnia and pasted it in the ReadyAPI body with all the other required other details, and that time also its failed. But the same JSON is working with Postman without any issue and I'm getting the expected response. The JSON response that I'm passing is having more than 2000 lines and it's altogether closer to 2400 lines of request body. Any idea to resolve this issue? Tried to open a case but ReadyAPI new support request page is not working. I know it's really hard to find the root cause of this issue with the limited information. I would like to see if there is anyone who faced the similar issue and fix it. Error <Fault xmlns="https://xxxxxxxxxxxxxxxxx/v2/cart/-1/products"> <code>40000010000000000</code> <message>Problem with validating input.</message> <details>Problem with reading HTTP message.</details> <errors> <e>API Error Code : 1 - Validation Failed</e> </errors> </Fault>2 years agoPlace ReadyAPI QuestionsReadyAPI Questions582Views0likes0CommentsRe: Masking encrypted properties in ReadyAPI Test for Azure DevOps task instead of plain text
I am also facing the same issue as all the encrypted properties are being displayed in the Azure Logs. It is a major security concern and would like to see the encrypted properties are not exposed in Azure.1KViews0likes0CommentsEncrypted properties are being displayed in DevOps logs
Hi All, I have setup my API test suite in DevOps pipeline and all the sensitivity property values are encrypted in ReadyAPI. My issue here is, though it is encrypted, When I am running the pipeline I can see all the sensitive information(access token, Subscription key etc) in the logs. Has anyone came across the same issue and overcome it ? Thanks in advanced.3 years agoPlace ReadyAPI QuestionsReadyAPI Questions645Views0likes3CommentsRe: How create a single test suite to support multiple environment with assertion
Thanks Rao for the reply. I have tried the Environment feature but what it does is change the your base URL and I couldn't find a way to change the test data and assertions based on the selected environment. Use case There is an API to retrieve person data.I wanted to run the same in Dev, UAT and pre-prod environments. But the databases are different(dev person id- 100 is different with UAT person id- 100(two different persons)). As a result of it , the name I wanted to assert in dev is different with the name in UAT. Therefore I just wanted to know whether it is feasible to do this with a single Test suite or I need multiple suites for each environment since the databases are different.3 years agoPlace ReadyAPI QuestionsReadyAPI Questions2.5KViews0likes3CommentsHow create a single test suite to support multiple environment with assertion
Hi all, I am new to API automation with ReadyAPI. Great if anyone could advice me on below scenario with the industry best practices. I have a requirement to create an API regression test suite which will supports multiple environments(Dev, UAT, Pre-Prod etc). My question is, is that possible to create a single test suite which can be executed in different environments with assertions according to the environment if not what is the best approach? Ex: There is an API to retrieve person data. I want same to be executed in different environments and also assert the data based on the environment and also change the request data automatically when the environment is changed. Thanks in advanced 🙂Solved3 years agoPlace ReadyAPI QuestionsReadyAPI Questions2.6KViews0likes7Comments