[HN Gopher] Show HN: Auto-generate load tests/synthetic test dat...
___________________________________________________________________
Show HN: Auto-generate load tests/synthetic test data from OpenAPI
spec/HAR file
Hey HN, We just shipped a new AI-powered feature... BUT the "AI"
piece is largely in the background. Instead of relying on a
chatbot, we've integrated AI (with strict input & output
guardrails) into a workflow to handle two specific tasks that would
be difficult for traditional programming: 1. Identifying the most
relevant base URL from HAR files, since it would be tedious to
cover every edge case or scenario to omit analytics, tracking, and
other network noise. 2. Generating synthetic data for API requests
by passing the API context and faker-js functions to GPT-4. The
steps are broken down into a simple flow, with users working with
the AI and verifying the output throughout. All of the focus is on
reducing cognitive load and speeding up test generation. Let me
know what you think!
Author : yevyevyev
Score : 24 points
Date : 2024-01-18 20:02 UTC (2 hours ago)
(HTM) web link (docs.multiple.dev)
(TXT) w3m dump (docs.multiple.dev)
| ushakov wrote:
| Why is AI needed for this at all?
|
| You should take a look at Schemathesis
| (https://github.com/schemathesis/schemathesis)
| xwowsersx wrote:
| This can be used to generate data given an openAPI spec? Bit
| unclear on whether that's unbundled from test generation. Say I
| just want to generate data that conforms to a spec as one-off.
| Can this be done?
___________________________________________________________________
(page generated 2024-01-18 23:00 UTC)