Skip to main content
New to Testkube? Unleash the power of cloud native testing in Kubernetes with Testkube. Get Started >

Basic Curl Example

Below is a basic workflow for executing a Curl command. You can paste this directly into the YAML of an existing or new test, just make sure to update the name and namespace for your environment if needed.

  • the spec.steps property defines a single step that runs the curl command.
Curl Workflow
kind: TestWorkflow
name: curl-sample
namespace: testkube
docs: example
- name: Run curl
image: curlimages/curl:8.7.1
shell: curl

After execution, you can see the output from the executions under the executions panel tabs:

The log output from the Curl execution:

Curl Log Output