xk6

Open-source projects categorized as xk6

Top 15 xk6 Open-Source Projects

  • xk6-browser

    k6 extension that adds support for browser automation and end-to-end web testing via the Chrome Devtools Protocol

  • xk6-dashboard

    A k6 extension that makes k6 metrics available on a web-based dashboard.

  • Project mention: Utilizando módulos do xk6 com k6 | dev.to | 2023-07-05
  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • xk6

    Build k6 with extensions

  • xk6-kafka

    k6 extension to load test Apache Kafka with support for various serialization formats, SASL, TLS, compression, Schema Registry client and beyond

  • Project mention: Performance testing Kafka server using xk6-kafka | dev.to | 2024-01-01

    import { Writer, Reader, SCHEMA_TYPE_STRING, SchemaRegistry, GROUP_BALANCER_ROUND_ROBIN, BALANCER_ROUND_ROBIN, } from "k6/x/kafka"; import { check, sleep } from "k6"; const bootstrapServers = [ 'kafka-bootsrap-1:9001', ]; let vus_amount = 3; let total_written = 0; let total_read = 0; export const options = { vus: vus_amount, iterations: "3", thresholds: { kafka_writer_error_count: ["count == 0"], kafka_reader_error_count: ["count == 0"], }, }; const topicName = "my-topic"; const schemaRegistry = new SchemaRegistry(); const producer = new Writer({ brokers: bootstrapServers, topic: topicName, balancer: BALANCER_ROUND_ROBIN, // or pick another balancer https://github.com/mostafa/xk6-kafka/blob/main/api-docs/index.d.ts#L66 // ... auth config }); export function teardown(data) { producer.close(); } export default function () { const consumer = new Reader({ brokers: bootstrapServers, // it is important to set groupID, groupTopics and groupBalancers when using Kafka bootstrap server // topic ReaderConfig param doesn't quite work with bootstrap server groupID: topicName + "-group", groupTopics: [topicName], groupBalancers: [GROUP_BALANCER_ROUND_ROBIN], // or pick different balancer https://github.com/mostafa/xk6-kafka/blob/main/api-docs/index.d.ts#L75 }); let messageAmount = 1000; if (__VU == 1) { console.log('VU 1, writing messages. Iter ' + __ITER); for (let index = 0; index < messageAmount; index++) { let messages = [ { value: schemaRegistry.serialize({ data: "test-value-string-" + index + "-vu-" + __VU + "-iter-" + __ITER, schemaType: SCHEMA_TYPE_STRING, }), }, ]; producer.produce({ messages: messages }); total_written += messages.length; } } let consumerMsgAmount = Math.floor(messageAmount / vus_amount); let messages = consumer.consume({ limit: consumerMsgAmount}); total_read += messages.length; console.log("Amount of msgs received: " + messages.length + ", VU " + __VU + ", iter " + __ITER); check(messages, { "all messages returned": (msgs) => msgs.length == consumerMsgAmount, }); let firstMessageValue = schemaRegistry.deserialize({ data: messages[0].value, schemaType: SCHEMA_TYPE_STRING, }); let lastMessageValue = schemaRegistry.deserialize({ data: messages[consumerMsgAmount - 1].value, schemaType: SCHEMA_TYPE_STRING, }); check(messages[0], { "Topic equals to": (msg) => msg["topic"] == topicName }); console.log("First msg value " + firstMessageValue + ", offset" + messages[0]["offset"] + ", partition " + messages[0]["partition"] + ", VU " + __VU + ", iter " + __ITER); console.log("Last msg value " + lastMessageValue + ", offset" + messages[consumerMsgAmount - 1]["offset"] + ", partition " + messages[0]["partition"] + ", VU " + __VU + ", iter " + __ITER); consumer.close(); }

  • xk6-sql

    k6 extension to load test RDBMSs (PostgreSQL, MySQL, MS SQL and SQLite3)

  • Project mention: Utilizando módulos do xk6 com k6 | dev.to | 2023-07-05

    xk6-sql

  • xk6-kubernetes

    Client extension for interacting with Kubernetes clusters from your k6 tests.

  • Project mention: Utilizando módulos do xk6 com k6 | dev.to | 2023-07-05

    xk6-kubernetes

  • xk6-output-influxdb

    k6 extension to output real-time test metrics to an InfluxDB 2.x database.

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  • xk6-faker

    Random fake data generator for k6.

  • Project mention: Utilizando módulos do xk6 com k6 | dev.to | 2023-07-05

    xk6-faker

  • xk6-redis

    A k6 extension to test the performance of a Redis instance.

  • xk6-notification

    A k6 extension for creating notifications.

  • Project mention: Enviando notificações com xk6 notification ✉ | dev.to | 2024-04-17
  • xk6-tarantool

    ⚙️ A k6 extension for Tarantool

  • xk6-tcp

    A k6 extension for sending data to TCP port

  • xk6-tracetest

  • xk6-tarantool-example

    📈 Extended example of xk6-tarantool usage

  • xk6-csv

    A k6 extension enables to parse CSV values

  • Project mention: Utilizando módulos do xk6 com k6 | dev.to | 2023-07-05

    xk6-csv

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

xk6 related posts

  • Utilizando módulos do xk6 com k6

    6 projects | dev.to | 5 Jul 2023
  • Get Started with xk6-browser

    1 project | dev.to | 11 Jan 2023
  • Benchmarking Redis with k6

    3 projects | dev.to | 17 Aug 2021
  • Load Testing SQL Databases with k6

    1 project | dev.to | 15 Jul 2021

Index

What are some of the best open-source xk6 projects? This list will help you:

Project Stars
1 xk6-browser 313
2 xk6-dashboard 286
3 xk6 175
4 xk6-kafka 128
5 xk6-sql 91
6 xk6-kubernetes 56
7 xk6-output-influxdb 54
8 xk6-faker 35
9 xk6-redis 23
10 xk6-notification 16
11 xk6-tarantool 12
12 xk6-tcp 11
13 xk6-tracetest 9
14 xk6-tarantool-example 5
15 xk6-csv 5

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com