Unable to get an .xlsx file as an attachement in rest api response
Hi! I'm trying to get a xlsx file as an attachment in response of an REST API, however for some reason I'm failing and the attachment list remains empty.the SoapUI keeps returning an html reponse stating "unsupported content-type [application/vnd.openxmlformats-officedocument.spreadsheetml.sheet]" while the status code is 200 for the data, so the file is there. Also, I double checked with swagger and i was able to download the attachement there without any issues. Anyone knows how to fix this?1.5KViews0likes1CommentTransfer property to aplication/x-www-urlencoded request
Hi, I've created a test suite which contains a test case. 1. I am calling an API that returns in it's response a clientId. eg. /api/v1/getClients 2. I am retrieving that clientId and use it to call another API, e.g /api/v1/client/{clientId} 3. The API from point 2 is returning accountNumber 4. I am trying to call another API (eg. api/v1/client/getAccount ) where I need to pass the accountNumber in the payload of the request, but the payload needs to be inapplication/x-www-form-urlencoded format : accountNumber=abc123¤cy=USD&country=US I am failing in transfering the retrieved accountNumber into the payload. Any ideas? Thank you!Solved1.4KViews0likes2Comments