Skip to content

Test Plugin

Default base URL: http://localhost:8180, prefix: /test

Used for protocol interoperability and regression testing (YAML cases, FFmpeg push/pull, snapshot validation). For high-concurrency load testing, use the standalone stress tool.

MethodPathDescription
GET/test/Current jobs
GET/test/integrationIntegration test jobs
GET/test/casesTest case list
GET/test/api/casesTest case list (standard response)
GET/test/sse/casesTest case status SSE stream
POST/test/api/cases/executeExecute test cases
POST/test/stopStop a specific job

Returns current job list.

Response fields:

FieldTypeDescription
jobsarrayJob list
countintJob count
POST /test/api/cases/execute
Content-Type: application/json
{ "names": ["rtmp2rtsp", "rtmp2flv"] }
FieldTypeRequiredDescription
namesstring[]YesTest case names to execute
{ "id": 123 }
FieldTypeRequiredDescription
iduint64YesJob ID
{
"code": 0,
"message": "success",
"data": {
"started": true
}
}
HTTP StatusScenario
400Invalid parameters
404Route not found
500Stream manager unavailable