Contributions
Re: ReadyAPI Functional Testing Automate Problem
ChrisAdams: Thanks for your time. Yes, I looked into the raw request. You were right the value in the URL is not passing correctly but the question is why it is not passing correctly? I am attaching the raw request with hardcoded and with the selecting property both. So, now our aim is why it is not sending the correct values when we are selecting from the post method.4 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.2KViews0likes2Comments- 4 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.1KViews0likes0Comments
ReadyAPI Authentication
Dear Friends, I wanted to configure the authentication for my services using OAuth 2.0(Azure profile). While configuring there is a section of Redirect URL. what is Redirect URL? How can we configure the Redirect URL? I tried with the valuehttp://localhost:8080 as I read in the documentation but it did not work. Can anyone explain here also what URL should we provide to get the access token ? Regards AsadSolved4 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.1KViews0likes3CommentsRe: ReadyAPI Functional Testing Automate Problem
richie:Thanks for your reply. Again I will try to explain. it seems that when I try to take the ID(property) from post method then only I am getting the error if I am just passing the ID directly hardcoded I am not getting the error. Let me write my workflow step1: I called my POST method with some data to upload that return successfully with no error. Step2: I tried to GET that data based on the unique Id which is generated by the POST method as suggested by you I used the value POST response Id in GET method. Error in the step: Swagger Compliance Assertion -> No resource that matches the OpenAPI definition. Same with the DELETE as I explained in previous comments I am getting 405 when choosing the ID from response of post otherwise if we are passing the ID directly we are not getting 405. I am also attaching screenshots so that you have a better understanding. Regards Asad4 years agoPlace ReadyAPI QuestionsReadyAPI Questions3.4KViews0likes5CommentsRe: ReadyAPI Functional Testing Automate Problem
ChrisAdams: Thanks for your reply. I tried with your solutions and it seems that approach is correct but I got some swagger compliance assertion error. Let me write my workflow step1: I called my POST method with some data to upload that return successfully with no error. Step2: I tried to GET that data based on the unique Id which is generated by the POST method as suggested by you I used the value POST response Id in GET method. Error in the step: Swagger Compliance Assertion -> No resource that matches the OpenAPI definition. Step3: I tried to Delete that data based on the unique Id which is generated by the POST method as suggested by you I used the value POST response Id in DELETE method. Error : Valid HTTP Status codes - > Response status code 405. Error :Swagger Compliance Assertion->No resource that matches the OpenAPI definition. For me its totally strange because if I am passing the unique id directly then it deletes successfully. I am using the latest version of ReadyAPI 3.5.14 years agoPlace ReadyAPI QuestionsReadyAPI Questions3.5KViews0likes8CommentsReadyAPI Functional Testing Automate Problem
I am writing the test suite for my endpoints.I am having one problem which is for running the 1 test suite twice. For Example, When I add an image with endpoints it adds the Image with a unique Id and returns successfully. This unique Id is generated new every time. So we have another endpoint where we pass unique IDs to delete. So it is successful for the first time but when we run the delete second time the same query then that id is deleted and it says it does not exists. how do we automate this thing? I mean the test case should not fail. I tried to search but could not able to find any resource, Any help will be appreciated. Thanks.4 years agoPlace ReadyAPI QuestionsReadyAPI Questions4.3KViews0likes13Comments