chakram
chakram copied to clipboard
REST API test framework. BDD and exploits promises
I am runing a test that gets and API, this api returns a big response. After I get this response I get the id and make another request, after a...
{ error: null, response: IncomingMessage { _readableState: ReadableState { objectMode: false, highWaterMark: 16384, buffer: [Object], length: 0, pipes: null, pipesCount: 0, flowing: true, ended: true, endEmitted: true, reading: false, sync:...
Hi @dareid, I am working on chakram framework for API automation. It's a great framework. I want to retain cookies (or JsessionID) while making multiple calls within APIs. Here is...
reference error when chakram called outside of mocha test. Steps to reproduce: 1. Create test.js file with the next content `var chakram = require('chakram');` `return chakram.get("http://httpbin.org/get").then((response) => console.log(response.body));` 2. execute...
I am having issues asserting APIs that return field names with dot(.) **Example API response object:** `"foo.bar": { "unit": "m", "timestamp": 1520927864, "value": 123 }` **Spec:** `expect(response).to.have.schema("foo.bar", {"required": ["unit", "value"]});`...
I added a Typescript definition file request over on the DefinitelyTyped repo: https://github.com/DefinitelyTyped/DefinitelyTyped/issues/7975 It would be great if we could use Chakram.js in our current project, but Typescript won't be...
@dareid Do you have an idea when the next version of chakram will be released? I would like to use the assertions arrayIncluding and arrayLength. It would make my life...
Hi, I am newbie to both Java script and Chakram. We are trying to see how we can use Chakram for making it out API framework. One of the features...
Hi team, i am not able to validate my json with the provided schema. The method is returning true for any provided schema for my json. Kindly help Below are...
I am trying to call a URL with multiple parameters. I don't know if there is a better way in chakram to call it: e.g. ``` https://somesite.com/page1/token?access_type=user&username=admin&password=passw``` Currently, I am...