Contributions
Re: Parameterizing string to Payload Request (Data Driven Test)
Hi Rao, I'm using SoapUI Free edition and I figured out what's wrong. Turns out I'm using excel as an editor for CSV file which should never be done. Editing the parameters on text editor such as notepad++ can solve the problem. Again, thanks for the reply Rao.1.9KViews0likes0CommentsParameterizing string to Payload Request (Data Driven Test)
Hi Smartbear community, I am stumped by this fairly newbie issueI'm sure most of you will be able to solve: Prerequisites: - JSON payload request has an attribute reason i.e. {"reason": "<reasonValue>"} as a String datatype - Reason has been added as a parameter on a Properties step inside a test case as ${#TestCase#reason} > this will be one of the parameters for input on the CSV data. - CSVdata has been updated with the <reasonValue> for the above property. - Finally payload has been updated by{"reason": ${Properties#reason}} which references from the Properties step. Issue: - When I put Because on the CSV data source, it becomes{"reason": Because} on the sent payload request where it's not a string which causes json error - When I put "Because" on the CSV data source, it becomes{"reason": """Because"""} on the sent payload request where it's not a string as wellcausing another json error. Goal: - Make reason parameterized to check if it has the right data typeand if it is mandatory. Kindly advise.Solved2KViews0likes2CommentsRe: Cannot upload an image using SoapUI - Petstore UploadImage API
Hi Rao - there is no content on Part dropdown. See attached image. Hi Helen - Thanks! Your solution worked :) If you are still able to reply, I'd like to confirm if the image is actually sent somewhere? Probably to photoURLs of the pet object? or is it sent to a ./null per screenshot? Just curious since our integration testing would involve something like this and would like to know how it would actually work. Cheers, Jose3.9KViews0likes1CommentCannot upload an image using SoapUI - Petstore UploadImage API
Hi SmartBear community, I have imported the sample petstore wadl from Swagger and am currently trying the UploadImage API. However, no matter what I do (searched all over the internet for answers), SoapUI always return a 405 Not Allowed error. I have tried doing it in the test case and making the media type same with the content type of the object. Kindly help. Thanks, JoseSolved3.9KViews0likes4Comments