In [[k6 (tool)|k6]], requests can be sent in parallel over multiple TCP connections using the [batching feature](https://k6.io/docs/javascript-api/k6-http/batch-requests/).
```js
import http from 'k6/http';
import { check } from 'k6';
export default function () {
let responses = http.batch([
['GET', 'https://test.k6.io', null, { tags: { ctype: 'html' } }],
['GET', 'https://test.k6.io/style.css', null, { tags: { ctype: 'css' } }],
[
'GET',
'https://test.k6.io/images/logo.png',
null,
{ tags: { ctype: 'images' } },
],
]);
check(responses[0], {
'main page status was 200': (res) => res.status === 200,
});
}
```