performance-testing

Run k6 stress and load tests on IdP server APIs and authentication services.

7|1|Updated Feb 12, 2023
One-click install
npx skills add https://github.com/hirokazu-kobayashi-koba-hiro/idp-server --skill performance-testing-hirokazu-kobayashi-koba-hiro
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: performance-testing
Source: https://github.com/hirokazu-kobayashi-koba-hiro/idp-server/tree/main/.claude/skills/performance-testing
Command: npx skills add https://github.com/hirokazu-kobayashi-koba-hiro/idp-server --skill performance-testing-hirokazu-kobayashi-koba-hiro

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires k6, python3, psql.

What problem does it solve?

Performance bottlenecks and scalability challenges in IdP-server deployments are hard to identify without structured testing across multi-tenant environments.

Core Features & Use Cases

  • End-to-end stress testing using k6 to pinpoint system limits on individual APIs and full E2E flows.
  • Load and scalability validation to ensure stable performance as tenants and users grow.
  • Test data setup and results analysis with scripts and documentation to reproduce tests and tune configurations.

Quick Start

Run the performance tests by configuring environment variables and executing the appropriate k6 scripts for load and stress tests.

Frequently Asked Questions about performance-testing

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run load testing and stress testing for a multi-tenant IdP server?

To run load testing and stress testing for a multi-tenant IdP server, you configure environment variables and execute the provided k6 scripts to target individual APIs and full E2E authentication flows, identifying system bottlenecks and validating scalability.

What is the best way to identify performance bottlenecks in IdP server deployments?

The best way to identify performance bottlenecks in IdP server deployments is through structured end-to-end stress testing using k6. This process pinpoints system limits across API, authentication, and token services within multi-tenant environments.

Do I need k6 and Python 3 to perform IdP server scalability evaluations?

Yes, you need k6, Python 3, and the PostgreSQL client installed to perform IdP server scalability evaluations. These dependencies are required to execute the scripts that prepare tenants, generate test data, run tests, and analyze results.

How do I prepare test data for multi-tenant performance testing?

To prepare test data for multi-tenant performance testing, you use the provided Python 3 and PostgreSQL client scripts to generate tenants and configure data. This setup ensures stable load testing as tenants and users grow.

Can k6 scripts validate stable performance as multi-tenant users grow?

Yes, k6 scripts can validate stable performance as multi-tenant users grow by applying load and scalability validation tests. This ensures the IdP server handles increasing tenants and users without performance degradation.

Why does stress testing fail to pinpoint system limits on individual APIs without structured scripts?

Stress testing fails to pinpoint system limits without structured scripts because it lacks the ability to prepare multi-tenant data and reproduce consistent load scenarios. The provided scripts ensure accurate bottleneck identification across API and token services.