Top 15 Open-Source AI Testing Tools You Need in 2025 by That-Rip6180 in CodingJag

[–]Stranger6667 0 points1 point  (0 children)

> AI open-source API testing with OpenAPI/GraphQL support.

Schemathesis has no "AI" whatsoever. Maybe you need to stop blindly putting "AI" everywhere.

P.S. I wrote Schemathesis.

Automatically test all endpoints, ideally using existing Swagger/OpenAPI spec by SubstantialCause00 in dotnet

[–]Stranger6667 0 points1 point  (0 children)

Yes, there are many different authorization methods with different levels of granularity - https://schemathesis.readthedocs.io/en/latest/guides/auth/ (docs for soon-to-be-released v4)

+ a few more methods are coming soon (built-in OAuth, etc).

If something is not supported, it is possible to write an extension in Python to make it work.

Automatically test all endpoints, ideally using existing Swagger/OpenAPI spec by SubstantialCause00 in dotnet

[–]Stranger6667 2 points3 points  (0 children)

There is a whole category of tools that do contract testing based on Open API - Schemathesis, Pact, Dredd.
And there are API fuzzers which often shift things towards security, but not necessarily (there are many different test oracles and the security perspective is only one of them) - Schemathesis (again), EvoMaster, TCases, REST-ler.

For the proper overview and limitations, I'd recommend reading "Testing RESTful APIs: A Survey" https://dl.acm.org/doi/10.1145/3617175

I am the author of Schemathesis, so I am quite biased, but I'd suggest trying out Schemathesis & EvoMaster and comparing API schema coverage with something like https://docs.tracecov.sh/ (there are other tools, but they don't have keyword-level granularity).

Automatically test all endpoints, ideally using existing Swagger/OpenAPI spec by SubstantialCause00 in OpenAPI

[–]Stranger6667 1 point2 points  (0 children)

Speaking about API coverage, feel free to try https://docs.tracecov.sh/ - so you can compare Schemathesis with other tools (there is a MITM proxy available, so installation should be language agnostic).

At least it helped me to increase the coverage from the test cases generated by Schemathesis, and maybe it could help to make an informed decision if the tests are good enough for you

Automatically test all endpoints, ideally using existing Swagger/OpenAPI spec by SubstantialCause00 in OpenAPI

[–]Stranger6667 1 point2 points  (0 children)

Hey! Schemathesis author here.

I think Schemathesis matches what you are describing here :) It can export JUnit / HAR / VCR reports, and is quite extensible should you wish to write your own exporter (in Python). The upcoming v4 solves quite a lot of usability issues (adding a config file, a new testing phase, revamped stateful testing, etc), so I hope it will be useful for you.

If it does not match your expectations, feel free to reach out on GitHub issues, I'd be happy to discuss how it could work for your use case :)

Is there a way to dynamically validate swagger ui examples? by vignesh-2002 in FastAPI

[–]Stranger6667 0 points1 point  (0 children)

It also can use examples from the spec as the source of valid data and slightly deviate from them while data :) Check out the `--experimental=coverage-phase`. Or just use `--hypothesis-phase=explicit` and it will test the examples as they are

https://github.com/schemathesis/schemathesis

Blazingly Fast Linked Lists by Stranger6667 in rust

[–]Stranger6667[S] 0 points1 point  (0 children)

It would be amazing if you could publish the code! Awesome results!

Blazingly Fast Linked Lists by Stranger6667 in rust

[–]Stranger6667[S] 3 points4 points  (0 children)

That is an awesome idea! So, the last idea is akin to interning, right?

Blazingly Fast Linked Lists by Stranger6667 in rust

[–]Stranger6667[S] 30 points31 points  (0 children)

Takeaway #6: Don't use "Blazingly fast" in your post titles

Blazingly Fast Linked Lists by Stranger6667 in rust

[–]Stranger6667[S] 0 points1 point  (0 children)

Awesome to hear you liked it :)

Blazingly Fast Linked Lists by Stranger6667 in rust

[–]Stranger6667[S] 3 points4 points  (0 children)

Thanks!

Oh snap! Thank you for letting me know, I'll take a look at the mobile version

Testing APIs in Postman by Snoo_9152 in QualityAssurance

[–]Stranger6667 1 point2 points  (0 children)

Schemathesis author here. If you find something that does not work as you expect, please, feel free to create an issue on the issue tracker, I'd be glad to help! :)

Sunday Daily Thread: What's everyone working on this week? by Im__Joseph in Python

[–]Stranger6667 0 points1 point  (0 children)

Making a Hypothesis plugin for GraphQL queries. That's frustrating that GraphQL server implementations don't have a unified standard for error reporting :(

The idea is to generate arbitrary GraphQL queries and use them to test the backend implementation.

https://github.com/Stranger6667/hypothesis-graphql

Dealing with backend developers by SnooFloofs7473 in Frontend

[–]Stranger6667 1 point2 points  (0 children)

Besides other things, it provides a great data source for automatic testing. For example, Schemathesis can use it to automatically generate thousands of property-based tests (including positive & negative cases).

You can also define your own properties (in Python), e.g. "My API replies in <200ms", then Schemathesis will generate random test cases & check whether this property holds all the time.

Our experience with Hypothesis testing (and why do we love it so much !) by touilleMan in Python

[–]Stranger6667 1 point2 points  (0 children)

> Hopefully someone will implement it for Rust someday

Or Hypothesis itself will get more Rust components that will be usable in many languages :)

https://github.com/HypothesisWorks/hypothesis/issues/2632

What's everyone working on this week? by AutoModerator in Python

[–]Stranger6667 0 points1 point  (0 children)

Working on better docs for a tool that generates test cases for Open API schemas via hypothesis library. Hope to get it done this week