Show HN: Step CI – open-source lightweight alternative to Pingdom and Checkly (github.com)
In our last post, we showed that there is an easy way to generate automated tests for Rest APIs from your specification.
Since the last release, we have added some new features:
- Generate tests from your API spec in the CLI
- Run tests against gRPC APIs automatically
- Get request and response information when your tests fail
- Generate fake data and use it in the requests
- Bring your own test data (from .csv)
- More intuitive CLI interface
We built this because we wanted a simple, developer-friendly way to automate API testing without relying on cloud solutions. You can integrate it with Docker, GitHub Actions and Node. Your tests can have multiple steps, with shared context between them. Lastly, you can use it as a library and in combination with other testing tools like Jest, Ava, Mocha (and soon Insomnia).If you want to step out of locked-in cloud solutions, give our tool a try.
15 comments
[ 3.3 ms ] story [ 46.5 ms ] threadAPI monitoring is a very crowded space. Our approach is similar to HashiCorp with tools like Terraform, both philosophically (being open-source) and UX-wise (configuration as code).
Our users can benefit from being able to self-host it and customise it according to their own needs
It lets you follow a semantic API path through multiple API calls.
https://github.com/stepci/stepci/blob/main/examples/captures...
Some questions:
1. Is it possible to include headers at the workflow-level. I can't determine whether this is possible from reading the docs. Use case: include Authorization header for all tests/steps
2. Is it possible to run some command or query before a workflow/test/step. Use case: obtaining auth tokens
1. Currently not and auth is a tricky subject
2. Not at the moment, but we have a proposal to allow custom scripts: https://github.com/stepci/stepci/discussions/47
Also, can I ask you what authentication system you use?
Also how did you embed the workflow editor/results in the homepage?
My friend has mentioned in the post that the tool can be used as a library. The CLI and the Online Playground are just clients built on top of the library
Have a look at our docs: https://docs.stepci.com/guides/using-library.html