title | description | draft | weight |
---|---|---|---|
Single request |
Example of one HTTP GET request |
false |
1 |
{{< code >}}
import http from 'k6/http';
export const options = {
iterations: 1,
};
export default function () {
const response = http.get('https://test-api.k6.io/public/crocodiles/');
}
{{< /code >}}