EggyByte Server
  1. TesterService
EggyByte Server
  • Default module
    • 项目介绍
    • 用户协议
    • 隐私政策
    • SuperDungeon
      • 超能魔盗团 隐私政策
      • User
        • Get User Data
        • Free Lottery
        • Paid Lottery
        • Sell Artwork
        • Find Top Users
        • Get Initial Data
        • Get Access
        • Change Name
      • Rank
        • Update
        • Find Top Users
      • Local
      • Remote
    • EggyByte
      • Account
        • Login
        • Register
        • Login Or Register
        • Access
        • Buy
        • Get Public Access
        • Formal Register
      • Game
        • Save Data
        • Load Data
      • Test
        • Random String
        • Get Map Json
      • Crypto
        • Compute Hash
        • Encrypt
        • Encrypt Map
        • Decrypt
      • Ad
        • Show
        • Debug
        • Impression Callback
      • User
        • Lock Test
        • Get User Data
        • Open Chest
      • Admin
        • Create Api Roles Copy
        • Create Api Roles Copy Copy
        • Delete Api Roles
        • Create Api Roles
      • Database
        • Update Mongo Users
        • List Databases
        • List Collections
        • List Mongo Users
        • Get Collection Stats
        • Get Collection Info
        • Get Paginated Documents
        • Create Mongo Users
        • Create Mongo Databases
      • Mailing
        • Send Mail
        • Send Captcha
        • Check Captcha
      • ThirdParty
        • Connect Url
        • Callback
        • Payment Link
    • 1
    • Untitled Endpoint
      GET
    • Untitled Endpoint
      POST
    • Setup
      POST
    • Create Database
      POST
    • Get Card
      GET
    • Create Question
      POST
    • Create Collection
      POST
    • Get Dashboards
      GET
    • Get Dashboard
      GET
    • Get Dashboard Copy
      POST
    • Untitled Endpoint
      GET
    • Untitled Endpoint
      GET
  • tester/v1/tester.proto
    • TesterService
      • List recent test runs with optional filtering.
        GET
      • Run a multi-service test suite in one request.
        POST
      • Run focused tests for a single service.
        POST
      • Retrieve a previously executed test run by ID.
        GET
  • auth/v1/auth.proto
    • AuthService
      • GetJWKS returns the JSON Web Key Set for token validation Used by Higress and other services to validate JWT tokens
      • GetOIDCDiscovery returns the OIDC discovery document Required for Higress OIDC plugin configuration
      • Authorize initiates the OAuth2/OIDC authorization flow Standard OIDC authorization endpoint for Higress integration
      • Authorize initiates the OAuth2/OIDC authorization flow Standard OIDC authorization endpoint for Higress integration
      • IntrospectToken validates and returns information about a token RFC 7662 - OAuth 2.0 Token Introspection (internal use only)
      • RevokeToken revokes an access or refresh token RFC 7009 - OAuth 2.0 Token Revocation
      • Token exchanges authorization code or refresh token for access tokens Standard OIDC token endpoint for Higress integration
      • GetUserInfo returns user information from a valid access token Standard OIDC UserInfo endpoint for Higress integration
      • GetUserInfo returns user information from a valid access token Standard OIDC UserInfo endpoint for Higress integration
      • ListUsers lists all users with auth information (admin only)
      • UpdateUserRole updates user's role (admin only)
      • SendEmailVerification sends email verification code
      • VerifyEmail verifies email with verification code
      • ResolveUserIdentity resolves JWT token and returns user identity context Called by Higress OIDC plugin to get user information for header injection
      • Login authenticates user credentials and returns tokens
      • Logout invalidates user tokens and sessions
      • ChangePassword changes user password (requires authentication)
      • ConfirmPasswordReset confirms password reset with code
      • ResetPassword initiates password reset flow
      • RefreshToken refreshes an access token using a refresh token
      • Register creates a new user account with authentication credentials
      • GetUserSessions retrieves active sessions for a user
      • RevokeUserSession revokes a specific user session
  1. TesterService

Run a multi-service test suite in one request.

POST
/v1/tests/run-suite

Request

Body Params application/jsonRequired

Example
{
    "services": [
        "TARGET_SERVICE_UNSPECIFIED"
    ],
    "includeCrossService": true,
    "options": {
        "environment": "string",
        "failFast": true,
        "parallel": true,
        "maxConcurrency": 0,
        "timeoutSeconds": 0,
        "metadata": {
            "property1": "string",
            "property2": "string"
        }
    },
    "tags": [
        "string"
    ]
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/v1/tests/run-suite' \
--header 'Content-Type: application/json' \
--data-raw '{
    "services": [
        "TARGET_SERVICE_UNSPECIFIED"
    ],
    "includeCrossService": true,
    "options": {
        "environment": "string",
        "failFast": true,
        "parallel": true,
        "maxConcurrency": 0,
        "timeoutSeconds": 0,
        "metadata": {
            "property1": "string",
            "property2": "string"
        }
    },
    "tags": [
        "string"
    ]
}'

Responses

🟢200OK
application/json
A successful response.
Body

Example
{
    "run": {
        "runId": "string",
        "status": "TEST_RUN_STATUS_UNSPECIFIED",
        "success": true,
        "options": {
            "environment": "string",
            "failFast": true,
            "parallel": true,
            "maxConcurrency": 0,
            "timeoutSeconds": 0,
            "metadata": {
                "property1": "string",
                "property2": "string"
            }
        },
        "serviceResults": [
            {
                "service": "TARGET_SERVICE_UNSPECIFIED",
                "success": true,
                "totalTests": "string",
                "passedTests": "string",
                "failedTests": "string",
                "durationMs": "string",
                "testCases": [
                    {
                        "name": "string",
                        "success": true,
                        "durationMs": "string",
                        "message": "string",
                        "errorDetails": "string",
                        "metadata": {
                            "property1": "string",
                            "property2": "string"
                        }
                    }
                ],
                "metadata": {
                    "property1": "string",
                    "property2": "string"
                }
            }
        ],
        "crossServiceResults": [
            {
                "sourceService": "TARGET_SERVICE_UNSPECIFIED",
                "targetService": "TARGET_SERVICE_UNSPECIFIED",
                "result": {
                    "name": "string",
                    "success": true,
                    "durationMs": "string",
                    "message": "string",
                    "errorDetails": "string",
                    "metadata": {
                        "property1": "string",
                        "property2": "string"
                    }
                }
            }
        ],
        "summary": {
            "runId": "string",
            "status": "TEST_RUN_STATUS_UNSPECIFIED",
            "success": true,
            "totalTests": "string",
            "passedTests": "string",
            "failedTests": "string",
            "durationMs": "string",
            "startedAt": "2019-08-24T14:15:22Z",
            "completedAt": "2019-08-24T14:15:22Z",
            "services": [
                "TARGET_SERVICE_UNSPECIFIED"
            ]
        },
        "tags": [
            "string"
        ]
    }
}
🟢200Success
Modified at 2025-09-27 16:13:05
Previous
List recent test runs with optional filtering.
Next
Run focused tests for a single service.
Built with