Product
Socket Now Supports uv.lock Files
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
A REST API testing framework built on node.js that makes testing API endpoints straightforward.
Just define your APIs in a json file, Bluecat will create all the methods for you, plus it removes callbacks so tests that have a complex API call flow will be more clear.
Bluecat give you full control over the request URL query, headers and body in test case.
For HTTP API call flow, Bluecat maintains session cookies for you automatically.
$ npm install bluecat
{
"mobileapi": {
"typeahead": {
"schema": "http",
"method": ["GET"]
}
}
}
var expect = require("chai").expect;
var ServiceSync = require("bluecat").ServiceSync;
var Api = require("bluecat").Api;
var host = 'mobile.walmart.com';
describe("typeahead service", function() {
before(function() {
t = new ServiceSync(Api("mobileapi"), host);
})
it("typeahead?term=xbo&cat=0&num=8", function(done) {
t.run(function() {
// send GET to typeahead?term=xbo&cat=0&num=8
var r = t.typeahead.GET({
term: 'xbox',
cat: 8,
num: 0
});
// verify response
expect(r.err).to.equal(null);
expect(r.data.statusCode).to.equal(200);
expect(r.data.body).to.have.ownProperty("specific");
done();
})
})
})
Licensed under the MIT
FAQs
Library for building RESTful API HTTP requests, best for generic RESTful API Test Framework
The npm package bluecat receives a total of 10 weekly downloads. As such, bluecat popularity was classified as not popular.
We found that bluecat demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.
Security News
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.