airborne
airborne copied to clipboard
RSpec driven API testing framework
Some of the api's we're testing require xml, is it possible to use airborne for this? Also how do I find out all the header options that airborne does support?
Given the following JSON body I must match: ``` msg: { body: "test", attachments: [att1, att2...] } ``` And headers: `{'Content-Type' => 'multipart/form-data'}` How do I have to write my...
I would love to be able to use this type of response validation without making an HTTP request but instead operating directly on JSON that I already have but unless...
My API return `{"result":"error","content":{"code":"LOGIN_DATA_INCORRECT","parameters":{"loginAttemptsLeft":4}}}` and I want to check that `loginAttemptsLeft` was decremented after some actions. For now when I want to use complex matcher (via `Proc`) I need to...
We'd like to monitor the performance of our API and hoped that Airborne might allow us to do this natively. It would be nice to have a warning (just a...
Introduced by d8a515e0c0887447653fb87424f5b3283169de6d. ``` git - def delete(url, headers = nil) - @response = make_request(:delete, url, headers: headers) + def delete(url, delete_body = nil, headers = nil) + @response =...
Hi, I was trying to test out the response headers. And the response header is something like `"X-TV-subscriptionId": "12345678"`, and I tried to `expect_header "X-TV-subscriptionId", "12345678"` and it returns false,...
Hi, I'm trying to test an api call with JSON array as the body: ` post "/accounts/#{id}/subscriptions", body, header` For the body, it is a JSON array like ["12345", "23456"]...
I am sending a request inside an array, but an error 500 occurs with the message: Error: Api request returned invalid json (Airborne::InvalidJsonError) ``` @req = [] body = {...
airborne (0.2.13), with [this data](https://pastebin.com/3hTDgaT2) ``` # all this is true expect_json_sizes('data.projects.edges', 3) expect_json_sizes('data.projects.edges.0.node.tasks.edges', 3) expect_json_sizes('data.projects.edges.1.node.tasks.edges', 3) expect_json_sizes('data.projects.edges.2.node.tasks.edges', 3) # error expect_json_sizes('data.projects.edges.*.node.tasks.edges', 3) ```