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.4KViews0likes1CommentTransfer 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.4KViews0likes2CommentsSelenium connection issue
Hi all, We are selenide and BitBar in our testing project. Our configuration looks like: DesiredCapabilities capabilities = new DesiredCapabilities(); capabilities.setCapability("platform", "platform"); capabilities.setCapability("osVersion", "version"); capabilities.setCapability("browserName", "browser"); capabilities.setCapability("version", "browser_version"); capabilities.setCapability("resolution", "resolution"); capabilities.setCapability("bitbar_apiKey", "key"); capabilities.setCapability("bitbar_project", "project"); capabilities.setCapability("bitbar_testrun", "tun"); RemoteWebDriver remoteDriver = new RemoteWebDriver(new URL(HUB_URL), capabilities); WebDriverRunner.setWebDriver(remoteDriver); Tunnel is starting in BeforeSuite step String command = ".\SBSecureTunnel.exe --username 'user' --authkey 'key' --ready tunnel-ready.tmp"; Runtime.getRuntime().exec(command); I can see that tunnel is up (checked in bitbar portal), but browser not started, and project not created in bitbar portal. Any suggestions? Am I doing something wrong?825Views0likes5CommentsBullet Proof Design Disscussion
In general I am looking at discussingmethods for handlingerror situations and recovering so I can complete a string of tests ending with a list of tests that passed and those that failed instead of stopping the test run on any error. I know how to enable this feature and how to control it on a perKWT and per command basis. The problem is error and event handling. I do a little scripting but not much. I have not implemented any sort of event or error handlingas of yet. I am working with an application with a database backend. In many cases if a test fails it may leave the data in an odd state which will cause subsequent tests to fail, produce false positives or crash the app. The foundation will be a good name map. My thoughts are to get all of my objects mapped and leave the name map as close to the object map as possible. Then I would simplify the alias mapas much as possible tomake my keyword tests easier to read. Only after this point would I being writing tests. I plan on implementing some new approaches on my next project. Here's to a productive discussion! Thanks all!817Views0likes1Comment