Contributions
PUT request works in POSTMAN but in ReadyAPI it thows "500 server error"
Hi mates, I am struggling with some weird issue. When try to hit PUT request it works well in postman but it throws 500 server error in Ready API(3.41.1). End point:https://abc.com Resource:/api/validate/update/00676123 Content-Type: application/json Header passed: client_id and client_secret. When I send the same thing in ReadyAPI it is throwing me "500 server error". I have automated many GET and POST REST APIs, never faced any such kind of issue. I am trying PUT for the fist time in ReadyAPI. Appreciate any help.2 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.1KViews0likes3Commentsencoding of utf-8 is set for some APIs test cases and not for some in project properties
Hi mates, I am sending unicode characters in Json request payload. The server is returning "NO success" response. But If I add encoding as UTF-8 in that test case(REST) properties, response comes as "SUCCESS". Is it the the right thing to send UTF-8 explicitly ? And if yes, how does this will be addressed when any integrations call that API ? And, I could see some other APIs test cases shows UTF-8 as encoding by default in ReadyAPI. So, not sure whats going on. Appreciate any help. Thanks. Ravi.3 years agoPlace ReadyAPI QuestionsReadyAPI Questions2KViews0likes2CommentsRe: Edit end point in environment configuration at once for all APIs
Thanksrichie, Yeah seems you are correct, looks like using properties file is a good idea. I will change to it in sometime. But unfortunately I dont have that much luxury now as our testing phase in progress. Hi nmrao, could you please suggest some quick solution for my issue for now.... Thank you very much. Cheer's Ravi..3 years agoPlace ReadyAPI QuestionsReadyAPI Questions955Views0likes0CommentsRe: While opening SOAPUI, it is loading the ReadyAPI projects automatically.... would like to avoid this
Thanks for you replynmrao I didnt find file named setting.xml file in my ReadyAPI/soapUI installation directory. I am using MAC (OS 11). It would be great if you can guide me the steps. I have created a project in ReadyAPI and didnt touch soapui. But when I open soapUI it is automatically loading my ReadyAPI project. And please share the detailed solution page if you get it. Thanks. Regards, Ravi.3 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.1KViews0likes0CommentsEdit end point in environment configuration at once for all APIs
Dear mates, Could you please help this please.. I have setup one environment via "Configure Environments" in ReadyAPI. Let's take environment name as 'test11'. For various APIs, I have given required end point and authentication profile. And I wanted copy 'test11' and modify the end point to something else for SIT. Now, how can I modify the end point for all API's at once if there are 100 API's. screenshot: The screen above has 3 entries and I want to modify www.abc123.comto something else. If there are 100 entries like this, I have to edit 100 times and change the end point. Its a huge manual work. Is there any way I can change at once place and it will change for all 100 API's in that environment. Thanks. Ravi.3 years agoPlace ReadyAPI QuestionsReadyAPI Questions994Views0likes3CommentsWhile opening SOAPUI, it is loading the ReadyAPI projects automatically.... would like to avoid this
Hi mates, I have saved one project in ReadyAPI, lets say project name is ABC_XYZ. When I open SOAPUI it is automatically loading ReadyAPI project(ABC_XYZ) and throws a warning like, "if you save the readyAPI project in SOAUP UI, it may work incorrectly". I didnt see this behaviour till few weeks back. it is very weird. ReayAPI version - 3.6 SOAPUI version - 5.6 Can anyone please help to avoid this ? While opening SoapUI, it should not read or load my ReadyAPI projects. Screenshot: Thanks.3 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.1KViews0likes2CommentsRe: passing result or variable value from Groovy to test step
Hinmrao, it worked with the way you suggested below. Thank you very much and thank for giving relevant documentation links. Thank you all who gave wonderful replies. Cheers. Ravi.3 years agoPlace ReadyAPI QuestionsReadyAPI Questions524Views0likes0CommentsRe: passing result or variable value from Groovy to test step
Hinmrao, Thank you. Yeah I understood that date can be included in the request it self. As I have highlighted in my last reply, please forget about date for a while. Groovy step: If I have one variable value in my groovy script, likeemployeeNumber = 2314 TestStep (REST API with XML payload) ........ ........ <employee_id>?</employee_id> ....... ....... Now,employeeNumber from groovy script should be passed to <employee_id> (i.e 2314 should sit at ? place) It wold be great if you can help with how can I do this ? Thank you very much. Regards, Ravi.3 years agoPlace ReadyAPI QuestionsReadyAPI Questions4.6KViews0likes3CommentsRe: passing result or variable value from Groovy to test step
Hinmrao, Thank you for your reply. I have got the code snippet to get current date from payload directly by searching in the form and it worked. But my query is different as I have replied to Richi, keeping here as well. Sorry If I am not clear in my question. I dont want to send just current date to <app_date> element in payload. I want to get current date and then modify the date field to +/- few days with custom code and then send that changed date to payload. In other words, If I have one variable value in my groovy script, like employeeNumber = 2314, How I can pass this to payload element <employee_id>. ? Thank you very much for your help. Regards, Ravi.3 years agoPlace ReadyAPI QuestionsReadyAPI Questions4.6KViews0likes5CommentsRe: passing result or variable value from Groovy to test step
Hi richie, Thank you for your reply. Sorry If I am not clear in my question. I dont want to send just current date to <app_date> element in payload. I want to get current date and then modify the date field to +/- few days with custom code and then send that changed date to payload. In other words, If I have one variable value in my groovy script, like employeeNumber = 2314, How I can pass this to payload element <employee_id>. ? Thank you very much for your help. Regards, Ravi.3 years agoPlace ReadyAPI QuestionsReadyAPI Questions4.6KViews0likes1Comment