diff --git a/qaira-generated/analysis/iteration_llm_review.json b/qaira-generated/analysis/iteration_llm_review.json new file mode 100644 index 0000000..e195ae4 --- /dev/null +++ b/qaira-generated/analysis/iteration_llm_review.json @@ -0,0 +1,6 @@ +{ + "skipped": true, + "reason": "score_meets_threshold", + "score": 94.02, + "threshold": 90.0 +} \ No newline at end of file diff --git a/qaira-generated/analysis/results_analysis.json b/qaira-generated/analysis/results_analysis.json new file mode 100644 index 0000000..021391a --- /dev/null +++ b/qaira-generated/analysis/results_analysis.json @@ -0,0 +1,37 @@ +{ + "score": 94.02, + "threshold": 90.0, + "accepted": true, + "issues": [], + "nextRemediations": [], + "summary": { + "apiContracts": 241, + "bodyExpected": 123, + "bodyDetected": 118, + "bodyFieldsKnown": 99, + "bodyDetectionRate": 95.93, + "bodyFieldKnownRate": 80.49, + "pathParamsDiscovered": 147, + "queryParamsDiscovered": 22, + "headersDiscovered": 0, + "serviceEdges": 959, + "schemasDiscovered": 12, + "inferredSchemas": 99, + "declaredSchemaAttachments": 0, + "inferredSchemaAttachments": 99, + "serviceBodyPatterns": 100, + "dbWritePatterns": 39, + "testsGenerated": true, + "negativeTestsGenerated": true, + "edgeTestsGenerated": true + }, + "reactSafety": { + "strictJsonTransport": true, + "malformedQuoteEscapeFailOpen": true + }, + "llmReview": { + "networkCallExecuted": false, + "reason": "centralized_llm_review_only", + "reviewAgent": "IterationLLMReviewerAgent" + } +} \ No newline at end of file diff --git a/qaira-generated/codegen/llm_delta_patch_plan.json b/qaira-generated/codegen/llm_delta_patch_plan.json new file mode 100644 index 0000000..3e212aa --- /dev/null +++ b/qaira-generated/codegen/llm_delta_patch_plan.json @@ -0,0 +1,7 @@ +{ + "mode": "safe_delta_plan", + "safeDeltas": [], + "blockedDeltas": [], + "appliedCodeChanges": 0, + "reason": "runtime does not self-modify code unless deterministic patch library is implemented" +} \ No newline at end of file diff --git a/qaira-generated/final/final_test_generation_report.json b/qaira-generated/final/final_test_generation_report.json new file mode 100644 index 0000000..e3f797f --- /dev/null +++ b/qaira-generated/final/final_test_generation_report.json @@ -0,0 +1,17 @@ +{ + "generated": [ + "openapi", + "postman", + "negative_postman", + "edge_postman", + "curl", + "qaira", + "data_references", + "environment" + ], + "contractCount": 241, + "negativeTests": 223, + "edgeTests": 99, + "componentSchemas": 97, + "dataReferenceRoutes": 118 +} \ No newline at end of file diff --git a/qaira-generated/generated/curl_requests.sh b/qaira-generated/generated/curl_requests.sh new file mode 100644 index 0000000..2856f84 --- /dev/null +++ b/qaira-generated/generated/curl_requests.sh @@ -0,0 +1,241 @@ +curl -X GET "$BASE_URL/projects/:project_id/knowledge" +curl -X POST "$BASE_URL/projects/:project_id/knowledge" +curl -X PUT "$BASE_URL/projects/:project_id/knowledge/:id" +curl -X GET "$BASE_URL/projects/:project_id/knowledge/search" +curl -X GET "$BASE_URL/projects/:project_id/knowledge/context-package" +curl -X POST "$BASE_URL/projects/:project_id/knowledge/relations" +curl -X GET "$BASE_URL/projects/:project_id/knowledge/relations/source/:source_id" +curl -X GET "$BASE_URL/projects/:project_id/knowledge/relations/target/:target_id" +curl -X DELETE "$BASE_URL/projects/:project_id/knowledge/:id" +curl -X GET "$BASE_URL/ai-prompt-templates" +curl -X POST "$BASE_URL/ai-prompt-templates" +curl -X PUT "$BASE_URL/ai-prompt-templates/:id" +curl -X DELETE "$BASE_URL/ai-prompt-templates/:id" +curl -X POST "$BASE_URL/app-types" +curl -X GET "$BASE_URL/app-types" +curl -X GET "$BASE_URL/app-types/:id" +curl -X PUT "$BASE_URL/app-types/:id" +curl -X DELETE "$BASE_URL/app-types/:id" +curl -X GET "$BASE_URL/auth/setup" +curl -X POST "$BASE_URL/auth/signup/request-code" +curl -X POST "$BASE_URL/auth/signup/verify" +curl -X POST "$BASE_URL/auth/login" +curl -X POST "$BASE_URL/auth/login/google" +curl -X POST "$BASE_URL/auth/forgot-password/request-code" +curl -X POST "$BASE_URL/auth/forgot-password/verify" +curl -X GET "$BASE_URL/auth/session" +curl -X POST "$BASE_URL/automation-generator/internal/jobs/lease" +curl -X GET "$BASE_URL/automation-generator/internal/jobs/:id" +curl -X POST "$BASE_URL/automation-generator/internal/jobs/:id/run" +curl -X GET "$BASE_URL/metadata/domain" +curl -X POST "$BASE_URL/api/engine/runs/claim" +curl -X GET "$BASE_URL/api/engine/runs/:runId/snapshot" +curl -X POST "$BASE_URL/api/engine/runs/:runId/heartbeat" +curl -X GET "$BASE_URL/api/runs/:runId/status" +curl -X GET "$BASE_URL/api/runs/:runId/results" +curl -X GET "$BASE_URL/api/runs/:runId/logs" +curl -X GET "$BASE_URL/api/runs/:runId/artifacts" +curl -X POST "$BASE_URL/execution-results" +curl -X GET "$BASE_URL/execution-results" +curl -X GET "$BASE_URL/execution-results/:id" +curl -X PUT "$BASE_URL/execution-results/:id" +curl -X DELETE "$BASE_URL/execution-results/:id" +curl -X POST "$BASE_URL/execution-schedules" +curl -X GET "$BASE_URL/execution-schedules" +curl -X GET "$BASE_URL/execution-schedules/:id" +curl -X PUT "$BASE_URL/execution-schedules/:id" +curl -X POST "$BASE_URL/execution-schedules/:id/run" +curl -X DELETE "$BASE_URL/execution-schedules/:id" +curl -X POST "$BASE_URL/executions/smart-plan-preview" +curl -X POST "$BASE_URL/executions/manual-run-suggestion" +curl -X POST "$BASE_URL/executions" +curl -X POST "$BASE_URL/executions/local-run" +curl -X GET "$BASE_URL/executions" +curl -X GET "$BASE_URL/executions/:id" +curl -X PUT "$BASE_URL/executions/:id" +curl -X PUT "$BASE_URL/executions/:id/cases/:testCaseId/assignment" +curl -X POST "$BASE_URL/executions/:id/rerun" +curl -X POST "$BASE_URL/executions/:id/start" +curl -X POST "$BASE_URL/executions/:id/cases/:testCaseId/steps/:stepId/run" +curl -X POST "$BASE_URL/executions/:id/cases/:testCaseId/ai-analysis" +curl -X GET "$BASE_URL/executions/:id/report.pdf" +curl -X GET "$BASE_URL/executions/:id/report.html" +curl -X POST "$BASE_URL/executions/:id/share-report" +curl -X POST "$BASE_URL/executions/:id/complete" +curl -X DELETE "$BASE_URL/executions/:id" +curl -X POST "$BASE_URL/feedback" +curl -X GET "$BASE_URL/feedback" +curl -X GET "$BASE_URL/feedback/:id" +curl -X PUT "$BASE_URL/feedback/:id" +curl -X DELETE "$BASE_URL/feedback/:id" +curl -X POST "$BASE_URL/integrations" +curl -X GET "$BASE_URL/integrations" +curl -X POST "$BASE_URL/integrations/test-connection" +curl -X GET "$BASE_URL/integrations/:id" +curl -X PUT "$BASE_URL/integrations/:id" +curl -X DELETE "$BASE_URL/integrations/:id" +curl -X GET "$BASE_URL/local-agent/status" +curl -X POST "$BASE_URL/local-agent/start" +curl -X DELETE "$BASE_URL/ops-telemetry/logs" +curl -X POST "$BASE_URL/project-members" +curl -X GET "$BASE_URL/project-members" +curl -X GET "$BASE_URL/project-members/:id" +curl -X PUT "$BASE_URL/project-members/:id" +curl -X DELETE "$BASE_URL/project-members/:id" +curl -X POST "$BASE_URL/projects/:id/sync/:provider" +curl -X POST "$BASE_URL/projects" +curl -X GET "$BASE_URL/projects" +curl -X GET "$BASE_URL/projects/:id" +curl -X PUT "$BASE_URL/projects/:id" +curl -X DELETE "$BASE_URL/projects/:id" +curl -X GET "$BASE_URL/requirement-test-cases" +curl -X PUT "$BASE_URL/requirement-test-cases/replace" +curl -X POST "$BASE_URL/requirements" +curl -X POST "$BASE_URL/requirements/import" +curl -X GET "$BASE_URL/requirements" +curl -X GET "$BASE_URL/requirements/:id" +curl -X PUT "$BASE_URL/requirements/:id" +curl -X POST "$BASE_URL/requirements/:id/ai-optimize-preview" +curl -X POST "$BASE_URL/requirements/:id/generate-test-cases" +curl -X POST "$BASE_URL/requirements/:id/design-test-cases-preview" +curl -X POST "$BASE_URL/requirements/:id/design-test-cases-accept" +curl -X DELETE "$BASE_URL/requirements/:id" +curl -X POST "$BASE_URL/roles" +curl -X GET "$BASE_URL/roles" +curl -X GET "$BASE_URL/roles/:id" +curl -X GET "$BASE_URL/permissions" +curl -X GET "$BASE_URL/roles/:id/permissions" +curl -X PUT "$BASE_URL/roles/:id/permissions" +curl -X PUT "$BASE_URL/roles/:id" +curl -X DELETE "$BASE_URL/roles/:id" +curl -X GET "$BASE_URL/settings/localization" +curl -X PUT "$BASE_URL/settings/localization" +curl -X GET "$BASE_URL/settings/workspace-preferences" +curl -X PUT "$BASE_URL/settings/workspace-preferences" +curl -X POST "$BASE_URL/shared-step-groups" +curl -X GET "$BASE_URL/shared-step-groups" +curl -X GET "$BASE_URL/shared-step-groups/:id" +curl -X PUT "$BASE_URL/shared-step-groups/:id" +curl -X DELETE "$BASE_URL/shared-step-groups/:id" +curl -X GET "$BASE_URL/suite-test-cases" +curl -X PUT "$BASE_URL/suite-test-cases/reorder" +curl -X POST "$BASE_URL/test-cases" +curl -X POST "$BASE_URL/test-cases/import" +curl -X POST "$BASE_URL/test-cases/export" +curl -X GET "$BASE_URL/test-cases/automation/learning-cache" +curl -X GET "$BASE_URL/test-cases/automation/repository-context" +curl -X GET "$BASE_URL/test-cases/automation/learning-cache/export.csv" +curl -X POST "$BASE_URL/test-cases/automation/learning-cache/import" +curl -X POST "$BASE_URL/test-cases/automation/learning-cache/extract-fields" +curl -X GET "$BASE_URL/test-cases/automation/learning-cache/:id/usage" +curl -X PUT "$BASE_URL/test-cases/automation/learning-cache/:id" +curl -X POST "$BASE_URL/test-cases/automation/learning-cache" +curl -X DELETE "$BASE_URL/test-cases/automation/learning-cache/:id" +curl -X DELETE "$BASE_URL/test-cases/automation/learning-cache/screens/:screenName" +curl -X GET "$BASE_URL/test-cases/automation/learning-cache/screens/:screenName/usage" +curl -X PUT "$BASE_URL/test-cases/automation/learning-cache/screens/:screenName" +curl -X POST "$BASE_URL/test-cases/automation/learning-cache/:id/ai-improve" +curl -X POST "$BASE_URL/test-cases/automation/build-batch" +curl -X GET "$BASE_URL/test-cases" +curl -X GET "$BASE_URL/test-cases/:id" +curl -X POST "$BASE_URL/test-cases/:id/automation/build" +curl -X POST "$BASE_URL/test-cases/:id/automation/generator-jobs" +curl -X POST "$BASE_URL/test-cases/:id/automation/recorder-session" +curl -X POST "$BASE_URL/test-cases/:id/automation/recorder-session/:sessionId/finish" +curl -X POST "$BASE_URL/test-cases/design-test-cases-preview" +curl -X POST "$BASE_URL/test-cases/ai-authoring-preview" +curl -X POST "$BASE_URL/test-cases/ai-step-rephrase" +curl -X POST "$BASE_URL/test-cases/design-test-cases-accept" +curl -X GET "$BASE_URL/test-cases/ai-generation-jobs" +curl -X POST "$BASE_URL/test-cases/ai-generation-jobs" +curl -X PUT "$BASE_URL/test-cases/:id" +curl -X POST "$BASE_URL/test-cases/:id/accept-generated" +curl -X DELETE "$BASE_URL/test-cases/:id/reject-generated" +curl -X DELETE "$BASE_URL/test-cases/:id" +curl -X POST "$BASE_URL/test-configurations" +curl -X GET "$BASE_URL/test-configurations" +curl -X GET "$BASE_URL/test-configurations/:id" +curl -X PUT "$BASE_URL/test-configurations/:id" +curl -X DELETE "$BASE_URL/test-configurations/:id" +curl -X POST "$BASE_URL/test-data-sets" +curl -X GET "$BASE_URL/test-data-sets" +curl -X GET "$BASE_URL/test-data-sets/:id" +curl -X PUT "$BASE_URL/test-data-sets/:id" +curl -X DELETE "$BASE_URL/test-data-sets/:id" +curl -X POST "$BASE_URL/api/testengine/callbacks/runs" +curl -X POST "$BASE_URL/testengine/internal/jobs/lease" +curl -X GET "$BASE_URL/testengine/internal/jobs/queue-stats" +curl -X GET "$BASE_URL/testengine/internal/jobs/:id" +curl -X POST "$BASE_URL/testengine/internal/jobs/:id/start" +curl -X POST "$BASE_URL/testengine/internal/jobs/:id/steps/:stepId/execute" +curl -X POST "$BASE_URL/testengine/internal/jobs/:id/steps/:stepId/report" +curl -X POST "$BASE_URL/testengine/internal/jobs/:id/complete" +curl -X POST "$BASE_URL/testengine/internal/jobs/:id/fail" +curl -X POST "$BASE_URL/test-environments" +curl -X GET "$BASE_URL/test-environments" +curl -X GET "$BASE_URL/test-environments/:id" +curl -X PUT "$BASE_URL/test-environments/:id" +curl -X DELETE "$BASE_URL/test-environments/:id" +curl -X POST "$BASE_URL/test-steps" +curl -X GET "$BASE_URL/test-steps" +curl -X POST "$BASE_URL/test-steps/run-api-request" +curl -X GET "$BASE_URL/test-steps/:id" +curl -X PUT "$BASE_URL/test-steps/:id" +curl -X POST "$BASE_URL/test-steps/duplicate" +curl -X POST "$BASE_URL/test-steps/group" +curl -X POST "$BASE_URL/test-steps/ungroup" +curl -X POST "$BASE_URL/test-steps/insert-shared-group" +curl -X PUT "$BASE_URL/test-cases/:id/test-steps/reorder" +curl -X PUT "$BASE_URL/test-steps/reorder" +curl -X DELETE "$BASE_URL/test-steps/:id" +curl -X POST "$BASE_URL/test-suites" +curl -X GET "$BASE_URL/test-suites" +curl -X GET "$BASE_URL/test-suites/:id" +curl -X PUT "$BASE_URL/test-suites/:id" +curl -X POST "$BASE_URL/test-suites/:id/assign-test-cases" +curl -X DELETE "$BASE_URL/test-suites/:id" +curl -X POST "$BASE_URL/users" +curl -X POST "$BASE_URL/users/import" +curl -X GET "$BASE_URL/users" +curl -X GET "$BASE_URL/users/:id" +curl -X PUT "$BASE_URL/users/:id" +curl -X PUT "$BASE_URL/users/:id/password" +curl -X DELETE "$BASE_URL/users/:id" +curl -X GET "$BASE_URL/workspace-transactions" +curl -X GET "$BASE_URL/workspace-transactions/:id/events" +curl -X GET "$BASE_URL/workspace-transactions/:id/artifacts" +curl -X GET "$BASE_URL/workspace-transactions/:id/artifacts/:artifactId/download" +curl -X DELETE "$BASE_URL/workspace-transactions/:id" +curl -X GET "$BASE_URL/health" +curl -X GET "$BASE_URL/health/ready" +curl -X GET "$BASE_URL/metrics" +curl -X GET "$BASE_URL/health" +curl -X GET "$BASE_URL/api/v1/capabilities" +curl -X POST "$BASE_URL/api/v1/mobile/execute" +curl -X POST "$BASE_URL/api/v1/mobile/recorder/sessions" +curl -X GET "$BASE_URL/api/v1/mobile/recorder/sessions/:id" +curl -X GET "$BASE_URL/api/v1/mobile/recorder/sessions/:id/live" +curl -X GET "$BASE_URL/api/v1/mobile/recorder/sessions/:id/screenshot" +curl -X POST "$BASE_URL/api/v1/mobile/recorder/sessions/:id/input" +curl -X POST "$BASE_URL/api/v1/mobile/recorder/sessions/:id/stop" +curl -X GET "$BASE_URL/health" +curl -X GET "$BASE_URL/api/v1/capabilities" +curl -X GET "$BASE_URL/api/v1/live-session/screenshot" +curl -X GET "$BASE_URL/api/v1/live-session" +curl -X GET "$BASE_URL/api/v1/runs" +curl -X GET "$BASE_URL/api/v1/runs/:id" +curl -X POST "$BASE_URL/api/v1/runs" +curl -X POST "$BASE_URL/api/v1/runs/:id/retry" +curl -X GET "$BASE_URL/api/v1/recorder/sessions" +curl -X GET "$BASE_URL/api/v1/recorder/sessions/:id" +curl -X GET "$BASE_URL/api/v1/recorder/sessions/:id/tabs" +curl -X POST "$BASE_URL/api/v1/recorder/sessions/:id/inspect/start" +curl -X POST "$BASE_URL/api/v1/recorder/sessions/:id/inspect/stop" +curl -X POST "$BASE_URL/api/v1/recorder/sessions/:id/highlight" +curl -X GET "$BASE_URL/api/v1/recorder/sessions/:id/inspect/result" +curl -X GET "$BASE_URL/api/v1/recorder/sessions/:id/live" +curl -X GET "$BASE_URL/api/v1/recorder/sessions/:id/stream" +curl -X GET "$BASE_URL/api/v1/recorder/sessions/:id/screenshot" +curl -X POST "$BASE_URL/api/v1/recorder/sessions/:id/input" +curl -X POST "$BASE_URL/api/v1/recorder/sessions" +curl -X POST "$BASE_URL/api/v1/recorder/sessions/:id/stop" diff --git a/qaira-generated/generated/data_references.json b/qaira-generated/generated/data_references.json new file mode 100644 index 0000000..37109e7 --- /dev/null +++ b/qaira-generated/generated/data_references.json @@ -0,0 +1,827 @@ +{ + "post-projects-project_id-knowledge": { + "app_type_id": "{{lastId}}", + "asset_type": "{{data.asset_type}}", + "content": "{{data.content}}", + "content_type": "{{data.content_type}}", + "description": "{{data.description}}", + "embedding": "{{data.embedding}}", + "feature_name": "{{data.feature_name}}", + "is_active": true, + "item_status": "{{data.item_status}}", + "item_version": "{{data.item_version}}", + "linked_test_cases": "{{data.linked_test_cases}}", + "metadata": "{{data.metadata}}", + "module_name": "{{data.module_name}}", + "priority": "{{data.priority}}", + "source": "{{data.source}}", + "source_uri": "{{data.source_uri}}", + "title": "{{data.title}}" + }, + "put-projects-project_id-knowledge-id": { + "app_type_id": "{{lastId}}", + "asset_type": "{{data.asset_type}}", + "content": "{{data.content}}", + "content_type": "{{data.content_type}}", + "description": "{{data.description}}", + "embedding": "{{data.embedding}}", + "feature_name": "{{data.feature_name}}", + "is_active": true, + "item_status": "{{data.item_status}}", + "item_version": "{{data.item_version}}", + "linked_test_cases": "{{data.linked_test_cases}}", + "metadata": "{{data.metadata}}", + "module_name": "{{data.module_name}}", + "priority": "{{data.priority}}", + "source": "{{data.source}}", + "source_uri": "{{data.source_uri}}", + "title": "{{data.title}}" + }, + "post-projects-project_id-knowledge-relations": { + "metadata": "{{data.metadata}}", + "relation_type": "{{data.relation_type}}", + "source_id": "{{lastId}}", + "source_type": "{{data.source_type}}", + "target_id": "{{lastId}}", + "target_type": "{{data.target_type}}" + }, + "post-ai-prompt-templates": { + "app_type_id": "{{lastId}}", + "created_by": "{{data.created_by}}", + "project_id": "{{lastId}}" + }, + "put-ai-prompt-templates-id": { + "app_type_id": "{{lastId}}" + }, + "post-app-types": { + "is_unified": true, + "name": "{{data.name}}", + "project_id": "{{lastId}}", + "type": "{{data.type}}" + }, + "put-app-types-id": { + "is_unified": true, + "name": "{{data.name}}" + }, + "post-auth-signup-request-code": {}, + "post-auth-signup-verify": {}, + "post-auth-login": {}, + "post-auth-login-google": {}, + "post-auth-forgot-password-request-code": {}, + "post-auth-forgot-password-verify": {}, + "post-automation-generator-internal-jobs-lease": {}, + "post-automation-generator-internal-jobs-id-run": { + "additional_context": "{{data.additional_context}}", + "agent_plan": "{{data.agent_plan}}", + "integration_id": "{{lastId}}", + "job_id": "{{lastId}}", + "llm_model": "{{data.llm_model}}", + "start_url": "{{data.start_url}}", + "test_case_id": "{{lastId}}", + "test_configuration_id": "{{lastId}}", + "test_data_set_id": "{{lastId}}", + "test_environment_id": "{{lastId}}", + "title": "{{data.title}}", + "worker_id": "{{lastId}}" + }, + "post-api-engine-runs-claim": { + "engine_id": "{{lastId}}" + }, + "post-api-engine-runs-runId-heartbeat": { + "engine_id": "{{lastId}}", + "heartbeat_at": "{{data.heartbeat_at}}", + "leased_by": "{{data.leased_by}}", + "updated_at": "{{data.updated_at}}" + }, + "post-execution-results": { + "app_type_id": "{{lastId}}", + "defects": "{{data.defects}}", + "duration_ms": "{{data.duration_ms}}", + "error": "{{data.error}}", + "executed_by": "{{data.executed_by}}", + "execution_id": "{{lastId}}", + "external_references": "{{data.external_references}}", + "logs": "{{data.logs}}", + "status": "{{data.status}}", + "suite_id": "{{lastId}}", + "suite_name": "{{data.suite_name}}", + "test_case_id": "{{lastId}}", + "test_case_title": "{{data.test_case_title}}" + }, + "put-execution-results-id": { + "defects": "{{data.defects}}", + "duration_ms": "{{data.duration_ms}}", + "error": "{{data.error}}", + "executed_by": "{{data.executed_by}}", + "external_references": "{{data.external_references}}", + "logs": "{{data.logs}}", + "status": "{{data.status}}" + }, + "post-execution-schedules": { + "app_type_id": "{{lastId}}", + "assigned_to": "{{data.assigned_to}}", + "cadence": "{{data.cadence}}", + "created_by": "{{data.created_by}}", + "is_active": true, + "name": "{{data.name}}", + "next_run_at": "{{data.next_run_at}}", + "project_id": "{{lastId}}", + "suite_ids": "{{data.suite_ids}}", + "test_case_ids": "{{data.test_case_ids}}", + "test_configuration_id": "{{lastId}}", + "test_data_set_id": "{{lastId}}", + "test_environment_id": "{{lastId}}" + }, + "put-execution-schedules-id": { + "app_type_id": "{{lastId}}", + "assigned_to": "{{data.assigned_to}}", + "cadence": "{{data.cadence}}", + "name": "{{data.name}}", + "next_run_at": "{{data.next_run_at}}", + "project_id": "{{lastId}}", + "suite_ids": "{{data.suite_ids}}", + "test_case_ids": "{{data.test_case_ids}}", + "test_configuration_id": "{{lastId}}", + "test_data_set_id": "{{lastId}}", + "test_environment_id": "{{lastId}}" + }, + "post-executions-smart-plan-preview": { + "additional_context": "{{data.additional_context}}", + "appType": "{{data.appType}}", + "app_type_id": "{{lastId}}", + "cases": "{{data.cases}}", + "impacted_requirement_ids": "{{data.impacted_requirement_ids}}", + "integration_id": "{{lastId}}", + "project_id": "{{lastId}}", + "release_scope": "{{data.release_scope}}", + "testCases": "{{data.testCases}}", + "test_cases": "{{data.test_cases}}", + "test_configuration_id": "{{lastId}}", + "test_data_set_id": "{{lastId}}", + "test_environment_id": "{{lastId}}" + }, + "post-executions-manual-run-suggestion": { + "additional_context": "{{data.additional_context}}", + "app_type_id": "{{lastId}}", + "integration_id": "{{lastId}}", + "project_id": "{{lastId}}", + "selected_suite_ids": "{{data.selected_suite_ids}}", + "test_configuration_id": "{{lastId}}", + "test_data_set_id": "{{lastId}}", + "test_environment_id": "{{lastId}}" + }, + "post-executions": { + "app_type_id": "{{lastId}}", + "assigned_to": "{{data.assigned_to}}", + "created_by": "{{data.created_by}}", + "execution_hooks": "{{data.execution_hooks}}", + "name": "{{data.name}}", + "parallel_count": 1, + "parallel_enabled": "{{data.parallel_enabled}}", + "project_id": "{{lastId}}", + "status": "{{data.status}}", + "test_configuration_id": "{{lastId}}", + "test_configuration_name": "{{data.test_configuration_name}}", + "test_configuration_snapshot": "{{data.test_configuration_snapshot}}", + "test_data_set_id": "{{lastId}}", + "test_data_set_name": "{{data.test_data_set_name}}", + "test_data_set_snapshot": "{{data.test_data_set_snapshot}}", + "test_environment_id": "{{lastId}}", + "test_environment_name": "{{data.test_environment_name}}", + "test_environment_snapshot": "{{data.test_environment_snapshot}}", + "trigger": "{{data.trigger}}" + }, + "post-executions-local-run": { + "created_by": "{{data.created_by}}", + "ended_at": "{{data.ended_at}}", + "engine_base_url": "{{data.engine_base_url}}", + "name": "{{data.name}}", + "project_id": "{{lastId}}", + "status": "{{data.status}}" + }, + "put-executions-id": { + "assigned_to": "{{data.assigned_to}}" + }, + "put-executions-id-cases-testCaseId-assignment": { + "assigned_to": "{{data.assigned_to}}" + }, + "post-executions-id-rerun": { + "app_type_id": "{{lastId}}", + "assigned_to": "{{data.assigned_to}}", + "created_by": "{{data.created_by}}", + "name": "{{data.name}}", + "project_id": "{{lastId}}", + "status": "{{data.status}}", + "test_configuration_id": "{{lastId}}", + "test_configuration_name": "{{data.test_configuration_name}}", + "test_configuration_snapshot": "{{data.test_configuration_snapshot}}", + "test_data_set_id": "{{lastId}}", + "test_data_set_name": "{{data.test_data_set_name}}", + "test_data_set_snapshot": "{{data.test_data_set_snapshot}}", + "test_environment_id": "{{lastId}}", + "test_environment_name": "{{data.test_environment_name}}", + "test_environment_snapshot": "{{data.test_environment_snapshot}}", + "trigger": "{{data.trigger}}" + }, + "post-executions-id-start": { + "engine_base_url": "{{data.engine_base_url}}", + "execution_mode": "{{data.execution_mode}}", + "initiated_by": "{{data.initiated_by}}", + "skip_testengine_dispatch": "{{data.skip_testengine_dispatch}}", + "started_at": "{{data.started_at}}", + "status": "{{data.status}}", + "trigger": "{{data.trigger}}" + }, + "post-executions-id-cases-testCaseId-steps-stepId-run": { + "executed_by": "{{data.executed_by}}" + }, + "post-executions-id-cases-testCaseId-ai-analysis": { + "execution": "{{data.execution}}", + "requestedBy": "{{data.requestedBy}}", + "testCaseId": "{{lastId}}" + }, + "post-executions-id-share-report": { + "execution_id": "{{lastId}}", + "recipients": "{{data.recipients}}", + "requested_by": "{{data.requested_by}}" + }, + "post-executions-id-complete": { + "ended_at": "{{data.ended_at}}", + "status": "{{data.status}}" + }, + "post-feedback": { + "message": "{{data.message}}", + "status": "{{data.status}}", + "title": "{{data.title}}", + "user_id": "{{lastId}}" + }, + "put-feedback-id": { + "message": "{{data.message}}", + "status": "{{data.status}}", + "title": "{{data.title}}", + "user_id": "{{lastId}}" + }, + "post-integrations": { + "api_key": "{{data.api_key}}", + "base_url": "{{data.base_url}}", + "config": "{{data.config}}", + "is_active": true, + "model": "{{data.model}}", + "name": "{{data.name}}", + "project_key": "{{data.project_key}}", + "type": "{{data.type}}", + "updated_at": "{{data.updated_at}}", + "username": "{{data.username}}" + }, + "post-integrations-test-connection": { + "api_key": "{{data.api_key}}", + "base_url": "{{data.base_url}}", + "config": "{{data.config}}", + "type": "{{data.type}}" + }, + "put-integrations-id": { + "api_key": "{{data.api_key}}", + "base_url": "{{data.base_url}}", + "config": "{{data.config}}", + "is_active": true, + "model": "{{data.model}}", + "name": "{{data.name}}", + "project_key": "{{data.project_key}}", + "type": "{{data.type}}", + "updated_at": "{{data.updated_at}}", + "username": "{{data.username}}" + }, + "post-local-agent-start": {}, + "post-project-members": { + "project_id": "{{lastId}}", + "role_id": "{{lastId}}", + "user_id": "{{lastId}}" + }, + "put-project-members-id": { + "project_id": "{{lastId}}", + "role_id": "{{lastId}}", + "user_id": "{{lastId}}" + }, + "post-projects-id-sync-provider": { + "created_by": "{{data.created_by}}", + "project_id": "{{lastId}}", + "provider": "{{data.provider}}", + "trigger_mode": "{{data.trigger_mode}}" + }, + "post-projects": { + "created_by": "{{data.created_by}}", + "description": "{{data.description}}", + "display_id": "{{lastId}}", + "name": "{{data.name}}" + }, + "put-projects-id": { + "description": "{{data.description}}", + "name": "{{data.name}}" + }, + "put-requirement-test-cases-replace": { + "requirement_id": "{{lastId}}", + "test_case_ids": "{{data.test_case_ids}}" + }, + "post-requirements": { + "created_by": "{{data.created_by}}", + "description": "{{data.description}}", + "display_id": "{{lastId}}", + "external_references": "{{data.external_references}}", + "priority": "{{data.priority}}", + "project_id": "{{lastId}}", + "status": "{{data.status}}", + "title": "{{data.title}}", + "updated_at": "{{data.updated_at}}", + "updated_by": "{{data.updated_by}}" + }, + "post-requirements-import": { + "project_id": "{{lastId}}", + "rows": "{{data.rows}}" + }, + "put-requirements-id": { + "description": "{{data.description}}", + "external_references": "{{data.external_references}}", + "priority": "{{data.priority}}", + "project_id": "{{lastId}}", + "status": "{{data.status}}", + "title": "{{data.title}}", + "updated_at": "{{data.updated_at}}", + "updated_by": "{{data.updated_by}}" + }, + "post-requirements-id-ai-optimize-preview": { + "additional_context": "{{data.additional_context}}", + "integration_id": "{{lastId}}" + }, + "post-requirements-id-generate-test-cases": { + "additional_context": "{{data.additional_context}}", + "appType": "{{data.appType}}", + "app_type_id": "{{lastId}}", + "external_links": "{{data.external_links}}", + "images": "{{data.images}}", + "integration_id": "{{lastId}}", + "max_cases": "{{data.max_cases}}", + "requirement": "{{data.requirement}}", + "status": "{{data.status}}" + }, + "post-requirements-id-design-test-cases-preview": { + "additional_context": "{{data.additional_context}}", + "appType": "{{data.appType}}", + "app_type_id": "{{lastId}}", + "external_links": "{{data.external_links}}", + "images": "{{data.images}}", + "integration_id": "{{lastId}}", + "max_cases": "{{data.max_cases}}", + "requirement": "{{data.requirement}}" + }, + "post-requirements-id-design-test-cases-accept": { + "appType": "{{data.appType}}", + "app_type_id": "{{lastId}}", + "cases": "{{data.cases}}", + "requirement": "{{data.requirement}}", + "status": "{{data.status}}" + }, + "post-roles": { + "name": "{{data.name}}" + }, + "put-roles-id-permissions": { + "permission_codes": "{{data.permission_codes}}" + }, + "put-roles-id": { + "name": "{{data.name}}", + "permission_codes": "{{data.permission_codes}}" + }, + "put-settings-localization": { + "key": "{{data.key}}", + "strings": "{{data.strings}}", + "updated_at": "{{data.updated_at}}", + "value": "{{data.value}}" + }, + "put-settings-workspace-preferences": { + "key": "{{data.key}}", + "preferences": "{{data.preferences}}", + "updated_at": "{{data.updated_at}}", + "value": "{{data.value}}" + }, + "post-shared-step-groups": { + "app_type_id": "{{lastId}}", + "created_by": "{{data.created_by}}" + }, + "put-shared-step-groups-id": { + "app_type_id": "{{lastId}}", + "description": "{{data.description}}", + "name": "{{data.name}}", + "parameter_values": "{{data.parameter_values}}", + "steps": "{{data.steps}}", + "updated_by": "{{data.updated_by}}" + }, + "put-suite-test-cases-reorder": { + "sort_order": "{{data.sort_order}}", + "suite_id": "{{lastId}}", + "test_case_ids": "{{data.test_case_ids}}" + }, + "post-test-cases": { + "app_type_id": "{{lastId}}", + "created_by": "{{data.created_by}}", + "steps": "{{data.steps}}" + }, + "post-test-cases-import": { + "app_type_id": "{{lastId}}", + "batches": "{{data.batches}}", + "created_by": "{{data.created_by}}", + "rows": "{{data.rows}}" + }, + "post-test-cases-export": { + "app_type_id": "{{lastId}}", + "created_by": "{{data.created_by}}", + "test_case_ids": "{{data.test_case_ids}}" + }, + "post-test-cases-automation-learning-cache-import": { + "app_type_id": "{{lastId}}", + "entries": "{{data.entries}}", + "import_source": "{{data.import_source}}", + "project_id": "{{lastId}}" + }, + "post-test-cases-automation-learning-cache-extract-fields": { + "app_type_id": "{{lastId}}", + "fields": "{{data.fields}}" + }, + "put-test-cases-automation-learning-cache-id": {}, + "post-test-cases-automation-learning-cache": { + "app_type_id": "{{lastId}}", + "confidence": "{{data.confidence}}", + "dom_structure": "{{data.dom_structure}}", + "fallback_strategy": "{{data.fallback_strategy}}", + "locator": "{{data.locator}}", + "locator_intent": "{{data.locator_intent}}", + "locator_kind": "{{data.locator_kind}}", + "metadata": "{{data.metadata}}", + "object_name": "{{data.object_name}}", + "object_role": "{{data.object_role}}", + "page_key": 1, + "page_url": 1, + "project_id": "{{lastId}}", + "screen_dom_compressed": "{{data.screen_dom_compressed}}", + "screen_name": "{{data.screen_name}}", + "screen_screenshot_url": "{{data.screen_screenshot_url}}", + "screenshot_url": "{{data.screenshot_url}}", + "source": "{{data.source}}", + "target_criteria": "{{data.target_criteria}}", + "test_case_id": "{{lastId}}" + }, + "put-test-cases-automation-learning-cache-screens-screenName": { + "app_type_id": "{{lastId}}", + "new_name": "{{data.new_name}}", + "screen_name": "{{data.screen_name}}" + }, + "post-test-cases-automation-learning-cache-id-ai-improve": { + "guidance": "{{data.guidance}}", + "integration_id": "{{lastId}}" + }, + "post-test-cases-automation-build-batch": { + "app_type_id": "{{lastId}}", + "created_by": "{{data.created_by}}" + }, + "post-test-cases-id-automation-build": { + "additional_context": "{{data.additional_context}}", + "captured_actions": "{{data.captured_actions}}", + "captured_network": "{{data.captured_network}}", + "created_by": "{{data.created_by}}", + "integration_id": "{{lastId}}", + "start_url": "{{data.start_url}}", + "test_case_id": "{{lastId}}", + "test_configuration_id": "{{lastId}}", + "test_data_set_id": "{{lastId}}", + "test_environment_id": "{{lastId}}" + }, + "post-test-cases-id-automation-generator-jobs": { + "additional_context": "{{data.additional_context}}", + "created_by": "{{data.created_by}}", + "integration_id": "{{lastId}}", + "start_url": "{{data.start_url}}", + "test_case_id": "{{lastId}}", + "test_configuration_id": "{{lastId}}", + "test_data_set_id": "{{lastId}}", + "test_environment_id": "{{lastId}}" + }, + "post-test-cases-id-automation-recorder-session": { + "created_by": "{{data.created_by}}", + "engine_base_url": "{{data.engine_base_url}}", + "recorder_mode": "{{data.recorder_mode}}", + "recorder_public_base_url": "{{data.recorder_public_base_url}}", + "recorder_target": "{{data.recorder_target}}", + "reuse_existing": "{{data.reuse_existing}}", + "start_url": "{{data.start_url}}", + "target_step_id": "{{lastId}}", + "test_case_id": "{{lastId}}", + "test_configuration_id": "{{lastId}}", + "test_data_set_id": "{{lastId}}", + "test_environment_id": "{{lastId}}" + }, + "post-test-cases-id-automation-recorder-session-sessionId-finish": { + "additional_context": "{{data.additional_context}}", + "created_by": "{{data.created_by}}", + "engine_base_url": "{{data.engine_base_url}}", + "integration_id": "{{lastId}}", + "recorder_mode": "{{data.recorder_mode}}", + "recorder_session_id": "{{lastId}}", + "recorder_target": "{{data.recorder_target}}", + "target_step_id": "{{lastId}}", + "test_case_id": "{{lastId}}", + "test_configuration_id": "{{lastId}}", + "test_data_set_id": "{{lastId}}", + "test_environment_id": "{{lastId}}", + "transaction_id": "{{lastId}}" + }, + "post-test-cases-design-test-cases-preview": { + "additional_context": "{{data.additional_context}}", + "appType": "{{data.appType}}", + "app_type_id": "{{lastId}}", + "external_links": "{{data.external_links}}", + "images": "{{data.images}}", + "integration_id": "{{lastId}}", + "max_cases": "{{data.max_cases}}", + "requirement_ids": "{{data.requirement_ids}}", + "requirements": "{{data.requirements}}" + }, + "post-test-cases-ai-authoring-preview": { + "additional_context": "{{data.additional_context}}", + "appType": "{{data.appType}}", + "app_type_id": "{{lastId}}", + "integration_id": "{{lastId}}", + "requirement": "{{data.requirement}}", + "requirement_id": "{{lastId}}", + "test_case": "{{data.test_case}}" + }, + "post-test-cases-ai-step-rephrase": { + "additional_context": "{{data.additional_context}}", + "appType": "{{data.appType}}", + "app_type_id": "{{lastId}}", + "integration_id": "{{lastId}}", + "project_id": "{{lastId}}", + "requirement": "{{data.requirement}}", + "requirement_id": "{{lastId}}", + "step": "{{data.step}}", + "test_case": "{{data.test_case}}" + }, + "post-test-cases-design-test-cases-accept": { + "appType": "{{data.appType}}", + "app_type_id": "{{lastId}}", + "cases": "{{data.cases}}", + "requirement_ids": "{{data.requirement_ids}}", + "requirements": "{{data.requirements}}", + "status": "{{data.status}}" + }, + "post-test-cases-ai-generation-jobs": { + "app_type_id": "{{lastId}}", + "created_by": "{{data.created_by}}" + }, + "put-test-cases-id": { + "app_type_id": "{{lastId}}", + "automated": "{{data.automated}}", + "automation_status": "{{data.automation_status}}", + "description": "{{data.description}}", + "external_references": "{{data.external_references}}", + "parameter_values": "{{data.parameter_values}}", + "priority": "{{data.priority}}", + "requirement_id": "{{lastId}}", + "requirement_ids": "{{data.requirement_ids}}", + "steps": "{{data.steps}}", + "suite_id": "{{lastId}}", + "suite_ids": "{{data.suite_ids}}", + "title": "{{data.title}}", + "updated_by": "{{data.updated_by}}" + }, + "post-test-configurations": { + "app_type_id": "{{lastId}}", + "browser": "{{data.browser}}", + "description": "{{data.description}}", + "mobile_os": "{{data.mobile_os}}", + "name": "{{data.name}}", + "platform_version": "{{data.platform_version}}", + "project_id": "{{lastId}}", + "variables": "{{data.variables}}" + }, + "put-test-configurations-id": { + "app_type_id": "{{lastId}}", + "browser": "{{data.browser}}", + "description": "{{data.description}}", + "mobile_os": "{{data.mobile_os}}", + "name": "{{data.name}}", + "platform_version": "{{data.platform_version}}", + "project_id": "{{lastId}}", + "variables": "{{data.variables}}" + }, + "post-test-data-sets": { + "app_type_id": "{{lastId}}", + "columns": "{{data.columns}}", + "description": "{{data.description}}", + "mode": "{{data.mode}}", + "name": "{{data.name}}", + "project_id": "{{lastId}}", + "rows": "{{data.rows}}" + }, + "put-test-data-sets-id": { + "app_type_id": "{{lastId}}", + "columns": "{{data.columns}}", + "description": "{{data.description}}", + "mode": "{{data.mode}}", + "name": "{{data.name}}", + "project_id": "{{lastId}}", + "rows": "{{data.rows}}" + }, + "post-api-testengine-callbacks-runs": { + "artifact_bundle": "{{data.artifact_bundle}}", + "case_result": "{{data.case_result}}", + "deterministic_attempted": "{{data.deterministic_attempted}}", + "emitted_at": "{{data.emitted_at}}", + "engine_run_id": "{{lastId}}", + "event": "{{data.event}}", + "healing_attempted": "{{data.healing_attempted}}", + "healing_succeeded": "{{data.healing_succeeded}}", + "patch_proposals": "{{data.patch_proposals}}", + "payload": "{{data.payload}}", + "qaira_execution_id": "{{lastId}}", + "qaira_run_id": "{{lastId}}", + "qaira_test_case_id": "{{lastId}}", + "rawPayload": "{{data.rawPayload}}", + "state": "{{data.state}}", + "step_outcomes": "{{data.step_outcomes}}", + "summary": "{{data.summary}}" + }, + "post-testengine-internal-jobs-lease": {}, + "post-testengine-internal-jobs-id-start": { + "job_id": "{{lastId}}", + "worker_id": "{{lastId}}" + }, + "post-testengine-internal-jobs-id-steps-stepId-execute": { + "job_id": "{{lastId}}", + "step_id": "{{lastId}}", + "steps": "{{data.steps}}" + }, + "post-testengine-internal-jobs-id-steps-stepId-report": { + "api_detail": "{{data.api_detail}}", + "automation_detail": "{{data.automation_detail}}", + "captures": "{{data.captures}}", + "evidence": "{{data.evidence}}", + "job_id": "{{lastId}}", + "note": "{{data.note}}", + "recovery_attempted": "{{data.recovery_attempted}}", + "recovery_succeeded": "{{data.recovery_succeeded}}", + "step_id": "{{lastId}}", + "steps": "{{data.steps}}", + "web_detail": "{{data.web_detail}}" + }, + "post-testengine-internal-jobs-id-complete": { + "artifact_bundle": "{{data.artifact_bundle}}", + "deterministic_attempted": "{{data.deterministic_attempted}}", + "error": "{{data.error}}", + "healing_attempted": "{{data.healing_attempted}}", + "healing_succeeded": "{{data.healing_succeeded}}", + "job_id": "{{lastId}}", + "patch_proposals": "{{data.patch_proposals}}", + "steps": "{{data.steps}}", + "summary": "{{data.summary}}" + }, + "post-testengine-internal-jobs-id-fail": { + "job_id": "{{lastId}}", + "message": "{{data.message}}" + }, + "post-test-environments": { + "app_type_id": "{{lastId}}", + "base_url": "{{data.base_url}}", + "browser": "{{data.browser}}", + "description": "{{data.description}}", + "name": "{{data.name}}", + "notes": "{{data.notes}}", + "project_id": "{{lastId}}", + "variables": "{{data.variables}}" + }, + "put-test-environments-id": { + "app_type_id": "{{lastId}}", + "base_url": "{{data.base_url}}", + "browser": "{{data.browser}}", + "description": "{{data.description}}", + "name": "{{data.name}}", + "notes": "{{data.notes}}", + "project_id": "{{lastId}}", + "variables": "{{data.variables}}" + }, + "post-test-steps": {}, + "post-test-steps-run-api-request": { + "api_request": "{{data.api_request}}" + }, + "put-test-steps-id": { + "action": "{{data.action}}", + "api_request": "{{data.api_request}}", + "automation_code": "{{data.automation_code}}", + "expected_result": "{{data.expected_result}}", + "group_id": "{{lastId}}", + "group_kind": "{{data.group_kind}}", + "group_name": "{{data.group_name}}", + "reusable_group_id": "{{lastId}}", + "step_order": "{{data.step_order}}", + "step_type": "{{data.step_type}}", + "test_case_id": "{{lastId}}" + }, + "post-test-steps-duplicate": {}, + "post-test-steps-group": {}, + "post-test-steps-ungroup": {}, + "post-test-steps-insert-shared-group": {}, + "put-test-cases-id-test-steps-reorder": { + "entries": "{{data.entries}}", + "indexOf": "{{data.indexOf}}", + "step_ids": "{{data.step_ids}}" + }, + "put-test-steps-reorder": { + "entries": "{{data.entries}}", + "indexOf": "{{data.indexOf}}", + "step_ids": "{{data.step_ids}}", + "test_case_id": "{{lastId}}" + }, + "post-test-suites": { + "app_type_id": "{{lastId}}", + "created_by": "{{data.created_by}}", + "display_id": "{{lastId}}", + "name": "{{data.name}}", + "parallel_count": 1, + "parallel_enabled": "{{data.parallel_enabled}}", + "parameter_values": "{{data.parameter_values}}", + "parent_id": "{{lastId}}", + "updated_at": "{{data.updated_at}}", + "updated_by": "{{data.updated_by}}" + }, + "put-test-suites-id": { + "name": "{{data.name}}", + "parallel_count": 1, + "parallel_enabled": "{{data.parallel_enabled}}", + "parameter_values": "{{data.parameter_values}}", + "parent_id": "{{lastId}}", + "updated_at": "{{data.updated_at}}", + "updated_by": "{{data.updated_by}}" + }, + "post-test-suites-id-assign-test-cases": { + "test_case_ids": "{{data.test_case_ids}}" + }, + "post-users": { + "email": "{{data.email}}", + "is_workspace_admin": true, + "name": "{{data.name}}", + "password": "{{data.password}}", + "password_hash": "{{data.password}}", + "project_id": "{{lastId}}", + "role_id": "{{lastId}}", + "user_id": "{{lastId}}" + }, + "post-users-import": { + "rows": "{{data.rows}}" + }, + "put-users-id": { + "avatar_data_url": "{{data.avatar_data_url}}", + "email": "{{data.email}}", + "is_workspace_admin": true, + "name": "{{data.name}}", + "password": "{{data.password}}", + "password_hash": "{{data.password}}", + "role_id": "{{lastId}}" + }, + "put-users-id-password": { + "current_password": "{{data.password}}", + "new_password": "{{data.password}}", + "password_hash": "{{data.password}}" + }, + "post-api-v1-mobile-execute": { + "objectRepository": "{{data.objectRepository}}", + "object_repository": "{{data.object_repository}}", + "steps": "{{data.steps}}" + }, + "post-api-v1-mobile-recorder-sessions": { + "recorder_mode": "{{data.recorder_mode}}" + }, + "post-api-v1-mobile-recorder-sessions-id-input": { + "height": "{{data.height}}", + "type": "{{data.type}}", + "value": "{{data.value}}", + "width": "{{data.width}}", + "x": "{{data.x}}", + "y": "{{data.y}}" + }, + "post-api-v1-runs": { + "automated": "{{data.automated}}", + "callback": "{{data.callback}}" + }, + "post-api-v1-recorder-sessions-id-inspect-start": {}, + "post-api-v1-recorder-sessions-id-inspect-stop": {}, + "post-api-v1-recorder-sessions-id-highlight": {}, + "post-api-v1-recorder-sessions-id-input": {}, + "post-api-v1-recorder-sessions": { + "locator": "{{data.locator}}", + "source": "{{data.source}}", + "text": "{{data.text}}", + "timestamp": "{{data.timestamp}}", + "type": "{{data.type}}", + "url": "{{data.url}}", + "value": "{{data.value}}", + "x": "{{data.x}}", + "y": "{{data.y}}" + } +} \ No newline at end of file diff --git a/qaira-generated/generated/edge_tests.postman_collection.json b/qaira-generated/generated/edge_tests.postman_collection.json new file mode 100644 index 0000000..7c3d72b --- /dev/null +++ b/qaira-generated/generated/edge_tests.postman_collection.json @@ -0,0 +1,3582 @@ +{ + "info": { + "name": "Generated Edge API Tests", + "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" + }, + "variable": [ + { + "key": "baseUrl", + "value": "{{baseUrl}}" + }, + { + "key": "authToken", + "value": "{{authToken}}" + } + ], + "item": [ + { + "name": "EDGE_EMPTY_VALUES POST /projects/:project_id/knowledge", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/projects/:project_id/knowledge", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"\",\n \"asset_type\": \"\",\n \"content\": \"\",\n \"content_type\": \"\",\n \"description\": \"\",\n \"embedding\": \"\",\n \"feature_name\": \"\",\n \"is_active\": false,\n \"item_status\": \"\",\n \"item_version\": \"\",\n \"linked_test_cases\": \"\",\n \"metadata\": \"\",\n \"module_name\": \"\",\n \"priority\": \"\",\n \"source\": \"\",\n \"source_uri\": \"\",\n \"title\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/aiKnowledge.routes.js:12" + }, + { + "name": "EDGE_EMPTY_VALUES PUT /projects/:project_id/knowledge/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/projects/:project_id/knowledge/:id", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"\",\n \"asset_type\": \"\",\n \"content\": \"\",\n \"content_type\": \"\",\n \"description\": \"\",\n \"embedding\": \"\",\n \"feature_name\": \"\",\n \"is_active\": false,\n \"item_status\": \"\",\n \"item_version\": \"\",\n \"linked_test_cases\": \"\",\n \"metadata\": \"\",\n \"module_name\": \"\",\n \"priority\": \"\",\n \"source\": \"\",\n \"source_uri\": \"\",\n \"title\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/aiKnowledge.routes.js:19" + }, + { + "name": "EDGE_EMPTY_VALUES POST /projects/:project_id/knowledge/relations", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/projects/:project_id/knowledge/relations", + "body": { + "mode": "raw", + "raw": "{\n \"metadata\": \"\",\n \"relation_type\": \"\",\n \"source_id\": \"\",\n \"source_type\": \"\",\n \"target_id\": \"\",\n \"target_type\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/aiKnowledge.routes.js:60" + }, + { + "name": "EDGE_EMPTY_VALUES POST /ai-prompt-templates", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/ai-prompt-templates", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"\",\n \"created_by\": \"\",\n \"project_id\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/aiPromptTemplates.routes.js:43" + }, + { + "name": "EDGE_EMPTY_VALUES PUT /ai-prompt-templates/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/ai-prompt-templates/:id", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/aiPromptTemplates.routes.js:71" + }, + { + "name": "EDGE_EMPTY_VALUES POST /app-types", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/app-types", + "body": { + "mode": "raw", + "raw": "{\n \"is_unified\": false,\n \"name\": \"\",\n \"project_id\": \"\",\n \"type\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/appTypes.routes.js:8" + }, + { + "name": "EDGE_EMPTY_VALUES PUT /app-types/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/app-types/:id", + "body": { + "mode": "raw", + "raw": "{\n \"is_unified\": false,\n \"name\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/appTypes.routes.js:50" + }, + { + "name": "EDGE_EMPTY_VALUES POST /automation-generator/internal/jobs/:id/run", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/automation-generator/internal/jobs/:id/run", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"\",\n \"agent_plan\": \"\",\n \"integration_id\": \"\",\n \"job_id\": \"\",\n \"llm_model\": \"\",\n \"start_url\": \"\",\n \"test_case_id\": \"\",\n \"test_configuration_id\": \"\",\n \"test_data_set_id\": \"\",\n \"test_environment_id\": \"\",\n \"title\": \"\",\n \"worker_id\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/automationGenerator.routes.js:21" + }, + { + "name": "EDGE_EMPTY_VALUES POST /api/engine/runs/claim", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/api/engine/runs/claim", + "body": { + "mode": "raw", + "raw": "{\n \"engine_id\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/engine.routes.js:4" + }, + { + "name": "EDGE_EMPTY_VALUES POST /api/engine/runs/:runId/heartbeat", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/api/engine/runs/:runId/heartbeat", + "body": { + "mode": "raw", + "raw": "{\n \"engine_id\": \"\",\n \"heartbeat_at\": \"\",\n \"leased_by\": \"\",\n \"updated_at\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/engine.routes.js:25" + }, + { + "name": "EDGE_EMPTY_VALUES POST /execution-results", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/execution-results", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"\",\n \"defects\": \"\",\n \"duration_ms\": \"\",\n \"error\": \"\",\n \"executed_by\": \"\",\n \"execution_id\": \"\",\n \"external_references\": \"\",\n \"logs\": \"\",\n \"status\": \"\",\n \"suite_id\": \"\",\n \"suite_name\": \"\",\n \"test_case_id\": \"\",\n \"test_case_title\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executionResults.routes.js:7" + }, + { + "name": "EDGE_EMPTY_VALUES PUT /execution-results/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/execution-results/:id", + "body": { + "mode": "raw", + "raw": "{\n \"defects\": \"\",\n \"duration_ms\": \"\",\n \"error\": \"\",\n \"executed_by\": \"\",\n \"external_references\": \"\",\n \"logs\": \"\",\n \"status\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executionResults.routes.js:49" + }, + { + "name": "EDGE_EMPTY_VALUES POST /execution-schedules", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/execution-schedules", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"\",\n \"assigned_to\": \"\",\n \"cadence\": \"\",\n \"created_by\": \"\",\n \"is_active\": false,\n \"name\": \"\",\n \"next_run_at\": \"\",\n \"project_id\": \"\",\n \"suite_ids\": \"\",\n \"test_case_ids\": \"\",\n \"test_configuration_id\": \"\",\n \"test_data_set_id\": \"\",\n \"test_environment_id\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executionSchedules.routes.js:5" + }, + { + "name": "EDGE_EMPTY_VALUES PUT /execution-schedules/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/execution-schedules/:id", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"\",\n \"assigned_to\": \"\",\n \"cadence\": \"\",\n \"name\": \"\",\n \"next_run_at\": \"\",\n \"project_id\": \"\",\n \"suite_ids\": \"\",\n \"test_case_ids\": \"\",\n \"test_configuration_id\": \"\",\n \"test_data_set_id\": \"\",\n \"test_environment_id\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executionSchedules.routes.js:51" + }, + { + "name": "EDGE_EMPTY_VALUES POST /executions/smart-plan-preview", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions/smart-plan-preview", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"\",\n \"appType\": \"\",\n \"app_type_id\": \"\",\n \"cases\": \"\",\n \"impacted_requirement_ids\": \"\",\n \"integration_id\": \"\",\n \"project_id\": \"\",\n \"release_scope\": \"\",\n \"testCases\": \"\",\n \"test_cases\": \"\",\n \"test_configuration_id\": \"\",\n \"test_data_set_id\": \"\",\n \"test_environment_id\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:11" + }, + { + "name": "EDGE_EMPTY_VALUES POST /executions/manual-run-suggestion", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions/manual-run-suggestion", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"\",\n \"app_type_id\": \"\",\n \"integration_id\": \"\",\n \"project_id\": \"\",\n \"selected_suite_ids\": \"\",\n \"test_configuration_id\": \"\",\n \"test_data_set_id\": \"\",\n \"test_environment_id\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:46" + }, + { + "name": "EDGE_EMPTY_VALUES POST /executions", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"\",\n \"assigned_to\": \"\",\n \"created_by\": \"\",\n \"execution_hooks\": \"\",\n \"name\": \"\",\n \"parallel_count\": 0,\n \"parallel_enabled\": \"\",\n \"project_id\": \"\",\n \"status\": \"\",\n \"test_configuration_id\": \"\",\n \"test_configuration_name\": \"\",\n \"test_configuration_snapshot\": \"\",\n \"test_data_set_id\": \"\",\n \"test_data_set_name\": \"\",\n \"test_data_set_snapshot\": \"\",\n \"test_environment_id\": \"\",\n \"test_environment_name\": \"\",\n \"test_environment_snapshot\": \"\",\n \"trigger\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:80" + }, + { + "name": "EDGE_EMPTY_VALUES POST /executions/local-run", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions/local-run", + "body": { + "mode": "raw", + "raw": "{\n \"created_by\": \"\",\n \"ended_at\": \"\",\n \"engine_base_url\": \"\",\n \"name\": \"\",\n \"project_id\": \"\",\n \"status\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:107" + }, + { + "name": "EDGE_EMPTY_VALUES PUT /executions/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions/:id", + "body": { + "mode": "raw", + "raw": "{\n \"assigned_to\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:165" + }, + { + "name": "EDGE_EMPTY_VALUES PUT /executions/:id/cases/:testCaseId/assignment", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions/:id/cases/:testCaseId/assignment", + "body": { + "mode": "raw", + "raw": "{\n \"assigned_to\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:178" + }, + { + "name": "EDGE_EMPTY_VALUES POST /executions/:id/rerun", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions/:id/rerun", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"\",\n \"assigned_to\": \"\",\n \"created_by\": \"\",\n \"name\": \"\",\n \"project_id\": \"\",\n \"status\": \"\",\n \"test_configuration_id\": \"\",\n \"test_configuration_name\": \"\",\n \"test_configuration_snapshot\": \"\",\n \"test_data_set_id\": \"\",\n \"test_data_set_name\": \"\",\n \"test_data_set_snapshot\": \"\",\n \"test_environment_id\": \"\",\n \"test_environment_name\": \"\",\n \"test_environment_snapshot\": \"\",\n \"trigger\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:191" + }, + { + "name": "EDGE_EMPTY_VALUES POST /executions/:id/start", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions/:id/start", + "body": { + "mode": "raw", + "raw": "{\n \"engine_base_url\": \"\",\n \"execution_mode\": \"\",\n \"initiated_by\": \"\",\n \"skip_testengine_dispatch\": \"\",\n \"started_at\": \"\",\n \"status\": \"\",\n \"trigger\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:208" + }, + { + "name": "EDGE_EMPTY_VALUES POST /executions/:id/cases/:testCaseId/steps/:stepId/run", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions/:id/cases/:testCaseId/steps/:stepId/run", + "body": { + "mode": "raw", + "raw": "{\n \"executed_by\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:220" + }, + { + "name": "EDGE_EMPTY_VALUES POST /executions/:id/cases/:testCaseId/ai-analysis", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions/:id/cases/:testCaseId/ai-analysis", + "body": { + "mode": "raw", + "raw": "{\n \"execution\": \"\",\n \"requestedBy\": \"\",\n \"testCaseId\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:231" + }, + { + "name": "EDGE_EMPTY_VALUES POST /executions/:id/share-report", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions/:id/share-report", + "body": { + "mode": "raw", + "raw": "{\n \"execution_id\": \"\",\n \"recipients\": \"\",\n \"requested_by\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:273" + }, + { + "name": "EDGE_EMPTY_VALUES POST /executions/:id/complete", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions/:id/complete", + "body": { + "mode": "raw", + "raw": "{\n \"ended_at\": \"\",\n \"status\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:292" + }, + { + "name": "EDGE_EMPTY_VALUES POST /feedback", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/feedback", + "body": { + "mode": "raw", + "raw": "{\n \"message\": \"\",\n \"status\": \"\",\n \"title\": \"\",\n \"user_id\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/feedback.routes.js:5" + }, + { + "name": "EDGE_EMPTY_VALUES PUT /feedback/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/feedback/:id", + "body": { + "mode": "raw", + "raw": "{\n \"message\": \"\",\n \"status\": \"\",\n \"title\": \"\",\n \"user_id\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/feedback.routes.js:28" + }, + { + "name": "EDGE_EMPTY_VALUES POST /integrations", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/integrations", + "body": { + "mode": "raw", + "raw": "{\n \"api_key\": \"\",\n \"base_url\": \"\",\n \"config\": \"\",\n \"is_active\": false,\n \"model\": \"\",\n \"name\": \"\",\n \"project_key\": \"\",\n \"type\": \"\",\n \"updated_at\": \"\",\n \"username\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/integrations.routes.js:130" + }, + { + "name": "EDGE_EMPTY_VALUES POST /integrations/test-connection", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/integrations/test-connection", + "body": { + "mode": "raw", + "raw": "{\n \"api_key\": \"\",\n \"base_url\": \"\",\n \"config\": \"\",\n \"type\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/integrations.routes.js:164" + }, + { + "name": "EDGE_EMPTY_VALUES PUT /integrations/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/integrations/:id", + "body": { + "mode": "raw", + "raw": "{\n \"api_key\": \"\",\n \"base_url\": \"\",\n \"config\": \"\",\n \"is_active\": false,\n \"model\": \"\",\n \"name\": \"\",\n \"project_key\": \"\",\n \"type\": \"\",\n \"updated_at\": \"\",\n \"username\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/integrations.routes.js:190" + }, + { + "name": "EDGE_EMPTY_VALUES POST /project-members", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/project-members", + "body": { + "mode": "raw", + "raw": "{\n \"project_id\": \"\",\n \"role_id\": \"\",\n \"user_id\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/projectMembers.routes.js:4" + }, + { + "name": "EDGE_EMPTY_VALUES PUT /project-members/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/project-members/:id", + "body": { + "mode": "raw", + "raw": "{\n \"project_id\": \"\",\n \"role_id\": \"\",\n \"user_id\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/projectMembers.routes.js:23" + }, + { + "name": "EDGE_EMPTY_VALUES POST /projects/:id/sync/:provider", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/projects/:id/sync/:provider", + "body": { + "mode": "raw", + "raw": "{\n \"created_by\": \"\",\n \"project_id\": \"\",\n \"provider\": \"\",\n \"trigger_mode\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/projectSync.routes.js:5" + }, + { + "name": "EDGE_EMPTY_VALUES POST /projects", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/projects", + "body": { + "mode": "raw", + "raw": "{\n \"created_by\": \"\",\n \"description\": \"\",\n \"display_id\": \"\",\n \"name\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/projects.routes.js:5" + }, + { + "name": "EDGE_EMPTY_VALUES PUT /projects/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/projects/:id", + "body": { + "mode": "raw", + "raw": "{\n \"description\": \"\",\n \"name\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/projects.routes.js:25" + }, + { + "name": "EDGE_EMPTY_VALUES PUT /requirement-test-cases/replace", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/requirement-test-cases/replace", + "body": { + "mode": "raw", + "raw": "{\n \"requirement_id\": \"\",\n \"test_case_ids\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/requirementTestCases.routes.js:9" + }, + { + "name": "EDGE_EMPTY_VALUES POST /requirements", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/requirements", + "body": { + "mode": "raw", + "raw": "{\n \"created_by\": \"\",\n \"description\": \"\",\n \"display_id\": \"\",\n \"external_references\": \"\",\n \"priority\": \"\",\n \"project_id\": \"\",\n \"status\": \"\",\n \"title\": \"\",\n \"updated_at\": \"\",\n \"updated_by\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/requirements.routes.js:8" + }, + { + "name": "EDGE_EMPTY_VALUES POST /requirements/import", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/requirements/import", + "body": { + "mode": "raw", + "raw": "{\n \"project_id\": \"\",\n \"rows\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/requirements.routes.js:29" + }, + { + "name": "EDGE_EMPTY_VALUES PUT /requirements/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/requirements/:id", + "body": { + "mode": "raw", + "raw": "{\n \"description\": \"\",\n \"external_references\": \"\",\n \"priority\": \"\",\n \"project_id\": \"\",\n \"status\": \"\",\n \"title\": \"\",\n \"updated_at\": \"\",\n \"updated_by\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/requirements.routes.js:73" + }, + { + "name": "EDGE_EMPTY_VALUES POST /requirements/:id/ai-optimize-preview", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/requirements/:id/ai-optimize-preview", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"\",\n \"integration_id\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/requirements.routes.js:95" + }, + { + "name": "EDGE_EMPTY_VALUES POST /requirements/:id/generate-test-cases", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/requirements/:id/generate-test-cases", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"\",\n \"appType\": \"\",\n \"app_type_id\": \"\",\n \"external_links\": \"\",\n \"images\": \"\",\n \"integration_id\": \"\",\n \"max_cases\": \"\",\n \"requirement\": \"\",\n \"status\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/requirements.routes.js:113" + }, + { + "name": "EDGE_EMPTY_VALUES POST /requirements/:id/design-test-cases-preview", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/requirements/:id/design-test-cases-preview", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"\",\n \"appType\": \"\",\n \"app_type_id\": \"\",\n \"external_links\": \"\",\n \"images\": \"\",\n \"integration_id\": \"\",\n \"max_cases\": \"\",\n \"requirement\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/requirements.routes.js:147" + }, + { + "name": "EDGE_EMPTY_VALUES POST /requirements/:id/design-test-cases-accept", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/requirements/:id/design-test-cases-accept", + "body": { + "mode": "raw", + "raw": "{\n \"appType\": \"\",\n \"app_type_id\": \"\",\n \"cases\": \"\",\n \"requirement\": \"\",\n \"status\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/requirements.routes.js:179" + }, + { + "name": "EDGE_EMPTY_VALUES POST /roles", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/roles", + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/roles.routes.js:4" + }, + { + "name": "EDGE_EMPTY_VALUES PUT /roles/:id/permissions", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/roles/:id/permissions", + "body": { + "mode": "raw", + "raw": "{\n \"permission_codes\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/roles.routes.js:29" + }, + { + "name": "EDGE_EMPTY_VALUES PUT /roles/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/roles/:id", + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\",\n \"permission_codes\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/roles.routes.js:37" + }, + { + "name": "EDGE_EMPTY_VALUES PUT /settings/localization", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/settings/localization", + "body": { + "mode": "raw", + "raw": "{\n \"key\": \"\",\n \"strings\": \"\",\n \"updated_at\": \"\",\n \"value\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/settings.routes.js:11" + }, + { + "name": "EDGE_EMPTY_VALUES PUT /settings/workspace-preferences", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/settings/workspace-preferences", + "body": { + "mode": "raw", + "raw": "{\n \"key\": \"\",\n \"preferences\": \"\",\n \"updated_at\": \"\",\n \"value\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/settings.routes.js:28" + }, + { + "name": "EDGE_EMPTY_VALUES POST /shared-step-groups", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/shared-step-groups", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"\",\n \"created_by\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/sharedStepGroups.routes.js:6" + }, + { + "name": "EDGE_EMPTY_VALUES PUT /shared-step-groups/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/shared-step-groups/:id", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"\",\n \"description\": \"\",\n \"name\": \"\",\n \"parameter_values\": \"\",\n \"steps\": \"\",\n \"updated_by\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/sharedStepGroups.routes.js:47" + }, + { + "name": "EDGE_EMPTY_VALUES PUT /suite-test-cases/reorder", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/suite-test-cases/reorder", + "body": { + "mode": "raw", + "raw": "{\n \"sort_order\": \"\",\n \"suite_id\": \"\",\n \"test_case_ids\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/suiteTestCases.routes.js:9" + }, + { + "name": "EDGE_EMPTY_VALUES POST /test-cases", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"\",\n \"created_by\": \"\",\n \"steps\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:37" + }, + { + "name": "EDGE_EMPTY_VALUES POST /test-cases/import", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/import", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"\",\n \"batches\": \"\",\n \"created_by\": \"\",\n \"rows\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:69" + }, + { + "name": "EDGE_EMPTY_VALUES POST /test-cases/export", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/export", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"\",\n \"created_by\": \"\",\n \"test_case_ids\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:111" + }, + { + "name": "EDGE_EMPTY_VALUES POST /test-cases/automation/learning-cache/import", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/automation/learning-cache/import", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"\",\n \"entries\": \"\",\n \"import_source\": \"\",\n \"project_id\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:187" + }, + { + "name": "EDGE_EMPTY_VALUES POST /test-cases/automation/learning-cache/extract-fields", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/automation/learning-cache/extract-fields", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"\",\n \"fields\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:211" + }, + { + "name": "EDGE_EMPTY_VALUES POST /test-cases/automation/learning-cache", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/automation/learning-cache", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"\",\n \"confidence\": \"\",\n \"dom_structure\": \"\",\n \"fallback_strategy\": \"\",\n \"locator\": \"\",\n \"locator_intent\": \"\",\n \"locator_kind\": \"\",\n \"metadata\": \"\",\n \"object_name\": \"\",\n \"object_role\": \"\",\n \"page_key\": 0,\n \"page_url\": 0,\n \"project_id\": \"\",\n \"screen_dom_compressed\": \"\",\n \"screen_name\": \"\",\n \"screen_screenshot_url\": \"\",\n \"screenshot_url\": \"\",\n \"source\": \"\",\n \"target_criteria\": \"\",\n \"test_case_id\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:303" + }, + { + "name": "EDGE_EMPTY_VALUES PUT /test-cases/automation/learning-cache/screens/:screenName", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/automation/learning-cache/screens/:screenName", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"\",\n \"new_name\": \"\",\n \"screen_name\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:390" + }, + { + "name": "EDGE_EMPTY_VALUES POST /test-cases/automation/learning-cache/:id/ai-improve", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/automation/learning-cache/:id/ai-improve", + "body": { + "mode": "raw", + "raw": "{\n \"guidance\": \"\",\n \"integration_id\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:412" + }, + { + "name": "EDGE_EMPTY_VALUES POST /test-cases/automation/build-batch", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/automation/build-batch", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"\",\n \"created_by\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:438" + }, + { + "name": "EDGE_EMPTY_VALUES POST /test-cases/:id/automation/build", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/:id/automation/build", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"\",\n \"captured_actions\": \"\",\n \"captured_network\": \"\",\n \"created_by\": \"\",\n \"integration_id\": \"\",\n \"start_url\": \"\",\n \"test_case_id\": \"\",\n \"test_configuration_id\": \"\",\n \"test_data_set_id\": \"\",\n \"test_environment_id\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:486" + }, + { + "name": "EDGE_EMPTY_VALUES POST /test-cases/:id/automation/generator-jobs", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/:id/automation/generator-jobs", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"\",\n \"created_by\": \"\",\n \"integration_id\": \"\",\n \"start_url\": \"\",\n \"test_case_id\": \"\",\n \"test_configuration_id\": \"\",\n \"test_data_set_id\": \"\",\n \"test_environment_id\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:521" + }, + { + "name": "EDGE_EMPTY_VALUES POST /test-cases/:id/automation/recorder-session", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/:id/automation/recorder-session", + "body": { + "mode": "raw", + "raw": "{\n \"created_by\": \"\",\n \"engine_base_url\": \"\",\n \"recorder_mode\": \"\",\n \"recorder_public_base_url\": \"\",\n \"recorder_target\": \"\",\n \"reuse_existing\": \"\",\n \"start_url\": \"\",\n \"target_step_id\": \"\",\n \"test_case_id\": \"\",\n \"test_configuration_id\": \"\",\n \"test_data_set_id\": \"\",\n \"test_environment_id\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:552" + }, + { + "name": "EDGE_EMPTY_VALUES POST /test-cases/:id/automation/recorder-session/:sessionId/finish", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/:id/automation/recorder-session/:sessionId/finish", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"\",\n \"created_by\": \"\",\n \"engine_base_url\": \"\",\n \"integration_id\": \"\",\n \"recorder_mode\": \"\",\n \"recorder_session_id\": \"\",\n \"recorder_target\": \"\",\n \"target_step_id\": \"\",\n \"test_case_id\": \"\",\n \"test_configuration_id\": \"\",\n \"test_data_set_id\": \"\",\n \"test_environment_id\": \"\",\n \"transaction_id\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:591" + }, + { + "name": "EDGE_EMPTY_VALUES POST /test-cases/design-test-cases-preview", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/design-test-cases-preview", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"\",\n \"appType\": \"\",\n \"app_type_id\": \"\",\n \"external_links\": \"\",\n \"images\": \"\",\n \"integration_id\": \"\",\n \"max_cases\": \"\",\n \"requirement_ids\": \"\",\n \"requirements\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:631" + }, + { + "name": "EDGE_EMPTY_VALUES POST /test-cases/ai-authoring-preview", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/ai-authoring-preview", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"\",\n \"appType\": \"\",\n \"app_type_id\": \"\",\n \"integration_id\": \"\",\n \"requirement\": \"\",\n \"requirement_id\": \"\",\n \"test_case\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:659" + }, + { + "name": "EDGE_EMPTY_VALUES POST /test-cases/ai-step-rephrase", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/ai-step-rephrase", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"\",\n \"appType\": \"\",\n \"app_type_id\": \"\",\n \"integration_id\": \"\",\n \"project_id\": \"\",\n \"requirement\": \"\",\n \"requirement_id\": \"\",\n \"step\": \"\",\n \"test_case\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:683" + }, + { + "name": "EDGE_EMPTY_VALUES POST /test-cases/design-test-cases-accept", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/design-test-cases-accept", + "body": { + "mode": "raw", + "raw": "{\n \"appType\": \"\",\n \"app_type_id\": \"\",\n \"cases\": \"\",\n \"requirement_ids\": \"\",\n \"requirements\": \"\",\n \"status\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:715" + }, + { + "name": "EDGE_EMPTY_VALUES POST /test-cases/ai-generation-jobs", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/ai-generation-jobs", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"\",\n \"created_by\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:756" + }, + { + "name": "EDGE_EMPTY_VALUES PUT /test-cases/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/:id", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"\",\n \"automated\": \"\",\n \"automation_status\": \"\",\n \"description\": \"\",\n \"external_references\": \"\",\n \"parameter_values\": \"\",\n \"priority\": \"\",\n \"requirement_id\": \"\",\n \"requirement_ids\": \"\",\n \"steps\": \"\",\n \"suite_id\": \"\",\n \"suite_ids\": \"\",\n \"title\": \"\",\n \"updated_by\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:782" + }, + { + "name": "EDGE_EMPTY_VALUES POST /test-configurations", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-configurations", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"\",\n \"browser\": \"\",\n \"description\": \"\",\n \"mobile_os\": \"\",\n \"name\": \"\",\n \"platform_version\": \"\",\n \"project_id\": \"\",\n \"variables\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testConfigurations.routes.js:6" + }, + { + "name": "EDGE_EMPTY_VALUES PUT /test-configurations/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-configurations/:id", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"\",\n \"browser\": \"\",\n \"description\": \"\",\n \"mobile_os\": \"\",\n \"name\": \"\",\n \"platform_version\": \"\",\n \"project_id\": \"\",\n \"variables\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testConfigurations.routes.js:54" + }, + { + "name": "EDGE_EMPTY_VALUES POST /test-data-sets", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-data-sets", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"\",\n \"columns\": \"\",\n \"description\": \"\",\n \"mode\": \"\",\n \"name\": \"\",\n \"project_id\": \"\",\n \"rows\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testDataSets.routes.js:7" + }, + { + "name": "EDGE_EMPTY_VALUES PUT /test-data-sets/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-data-sets/:id", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"\",\n \"columns\": \"\",\n \"description\": \"\",\n \"mode\": \"\",\n \"name\": \"\",\n \"project_id\": \"\",\n \"rows\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testDataSets.routes.js:54" + }, + { + "name": "EDGE_EMPTY_VALUES POST /api/testengine/callbacks/runs", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/api/testengine/callbacks/runs", + "body": { + "mode": "raw", + "raw": "{\n \"artifact_bundle\": \"\",\n \"case_result\": \"\",\n \"deterministic_attempted\": \"\",\n \"emitted_at\": \"\",\n \"engine_run_id\": \"\",\n \"event\": \"\",\n \"healing_attempted\": \"\",\n \"healing_succeeded\": \"\",\n \"patch_proposals\": \"\",\n \"payload\": \"\",\n \"qaira_execution_id\": \"\",\n \"qaira_run_id\": \"\",\n \"qaira_test_case_id\": \"\",\n \"rawPayload\": \"\",\n \"state\": \"\",\n \"step_outcomes\": \"\",\n \"summary\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testEngineCallbacks.routes.js:20" + }, + { + "name": "EDGE_EMPTY_VALUES POST /testengine/internal/jobs/:id/start", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/testengine/internal/jobs/:id/start", + "body": { + "mode": "raw", + "raw": "{\n \"job_id\": \"\",\n \"worker_id\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testEngineInternal.routes.js:28" + }, + { + "name": "EDGE_EMPTY_VALUES POST /testengine/internal/jobs/:id/steps/:stepId/execute", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/testengine/internal/jobs/:id/steps/:stepId/execute", + "body": { + "mode": "raw", + "raw": "{\n \"job_id\": \"\",\n \"step_id\": \"\",\n \"steps\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testEngineInternal.routes.js:41" + }, + { + "name": "EDGE_EMPTY_VALUES POST /testengine/internal/jobs/:id/steps/:stepId/report", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/testengine/internal/jobs/:id/steps/:stepId/report", + "body": { + "mode": "raw", + "raw": "{\n \"api_detail\": \"\",\n \"automation_detail\": \"\",\n \"captures\": \"\",\n \"evidence\": \"\",\n \"job_id\": \"\",\n \"note\": \"\",\n \"recovery_attempted\": \"\",\n \"recovery_succeeded\": \"\",\n \"step_id\": \"\",\n \"steps\": \"\",\n \"web_detail\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testEngineInternal.routes.js:50" + }, + { + "name": "EDGE_EMPTY_VALUES POST /testengine/internal/jobs/:id/complete", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/testengine/internal/jobs/:id/complete", + "body": { + "mode": "raw", + "raw": "{\n \"artifact_bundle\": \"\",\n \"deterministic_attempted\": \"\",\n \"error\": \"\",\n \"healing_attempted\": \"\",\n \"healing_succeeded\": \"\",\n \"job_id\": \"\",\n \"patch_proposals\": \"\",\n \"steps\": \"\",\n \"summary\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testEngineInternal.routes.js:80" + }, + { + "name": "EDGE_EMPTY_VALUES POST /testengine/internal/jobs/:id/fail", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/testengine/internal/jobs/:id/fail", + "body": { + "mode": "raw", + "raw": "{\n \"job_id\": \"\",\n \"message\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testEngineInternal.routes.js:107" + }, + { + "name": "EDGE_EMPTY_VALUES POST /test-environments", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-environments", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"\",\n \"base_url\": \"\",\n \"browser\": \"\",\n \"description\": \"\",\n \"name\": \"\",\n \"notes\": \"\",\n \"project_id\": \"\",\n \"variables\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testEnvironments.routes.js:6" + }, + { + "name": "EDGE_EMPTY_VALUES PUT /test-environments/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-environments/:id", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"\",\n \"base_url\": \"\",\n \"browser\": \"\",\n \"description\": \"\",\n \"name\": \"\",\n \"notes\": \"\",\n \"project_id\": \"\",\n \"variables\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testEnvironments.routes.js:54" + }, + { + "name": "EDGE_EMPTY_VALUES POST /test-steps/run-api-request", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-steps/run-api-request", + "body": { + "mode": "raw", + "raw": "{\n \"api_request\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testSteps.routes.js:30" + }, + { + "name": "EDGE_EMPTY_VALUES PUT /test-steps/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-steps/:id", + "body": { + "mode": "raw", + "raw": "{\n \"action\": \"\",\n \"api_request\": \"\",\n \"automation_code\": \"\",\n \"expected_result\": \"\",\n \"group_id\": \"\",\n \"group_kind\": \"\",\n \"group_name\": \"\",\n \"reusable_group_id\": \"\",\n \"step_order\": \"\",\n \"step_type\": \"\",\n \"test_case_id\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testSteps.routes.js:44" + }, + { + "name": "EDGE_EMPTY_VALUES PUT /test-cases/:id/test-steps/reorder", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/:id/test-steps/reorder", + "body": { + "mode": "raw", + "raw": "{\n \"entries\": \"\",\n \"indexOf\": \"\",\n \"step_ids\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testSteps.routes.js:109" + }, + { + "name": "EDGE_EMPTY_VALUES PUT /test-steps/reorder", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-steps/reorder", + "body": { + "mode": "raw", + "raw": "{\n \"entries\": \"\",\n \"indexOf\": \"\",\n \"step_ids\": \"\",\n \"test_case_id\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testSteps.routes.js:118" + }, + { + "name": "EDGE_EMPTY_VALUES POST /test-suites", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-suites", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"\",\n \"created_by\": \"\",\n \"display_id\": \"\",\n \"name\": \"\",\n \"parallel_count\": 0,\n \"parallel_enabled\": \"\",\n \"parameter_values\": \"\",\n \"parent_id\": \"\",\n \"updated_at\": \"\",\n \"updated_by\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testSuites.routes.js:6" + }, + { + "name": "EDGE_EMPTY_VALUES PUT /test-suites/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-suites/:id", + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\",\n \"parallel_count\": 0,\n \"parallel_enabled\": \"\",\n \"parameter_values\": \"\",\n \"parent_id\": \"\",\n \"updated_at\": \"\",\n \"updated_by\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testSuites.routes.js:49" + }, + { + "name": "EDGE_EMPTY_VALUES POST /test-suites/:id/assign-test-cases", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-suites/:id/assign-test-cases", + "body": { + "mode": "raw", + "raw": "{\n \"test_case_ids\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testSuites.routes.js:70" + }, + { + "name": "EDGE_EMPTY_VALUES POST /users", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/users", + "body": { + "mode": "raw", + "raw": "{\n \"email\": \"\",\n \"is_workspace_admin\": false,\n \"name\": \"\",\n \"password\": \"\",\n \"password_hash\": \"\",\n \"project_id\": \"\",\n \"role_id\": \"\",\n \"user_id\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/users.js:12" + }, + { + "name": "EDGE_EMPTY_VALUES POST /users/import", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/users/import", + "body": { + "mode": "raw", + "raw": "{\n \"rows\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/users.js:28" + }, + { + "name": "EDGE_EMPTY_VALUES PUT /users/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/users/:id", + "body": { + "mode": "raw", + "raw": "{\n \"avatar_data_url\": \"\",\n \"email\": \"\",\n \"is_workspace_admin\": false,\n \"name\": \"\",\n \"password\": \"\",\n \"password_hash\": \"\",\n \"role_id\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/users.js:52" + }, + { + "name": "EDGE_EMPTY_VALUES PUT /users/:id/password", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/users/:id/password", + "body": { + "mode": "raw", + "raw": "{\n \"current_password\": \"\",\n \"new_password\": \"\",\n \"password_hash\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/users.js:76" + }, + { + "name": "EDGE_EMPTY_VALUES POST /api/v1/mobile/execute", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/api/v1/mobile/execute", + "body": { + "mode": "raw", + "raw": "{\n \"objectRepository\": \"\",\n \"object_repository\": \"\",\n \"steps\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: local-run/mobile-engine/src/server.js:422" + }, + { + "name": "EDGE_EMPTY_VALUES POST /api/v1/mobile/recorder/sessions", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/api/v1/mobile/recorder/sessions", + "body": { + "mode": "raw", + "raw": "{\n \"recorder_mode\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: local-run/mobile-engine/src/server.js:464" + }, + { + "name": "EDGE_EMPTY_VALUES POST /api/v1/mobile/recorder/sessions/:id/input", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/api/v1/mobile/recorder/sessions/:id/input", + "body": { + "mode": "raw", + "raw": "{\n \"height\": \"\",\n \"type\": \"\",\n \"value\": \"\",\n \"width\": \"\",\n \"x\": \"\",\n \"y\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: local-run/mobile-engine/src/server.js:555" + }, + { + "name": "EDGE_EMPTY_VALUES POST /api/v1/runs", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/api/v1/runs", + "body": { + "mode": "raw", + "raw": "{\n \"automated\": \"\",\n \"callback\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: testengine/backend/src/server.ts:207" + }, + { + "name": "EDGE_EMPTY_VALUES POST /api/v1/recorder/sessions", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/api/v1/recorder/sessions", + "body": { + "mode": "raw", + "raw": "{\n \"locator\": \"\",\n \"source\": \"\",\n \"text\": \"\",\n \"timestamp\": \"\",\n \"type\": \"\",\n \"url\": \"\",\n \"value\": \"\",\n \"x\": \"\",\n \"y\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: testengine/backend/src/lib/recorder.ts:2188" + } + ] +} \ No newline at end of file diff --git a/qaira-generated/generated/environment.postman_environment.json b/qaira-generated/generated/environment.postman_environment.json new file mode 100644 index 0000000..58c4eb7 --- /dev/null +++ b/qaira-generated/generated/environment.postman_environment.json @@ -0,0 +1,15 @@ +{ + "name": "Generated API Environment", + "values": [ + { + "key": "baseUrl", + "value": "http://localhost:3000", + "type": "default" + }, + { + "key": "authToken", + "value": "", + "type": "secret" + } + ] +} \ No newline at end of file diff --git a/qaira-generated/generated/negative_tests.postman_collection.json b/qaira-generated/generated/negative_tests.postman_collection.json new file mode 100644 index 0000000..5b2e6e7 --- /dev/null +++ b/qaira-generated/generated/negative_tests.postman_collection.json @@ -0,0 +1,8257 @@ +{ + "info": { + "name": "Generated Negative API Tests", + "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" + }, + "variable": [ + { + "key": "baseUrl", + "value": "{{baseUrl}}" + }, + { + "key": "authToken", + "value": "{{authToken}}" + } + ], + "item": [ + { + "name": "NEGATIVE_MISSING_REQUIRED POST /projects/:project_id/knowledge", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/projects/:project_id/knowledge", + "body": { + "mode": "raw", + "raw": "{\n \"asset_type\": \"{{data.asset_type}}\",\n \"content\": \"{{data.content}}\",\n \"content_type\": \"{{data.content_type}}\",\n \"description\": \"{{data.description}}\",\n \"embedding\": \"{{data.embedding}}\",\n \"feature_name\": \"{{data.feature_name}}\",\n \"is_active\": true,\n \"item_status\": \"{{data.item_status}}\",\n \"item_version\": \"{{data.item_version}}\",\n \"linked_test_cases\": \"{{data.linked_test_cases}}\",\n \"metadata\": \"{{data.metadata}}\",\n \"module_name\": \"{{data.module_name}}\",\n \"priority\": \"{{data.priority}}\",\n \"source\": \"{{data.source}}\",\n \"source_uri\": \"{{data.source_uri}}\",\n \"title\": \"{{data.title}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing app_type_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/aiKnowledge.routes.js:12" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /projects/:project_id/knowledge", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/projects/:project_id/knowledge", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"asset_type\": \"{{data.asset_type}}\",\n \"content\": \"{{data.content}}\",\n \"content_type\": \"{{data.content_type}}\",\n \"description\": \"{{data.description}}\",\n \"embedding\": \"{{data.embedding}}\",\n \"feature_name\": \"{{data.feature_name}}\",\n \"is_active\": true,\n \"item_status\": \"{{data.item_status}}\",\n \"item_version\": \"{{data.item_version}}\",\n \"linked_test_cases\": \"{{data.linked_test_cases}}\",\n \"metadata\": \"{{data.metadata}}\",\n \"module_name\": \"{{data.module_name}}\",\n \"priority\": \"{{data.priority}}\",\n \"source\": \"{{data.source}}\",\n \"source_uri\": \"{{data.source_uri}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing title', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/aiKnowledge.routes.js:12" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED PUT /projects/:project_id/knowledge/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/projects/:project_id/knowledge/:id", + "body": { + "mode": "raw", + "raw": "{\n \"asset_type\": \"{{data.asset_type}}\",\n \"content\": \"{{data.content}}\",\n \"content_type\": \"{{data.content_type}}\",\n \"description\": \"{{data.description}}\",\n \"embedding\": \"{{data.embedding}}\",\n \"feature_name\": \"{{data.feature_name}}\",\n \"is_active\": true,\n \"item_status\": \"{{data.item_status}}\",\n \"item_version\": \"{{data.item_version}}\",\n \"linked_test_cases\": \"{{data.linked_test_cases}}\",\n \"metadata\": \"{{data.metadata}}\",\n \"module_name\": \"{{data.module_name}}\",\n \"priority\": \"{{data.priority}}\",\n \"source\": \"{{data.source}}\",\n \"source_uri\": \"{{data.source_uri}}\",\n \"title\": \"{{data.title}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing app_type_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/aiKnowledge.routes.js:19" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED PUT /projects/:project_id/knowledge/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/projects/:project_id/knowledge/:id", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"asset_type\": \"{{data.asset_type}}\",\n \"content\": \"{{data.content}}\",\n \"content_type\": \"{{data.content_type}}\",\n \"description\": \"{{data.description}}\",\n \"embedding\": \"{{data.embedding}}\",\n \"feature_name\": \"{{data.feature_name}}\",\n \"is_active\": true,\n \"item_status\": \"{{data.item_status}}\",\n \"item_version\": \"{{data.item_version}}\",\n \"linked_test_cases\": \"{{data.linked_test_cases}}\",\n \"metadata\": \"{{data.metadata}}\",\n \"module_name\": \"{{data.module_name}}\",\n \"priority\": \"{{data.priority}}\",\n \"source\": \"{{data.source}}\",\n \"source_uri\": \"{{data.source_uri}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing title', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/aiKnowledge.routes.js:19" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /projects/:project_id/knowledge/relations", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/projects/:project_id/knowledge/relations", + "body": { + "mode": "raw", + "raw": "{\n \"metadata\": \"{{data.metadata}}\",\n \"relation_type\": \"{{data.relation_type}}\",\n \"source_type\": \"{{data.source_type}}\",\n \"target_id\": \"{{lastId}}\",\n \"target_type\": \"{{data.target_type}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing source_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/aiKnowledge.routes.js:60" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /projects/:project_id/knowledge/relations", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/projects/:project_id/knowledge/relations", + "body": { + "mode": "raw", + "raw": "{\n \"metadata\": \"{{data.metadata}}\",\n \"relation_type\": \"{{data.relation_type}}\",\n \"source_id\": \"{{lastId}}\",\n \"source_type\": \"{{data.source_type}}\",\n \"target_type\": \"{{data.target_type}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing target_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/aiKnowledge.routes.js:60" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /ai-prompt-templates", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/ai-prompt-templates", + "body": { + "mode": "raw", + "raw": "{\n \"created_by\": \"{{data.created_by}}\",\n \"project_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing app_type_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/aiPromptTemplates.routes.js:43" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /ai-prompt-templates", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/ai-prompt-templates", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"created_by\": \"{{data.created_by}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing project_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/aiPromptTemplates.routes.js:43" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED PUT /ai-prompt-templates/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/ai-prompt-templates/:id" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing app_type_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/aiPromptTemplates.routes.js:71" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /app-types", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/app-types", + "body": { + "mode": "raw", + "raw": "{\n \"is_unified\": true,\n \"project_id\": \"{{lastId}}\",\n \"type\": \"{{data.type}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing name', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/appTypes.routes.js:8" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /app-types", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/app-types", + "body": { + "mode": "raw", + "raw": "{\n \"is_unified\": true,\n \"name\": \"{{data.name}}\",\n \"type\": \"{{data.type}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing project_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/appTypes.routes.js:8" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /app-types", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/app-types", + "body": { + "mode": "raw", + "raw": "{\n \"is_unified\": true,\n \"name\": \"{{data.name}}\",\n \"project_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing type', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/appTypes.routes.js:8" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED PUT /app-types/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/app-types/:id", + "body": { + "mode": "raw", + "raw": "{\n \"is_unified\": true\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing name', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/appTypes.routes.js:50" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /automation-generator/internal/jobs/:id/run", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/automation-generator/internal/jobs/:id/run", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"agent_plan\": \"{{data.agent_plan}}\",\n \"job_id\": \"{{lastId}}\",\n \"llm_model\": \"{{data.llm_model}}\",\n \"start_url\": \"{{data.start_url}}\",\n \"test_case_id\": \"{{lastId}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"test_environment_id\": \"{{lastId}}\",\n \"title\": \"{{data.title}}\",\n \"worker_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing integration_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/automationGenerator.routes.js:21" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /automation-generator/internal/jobs/:id/run", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/automation-generator/internal/jobs/:id/run", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"agent_plan\": \"{{data.agent_plan}}\",\n \"integration_id\": \"{{lastId}}\",\n \"llm_model\": \"{{data.llm_model}}\",\n \"start_url\": \"{{data.start_url}}\",\n \"test_case_id\": \"{{lastId}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"test_environment_id\": \"{{lastId}}\",\n \"title\": \"{{data.title}}\",\n \"worker_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing job_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/automationGenerator.routes.js:21" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /automation-generator/internal/jobs/:id/run", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/automation-generator/internal/jobs/:id/run", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"agent_plan\": \"{{data.agent_plan}}\",\n \"integration_id\": \"{{lastId}}\",\n \"job_id\": \"{{lastId}}\",\n \"llm_model\": \"{{data.llm_model}}\",\n \"start_url\": \"{{data.start_url}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"test_environment_id\": \"{{lastId}}\",\n \"title\": \"{{data.title}}\",\n \"worker_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing test_case_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/automationGenerator.routes.js:21" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /automation-generator/internal/jobs/:id/run", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/automation-generator/internal/jobs/:id/run", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"agent_plan\": \"{{data.agent_plan}}\",\n \"integration_id\": \"{{lastId}}\",\n \"job_id\": \"{{lastId}}\",\n \"llm_model\": \"{{data.llm_model}}\",\n \"start_url\": \"{{data.start_url}}\",\n \"test_case_id\": \"{{lastId}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"test_environment_id\": \"{{lastId}}\",\n \"title\": \"{{data.title}}\",\n \"worker_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing test_configuration_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/automationGenerator.routes.js:21" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /automation-generator/internal/jobs/:id/run", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/automation-generator/internal/jobs/:id/run", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"agent_plan\": \"{{data.agent_plan}}\",\n \"integration_id\": \"{{lastId}}\",\n \"job_id\": \"{{lastId}}\",\n \"llm_model\": \"{{data.llm_model}}\",\n \"start_url\": \"{{data.start_url}}\",\n \"test_case_id\": \"{{lastId}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_environment_id\": \"{{lastId}}\",\n \"title\": \"{{data.title}}\",\n \"worker_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing test_data_set_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/automationGenerator.routes.js:21" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /automation-generator/internal/jobs/:id/run", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/automation-generator/internal/jobs/:id/run", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"agent_plan\": \"{{data.agent_plan}}\",\n \"integration_id\": \"{{lastId}}\",\n \"job_id\": \"{{lastId}}\",\n \"llm_model\": \"{{data.llm_model}}\",\n \"start_url\": \"{{data.start_url}}\",\n \"test_case_id\": \"{{lastId}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"title\": \"{{data.title}}\",\n \"worker_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing test_environment_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/automationGenerator.routes.js:21" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /automation-generator/internal/jobs/:id/run", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/automation-generator/internal/jobs/:id/run", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"agent_plan\": \"{{data.agent_plan}}\",\n \"integration_id\": \"{{lastId}}\",\n \"job_id\": \"{{lastId}}\",\n \"llm_model\": \"{{data.llm_model}}\",\n \"start_url\": \"{{data.start_url}}\",\n \"test_case_id\": \"{{lastId}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"test_environment_id\": \"{{lastId}}\",\n \"worker_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing title', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/automationGenerator.routes.js:21" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /automation-generator/internal/jobs/:id/run", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/automation-generator/internal/jobs/:id/run", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"agent_plan\": \"{{data.agent_plan}}\",\n \"integration_id\": \"{{lastId}}\",\n \"job_id\": \"{{lastId}}\",\n \"llm_model\": \"{{data.llm_model}}\",\n \"start_url\": \"{{data.start_url}}\",\n \"test_case_id\": \"{{lastId}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"test_environment_id\": \"{{lastId}}\",\n \"title\": \"{{data.title}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing worker_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/automationGenerator.routes.js:21" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /api/engine/runs/claim", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/api/engine/runs/claim" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing engine_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/engine.routes.js:4" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /api/engine/runs/:runId/heartbeat", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/api/engine/runs/:runId/heartbeat", + "body": { + "mode": "raw", + "raw": "{\n \"heartbeat_at\": \"{{data.heartbeat_at}}\",\n \"leased_by\": \"{{data.leased_by}}\",\n \"updated_at\": \"{{data.updated_at}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing engine_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/engine.routes.js:25" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /execution-results", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/execution-results", + "body": { + "mode": "raw", + "raw": "{\n \"defects\": \"{{data.defects}}\",\n \"duration_ms\": \"{{data.duration_ms}}\",\n \"error\": \"{{data.error}}\",\n \"executed_by\": \"{{data.executed_by}}\",\n \"execution_id\": \"{{lastId}}\",\n \"external_references\": \"{{data.external_references}}\",\n \"logs\": \"{{data.logs}}\",\n \"status\": \"{{data.status}}\",\n \"suite_id\": \"{{lastId}}\",\n \"suite_name\": \"{{data.suite_name}}\",\n \"test_case_id\": \"{{lastId}}\",\n \"test_case_title\": \"{{data.test_case_title}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing app_type_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executionResults.routes.js:7" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /execution-results", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/execution-results", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"defects\": \"{{data.defects}}\",\n \"duration_ms\": \"{{data.duration_ms}}\",\n \"error\": \"{{data.error}}\",\n \"executed_by\": \"{{data.executed_by}}\",\n \"external_references\": \"{{data.external_references}}\",\n \"logs\": \"{{data.logs}}\",\n \"status\": \"{{data.status}}\",\n \"suite_id\": \"{{lastId}}\",\n \"suite_name\": \"{{data.suite_name}}\",\n \"test_case_id\": \"{{lastId}}\",\n \"test_case_title\": \"{{data.test_case_title}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing execution_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executionResults.routes.js:7" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /execution-results", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/execution-results", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"defects\": \"{{data.defects}}\",\n \"duration_ms\": \"{{data.duration_ms}}\",\n \"error\": \"{{data.error}}\",\n \"executed_by\": \"{{data.executed_by}}\",\n \"execution_id\": \"{{lastId}}\",\n \"external_references\": \"{{data.external_references}}\",\n \"logs\": \"{{data.logs}}\",\n \"suite_id\": \"{{lastId}}\",\n \"suite_name\": \"{{data.suite_name}}\",\n \"test_case_id\": \"{{lastId}}\",\n \"test_case_title\": \"{{data.test_case_title}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing status', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executionResults.routes.js:7" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /execution-results", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/execution-results", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"defects\": \"{{data.defects}}\",\n \"duration_ms\": \"{{data.duration_ms}}\",\n \"error\": \"{{data.error}}\",\n \"executed_by\": \"{{data.executed_by}}\",\n \"execution_id\": \"{{lastId}}\",\n \"external_references\": \"{{data.external_references}}\",\n \"logs\": \"{{data.logs}}\",\n \"status\": \"{{data.status}}\",\n \"suite_name\": \"{{data.suite_name}}\",\n \"test_case_id\": \"{{lastId}}\",\n \"test_case_title\": \"{{data.test_case_title}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing suite_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executionResults.routes.js:7" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /execution-results", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/execution-results", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"defects\": \"{{data.defects}}\",\n \"duration_ms\": \"{{data.duration_ms}}\",\n \"error\": \"{{data.error}}\",\n \"executed_by\": \"{{data.executed_by}}\",\n \"execution_id\": \"{{lastId}}\",\n \"external_references\": \"{{data.external_references}}\",\n \"logs\": \"{{data.logs}}\",\n \"status\": \"{{data.status}}\",\n \"suite_id\": \"{{lastId}}\",\n \"suite_name\": \"{{data.suite_name}}\",\n \"test_case_title\": \"{{data.test_case_title}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing test_case_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executionResults.routes.js:7" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED PUT /execution-results/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/execution-results/:id", + "body": { + "mode": "raw", + "raw": "{\n \"defects\": \"{{data.defects}}\",\n \"duration_ms\": \"{{data.duration_ms}}\",\n \"error\": \"{{data.error}}\",\n \"executed_by\": \"{{data.executed_by}}\",\n \"external_references\": \"{{data.external_references}}\",\n \"logs\": \"{{data.logs}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing status', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executionResults.routes.js:49" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /execution-schedules", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/execution-schedules", + "body": { + "mode": "raw", + "raw": "{\n \"assigned_to\": \"{{data.assigned_to}}\",\n \"cadence\": \"{{data.cadence}}\",\n \"created_by\": \"{{data.created_by}}\",\n \"is_active\": true,\n \"name\": \"{{data.name}}\",\n \"next_run_at\": \"{{data.next_run_at}}\",\n \"project_id\": \"{{lastId}}\",\n \"suite_ids\": \"{{data.suite_ids}}\",\n \"test_case_ids\": \"{{data.test_case_ids}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"test_environment_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing app_type_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executionSchedules.routes.js:5" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /execution-schedules", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/execution-schedules", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"assigned_to\": \"{{data.assigned_to}}\",\n \"cadence\": \"{{data.cadence}}\",\n \"created_by\": \"{{data.created_by}}\",\n \"is_active\": true,\n \"next_run_at\": \"{{data.next_run_at}}\",\n \"project_id\": \"{{lastId}}\",\n \"suite_ids\": \"{{data.suite_ids}}\",\n \"test_case_ids\": \"{{data.test_case_ids}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"test_environment_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing name', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executionSchedules.routes.js:5" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /execution-schedules", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/execution-schedules", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"assigned_to\": \"{{data.assigned_to}}\",\n \"cadence\": \"{{data.cadence}}\",\n \"created_by\": \"{{data.created_by}}\",\n \"is_active\": true,\n \"name\": \"{{data.name}}\",\n \"next_run_at\": \"{{data.next_run_at}}\",\n \"suite_ids\": \"{{data.suite_ids}}\",\n \"test_case_ids\": \"{{data.test_case_ids}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"test_environment_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing project_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executionSchedules.routes.js:5" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /execution-schedules", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/execution-schedules", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"assigned_to\": \"{{data.assigned_to}}\",\n \"cadence\": \"{{data.cadence}}\",\n \"created_by\": \"{{data.created_by}}\",\n \"is_active\": true,\n \"name\": \"{{data.name}}\",\n \"next_run_at\": \"{{data.next_run_at}}\",\n \"project_id\": \"{{lastId}}\",\n \"suite_ids\": \"{{data.suite_ids}}\",\n \"test_case_ids\": \"{{data.test_case_ids}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"test_environment_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing test_configuration_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executionSchedules.routes.js:5" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /execution-schedules", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/execution-schedules", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"assigned_to\": \"{{data.assigned_to}}\",\n \"cadence\": \"{{data.cadence}}\",\n \"created_by\": \"{{data.created_by}}\",\n \"is_active\": true,\n \"name\": \"{{data.name}}\",\n \"next_run_at\": \"{{data.next_run_at}}\",\n \"project_id\": \"{{lastId}}\",\n \"suite_ids\": \"{{data.suite_ids}}\",\n \"test_case_ids\": \"{{data.test_case_ids}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_environment_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing test_data_set_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executionSchedules.routes.js:5" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /execution-schedules", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/execution-schedules", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"assigned_to\": \"{{data.assigned_to}}\",\n \"cadence\": \"{{data.cadence}}\",\n \"created_by\": \"{{data.created_by}}\",\n \"is_active\": true,\n \"name\": \"{{data.name}}\",\n \"next_run_at\": \"{{data.next_run_at}}\",\n \"project_id\": \"{{lastId}}\",\n \"suite_ids\": \"{{data.suite_ids}}\",\n \"test_case_ids\": \"{{data.test_case_ids}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_data_set_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing test_environment_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executionSchedules.routes.js:5" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED PUT /execution-schedules/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/execution-schedules/:id", + "body": { + "mode": "raw", + "raw": "{\n \"assigned_to\": \"{{data.assigned_to}}\",\n \"cadence\": \"{{data.cadence}}\",\n \"name\": \"{{data.name}}\",\n \"next_run_at\": \"{{data.next_run_at}}\",\n \"project_id\": \"{{lastId}}\",\n \"suite_ids\": \"{{data.suite_ids}}\",\n \"test_case_ids\": \"{{data.test_case_ids}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"test_environment_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing app_type_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executionSchedules.routes.js:51" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED PUT /execution-schedules/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/execution-schedules/:id", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"assigned_to\": \"{{data.assigned_to}}\",\n \"cadence\": \"{{data.cadence}}\",\n \"next_run_at\": \"{{data.next_run_at}}\",\n \"project_id\": \"{{lastId}}\",\n \"suite_ids\": \"{{data.suite_ids}}\",\n \"test_case_ids\": \"{{data.test_case_ids}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"test_environment_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing name', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executionSchedules.routes.js:51" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED PUT /execution-schedules/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/execution-schedules/:id", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"assigned_to\": \"{{data.assigned_to}}\",\n \"cadence\": \"{{data.cadence}}\",\n \"name\": \"{{data.name}}\",\n \"next_run_at\": \"{{data.next_run_at}}\",\n \"suite_ids\": \"{{data.suite_ids}}\",\n \"test_case_ids\": \"{{data.test_case_ids}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"test_environment_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing project_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executionSchedules.routes.js:51" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED PUT /execution-schedules/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/execution-schedules/:id", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"assigned_to\": \"{{data.assigned_to}}\",\n \"cadence\": \"{{data.cadence}}\",\n \"name\": \"{{data.name}}\",\n \"next_run_at\": \"{{data.next_run_at}}\",\n \"project_id\": \"{{lastId}}\",\n \"suite_ids\": \"{{data.suite_ids}}\",\n \"test_case_ids\": \"{{data.test_case_ids}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"test_environment_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing test_configuration_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executionSchedules.routes.js:51" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED PUT /execution-schedules/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/execution-schedules/:id", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"assigned_to\": \"{{data.assigned_to}}\",\n \"cadence\": \"{{data.cadence}}\",\n \"name\": \"{{data.name}}\",\n \"next_run_at\": \"{{data.next_run_at}}\",\n \"project_id\": \"{{lastId}}\",\n \"suite_ids\": \"{{data.suite_ids}}\",\n \"test_case_ids\": \"{{data.test_case_ids}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_environment_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing test_data_set_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executionSchedules.routes.js:51" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED PUT /execution-schedules/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/execution-schedules/:id", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"assigned_to\": \"{{data.assigned_to}}\",\n \"cadence\": \"{{data.cadence}}\",\n \"name\": \"{{data.name}}\",\n \"next_run_at\": \"{{data.next_run_at}}\",\n \"project_id\": \"{{lastId}}\",\n \"suite_ids\": \"{{data.suite_ids}}\",\n \"test_case_ids\": \"{{data.test_case_ids}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_data_set_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing test_environment_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executionSchedules.routes.js:51" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /executions/smart-plan-preview", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions/smart-plan-preview", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"appType\": \"{{data.appType}}\",\n \"cases\": \"{{data.cases}}\",\n \"impacted_requirement_ids\": \"{{data.impacted_requirement_ids}}\",\n \"integration_id\": \"{{lastId}}\",\n \"project_id\": \"{{lastId}}\",\n \"release_scope\": \"{{data.release_scope}}\",\n \"testCases\": \"{{data.testCases}}\",\n \"test_cases\": \"{{data.test_cases}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"test_environment_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing app_type_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:11" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /executions/smart-plan-preview", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions/smart-plan-preview", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"appType\": \"{{data.appType}}\",\n \"app_type_id\": \"{{lastId}}\",\n \"cases\": \"{{data.cases}}\",\n \"impacted_requirement_ids\": \"{{data.impacted_requirement_ids}}\",\n \"project_id\": \"{{lastId}}\",\n \"release_scope\": \"{{data.release_scope}}\",\n \"testCases\": \"{{data.testCases}}\",\n \"test_cases\": \"{{data.test_cases}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"test_environment_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing integration_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:11" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /executions/smart-plan-preview", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions/smart-plan-preview", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"appType\": \"{{data.appType}}\",\n \"app_type_id\": \"{{lastId}}\",\n \"cases\": \"{{data.cases}}\",\n \"impacted_requirement_ids\": \"{{data.impacted_requirement_ids}}\",\n \"integration_id\": \"{{lastId}}\",\n \"release_scope\": \"{{data.release_scope}}\",\n \"testCases\": \"{{data.testCases}}\",\n \"test_cases\": \"{{data.test_cases}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"test_environment_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing project_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:11" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /executions/smart-plan-preview", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions/smart-plan-preview", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"appType\": \"{{data.appType}}\",\n \"app_type_id\": \"{{lastId}}\",\n \"cases\": \"{{data.cases}}\",\n \"impacted_requirement_ids\": \"{{data.impacted_requirement_ids}}\",\n \"integration_id\": \"{{lastId}}\",\n \"project_id\": \"{{lastId}}\",\n \"release_scope\": \"{{data.release_scope}}\",\n \"testCases\": \"{{data.testCases}}\",\n \"test_cases\": \"{{data.test_cases}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"test_environment_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing test_configuration_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:11" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /executions/smart-plan-preview", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions/smart-plan-preview", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"appType\": \"{{data.appType}}\",\n \"app_type_id\": \"{{lastId}}\",\n \"cases\": \"{{data.cases}}\",\n \"impacted_requirement_ids\": \"{{data.impacted_requirement_ids}}\",\n \"integration_id\": \"{{lastId}}\",\n \"project_id\": \"{{lastId}}\",\n \"release_scope\": \"{{data.release_scope}}\",\n \"testCases\": \"{{data.testCases}}\",\n \"test_cases\": \"{{data.test_cases}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_environment_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing test_data_set_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:11" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /executions/smart-plan-preview", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions/smart-plan-preview", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"appType\": \"{{data.appType}}\",\n \"app_type_id\": \"{{lastId}}\",\n \"cases\": \"{{data.cases}}\",\n \"impacted_requirement_ids\": \"{{data.impacted_requirement_ids}}\",\n \"integration_id\": \"{{lastId}}\",\n \"project_id\": \"{{lastId}}\",\n \"release_scope\": \"{{data.release_scope}}\",\n \"testCases\": \"{{data.testCases}}\",\n \"test_cases\": \"{{data.test_cases}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_data_set_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing test_environment_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:11" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /executions/manual-run-suggestion", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions/manual-run-suggestion", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"integration_id\": \"{{lastId}}\",\n \"project_id\": \"{{lastId}}\",\n \"selected_suite_ids\": \"{{data.selected_suite_ids}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"test_environment_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing app_type_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:46" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /executions/manual-run-suggestion", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions/manual-run-suggestion", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"app_type_id\": \"{{lastId}}\",\n \"project_id\": \"{{lastId}}\",\n \"selected_suite_ids\": \"{{data.selected_suite_ids}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"test_environment_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing integration_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:46" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /executions/manual-run-suggestion", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions/manual-run-suggestion", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"app_type_id\": \"{{lastId}}\",\n \"integration_id\": \"{{lastId}}\",\n \"selected_suite_ids\": \"{{data.selected_suite_ids}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"test_environment_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing project_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:46" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /executions/manual-run-suggestion", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions/manual-run-suggestion", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"app_type_id\": \"{{lastId}}\",\n \"integration_id\": \"{{lastId}}\",\n \"project_id\": \"{{lastId}}\",\n \"selected_suite_ids\": \"{{data.selected_suite_ids}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"test_environment_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing test_configuration_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:46" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /executions/manual-run-suggestion", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions/manual-run-suggestion", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"app_type_id\": \"{{lastId}}\",\n \"integration_id\": \"{{lastId}}\",\n \"project_id\": \"{{lastId}}\",\n \"selected_suite_ids\": \"{{data.selected_suite_ids}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_environment_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing test_data_set_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:46" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /executions/manual-run-suggestion", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions/manual-run-suggestion", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"app_type_id\": \"{{lastId}}\",\n \"integration_id\": \"{{lastId}}\",\n \"project_id\": \"{{lastId}}\",\n \"selected_suite_ids\": \"{{data.selected_suite_ids}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_data_set_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing test_environment_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:46" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /executions", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions", + "body": { + "mode": "raw", + "raw": "{\n \"assigned_to\": \"{{data.assigned_to}}\",\n \"created_by\": \"{{data.created_by}}\",\n \"execution_hooks\": \"{{data.execution_hooks}}\",\n \"name\": \"{{data.name}}\",\n \"parallel_count\": 1,\n \"parallel_enabled\": \"{{data.parallel_enabled}}\",\n \"project_id\": \"{{lastId}}\",\n \"status\": \"{{data.status}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_configuration_name\": \"{{data.test_configuration_name}}\",\n \"test_configuration_snapshot\": \"{{data.test_configuration_snapshot}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"test_data_set_name\": \"{{data.test_data_set_name}}\",\n \"test_data_set_snapshot\": \"{{data.test_data_set_snapshot}}\",\n \"test_environment_id\": \"{{lastId}}\",\n \"test_environment_name\": \"{{data.test_environment_name}}\",\n \"test_environment_snapshot\": \"{{data.test_environment_snapshot}}\",\n \"trigger\": \"{{data.trigger}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing app_type_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:80" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /executions", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"assigned_to\": \"{{data.assigned_to}}\",\n \"created_by\": \"{{data.created_by}}\",\n \"execution_hooks\": \"{{data.execution_hooks}}\",\n \"parallel_count\": 1,\n \"parallel_enabled\": \"{{data.parallel_enabled}}\",\n \"project_id\": \"{{lastId}}\",\n \"status\": \"{{data.status}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_configuration_name\": \"{{data.test_configuration_name}}\",\n \"test_configuration_snapshot\": \"{{data.test_configuration_snapshot}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"test_data_set_name\": \"{{data.test_data_set_name}}\",\n \"test_data_set_snapshot\": \"{{data.test_data_set_snapshot}}\",\n \"test_environment_id\": \"{{lastId}}\",\n \"test_environment_name\": \"{{data.test_environment_name}}\",\n \"test_environment_snapshot\": \"{{data.test_environment_snapshot}}\",\n \"trigger\": \"{{data.trigger}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing name', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:80" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /executions", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"assigned_to\": \"{{data.assigned_to}}\",\n \"created_by\": \"{{data.created_by}}\",\n \"execution_hooks\": \"{{data.execution_hooks}}\",\n \"name\": \"{{data.name}}\",\n \"parallel_count\": 1,\n \"parallel_enabled\": \"{{data.parallel_enabled}}\",\n \"status\": \"{{data.status}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_configuration_name\": \"{{data.test_configuration_name}}\",\n \"test_configuration_snapshot\": \"{{data.test_configuration_snapshot}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"test_data_set_name\": \"{{data.test_data_set_name}}\",\n \"test_data_set_snapshot\": \"{{data.test_data_set_snapshot}}\",\n \"test_environment_id\": \"{{lastId}}\",\n \"test_environment_name\": \"{{data.test_environment_name}}\",\n \"test_environment_snapshot\": \"{{data.test_environment_snapshot}}\",\n \"trigger\": \"{{data.trigger}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing project_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:80" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /executions", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"assigned_to\": \"{{data.assigned_to}}\",\n \"created_by\": \"{{data.created_by}}\",\n \"execution_hooks\": \"{{data.execution_hooks}}\",\n \"name\": \"{{data.name}}\",\n \"parallel_count\": 1,\n \"parallel_enabled\": \"{{data.parallel_enabled}}\",\n \"project_id\": \"{{lastId}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_configuration_name\": \"{{data.test_configuration_name}}\",\n \"test_configuration_snapshot\": \"{{data.test_configuration_snapshot}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"test_data_set_name\": \"{{data.test_data_set_name}}\",\n \"test_data_set_snapshot\": \"{{data.test_data_set_snapshot}}\",\n \"test_environment_id\": \"{{lastId}}\",\n \"test_environment_name\": \"{{data.test_environment_name}}\",\n \"test_environment_snapshot\": \"{{data.test_environment_snapshot}}\",\n \"trigger\": \"{{data.trigger}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing status', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:80" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /executions", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"assigned_to\": \"{{data.assigned_to}}\",\n \"created_by\": \"{{data.created_by}}\",\n \"execution_hooks\": \"{{data.execution_hooks}}\",\n \"name\": \"{{data.name}}\",\n \"parallel_count\": 1,\n \"parallel_enabled\": \"{{data.parallel_enabled}}\",\n \"project_id\": \"{{lastId}}\",\n \"status\": \"{{data.status}}\",\n \"test_configuration_name\": \"{{data.test_configuration_name}}\",\n \"test_configuration_snapshot\": \"{{data.test_configuration_snapshot}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"test_data_set_name\": \"{{data.test_data_set_name}}\",\n \"test_data_set_snapshot\": \"{{data.test_data_set_snapshot}}\",\n \"test_environment_id\": \"{{lastId}}\",\n \"test_environment_name\": \"{{data.test_environment_name}}\",\n \"test_environment_snapshot\": \"{{data.test_environment_snapshot}}\",\n \"trigger\": \"{{data.trigger}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing test_configuration_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:80" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /executions", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"assigned_to\": \"{{data.assigned_to}}\",\n \"created_by\": \"{{data.created_by}}\",\n \"execution_hooks\": \"{{data.execution_hooks}}\",\n \"name\": \"{{data.name}}\",\n \"parallel_count\": 1,\n \"parallel_enabled\": \"{{data.parallel_enabled}}\",\n \"project_id\": \"{{lastId}}\",\n \"status\": \"{{data.status}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_configuration_name\": \"{{data.test_configuration_name}}\",\n \"test_configuration_snapshot\": \"{{data.test_configuration_snapshot}}\",\n \"test_data_set_name\": \"{{data.test_data_set_name}}\",\n \"test_data_set_snapshot\": \"{{data.test_data_set_snapshot}}\",\n \"test_environment_id\": \"{{lastId}}\",\n \"test_environment_name\": \"{{data.test_environment_name}}\",\n \"test_environment_snapshot\": \"{{data.test_environment_snapshot}}\",\n \"trigger\": \"{{data.trigger}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing test_data_set_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:80" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /executions", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"assigned_to\": \"{{data.assigned_to}}\",\n \"created_by\": \"{{data.created_by}}\",\n \"execution_hooks\": \"{{data.execution_hooks}}\",\n \"name\": \"{{data.name}}\",\n \"parallel_count\": 1,\n \"parallel_enabled\": \"{{data.parallel_enabled}}\",\n \"project_id\": \"{{lastId}}\",\n \"status\": \"{{data.status}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_configuration_name\": \"{{data.test_configuration_name}}\",\n \"test_configuration_snapshot\": \"{{data.test_configuration_snapshot}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"test_data_set_name\": \"{{data.test_data_set_name}}\",\n \"test_data_set_snapshot\": \"{{data.test_data_set_snapshot}}\",\n \"test_environment_name\": \"{{data.test_environment_name}}\",\n \"test_environment_snapshot\": \"{{data.test_environment_snapshot}}\",\n \"trigger\": \"{{data.trigger}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing test_environment_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:80" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /executions/local-run", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions/local-run", + "body": { + "mode": "raw", + "raw": "{\n \"created_by\": \"{{data.created_by}}\",\n \"ended_at\": \"{{data.ended_at}}\",\n \"engine_base_url\": \"{{data.engine_base_url}}\",\n \"project_id\": \"{{lastId}}\",\n \"status\": \"{{data.status}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing name', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:107" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /executions/local-run", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions/local-run", + "body": { + "mode": "raw", + "raw": "{\n \"created_by\": \"{{data.created_by}}\",\n \"ended_at\": \"{{data.ended_at}}\",\n \"engine_base_url\": \"{{data.engine_base_url}}\",\n \"name\": \"{{data.name}}\",\n \"status\": \"{{data.status}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing project_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:107" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /executions/local-run", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions/local-run", + "body": { + "mode": "raw", + "raw": "{\n \"created_by\": \"{{data.created_by}}\",\n \"ended_at\": \"{{data.ended_at}}\",\n \"engine_base_url\": \"{{data.engine_base_url}}\",\n \"name\": \"{{data.name}}\",\n \"project_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing status', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:107" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /executions/:id/rerun", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions/:id/rerun", + "body": { + "mode": "raw", + "raw": "{\n \"assigned_to\": \"{{data.assigned_to}}\",\n \"created_by\": \"{{data.created_by}}\",\n \"name\": \"{{data.name}}\",\n \"project_id\": \"{{lastId}}\",\n \"status\": \"{{data.status}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_configuration_name\": \"{{data.test_configuration_name}}\",\n \"test_configuration_snapshot\": \"{{data.test_configuration_snapshot}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"test_data_set_name\": \"{{data.test_data_set_name}}\",\n \"test_data_set_snapshot\": \"{{data.test_data_set_snapshot}}\",\n \"test_environment_id\": \"{{lastId}}\",\n \"test_environment_name\": \"{{data.test_environment_name}}\",\n \"test_environment_snapshot\": \"{{data.test_environment_snapshot}}\",\n \"trigger\": \"{{data.trigger}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing app_type_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:191" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /executions/:id/rerun", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions/:id/rerun", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"assigned_to\": \"{{data.assigned_to}}\",\n \"created_by\": \"{{data.created_by}}\",\n \"project_id\": \"{{lastId}}\",\n \"status\": \"{{data.status}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_configuration_name\": \"{{data.test_configuration_name}}\",\n \"test_configuration_snapshot\": \"{{data.test_configuration_snapshot}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"test_data_set_name\": \"{{data.test_data_set_name}}\",\n \"test_data_set_snapshot\": \"{{data.test_data_set_snapshot}}\",\n \"test_environment_id\": \"{{lastId}}\",\n \"test_environment_name\": \"{{data.test_environment_name}}\",\n \"test_environment_snapshot\": \"{{data.test_environment_snapshot}}\",\n \"trigger\": \"{{data.trigger}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing name', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:191" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /executions/:id/rerun", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions/:id/rerun", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"assigned_to\": \"{{data.assigned_to}}\",\n \"created_by\": \"{{data.created_by}}\",\n \"name\": \"{{data.name}}\",\n \"status\": \"{{data.status}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_configuration_name\": \"{{data.test_configuration_name}}\",\n \"test_configuration_snapshot\": \"{{data.test_configuration_snapshot}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"test_data_set_name\": \"{{data.test_data_set_name}}\",\n \"test_data_set_snapshot\": \"{{data.test_data_set_snapshot}}\",\n \"test_environment_id\": \"{{lastId}}\",\n \"test_environment_name\": \"{{data.test_environment_name}}\",\n \"test_environment_snapshot\": \"{{data.test_environment_snapshot}}\",\n \"trigger\": \"{{data.trigger}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing project_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:191" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /executions/:id/rerun", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions/:id/rerun", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"assigned_to\": \"{{data.assigned_to}}\",\n \"created_by\": \"{{data.created_by}}\",\n \"name\": \"{{data.name}}\",\n \"project_id\": \"{{lastId}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_configuration_name\": \"{{data.test_configuration_name}}\",\n \"test_configuration_snapshot\": \"{{data.test_configuration_snapshot}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"test_data_set_name\": \"{{data.test_data_set_name}}\",\n \"test_data_set_snapshot\": \"{{data.test_data_set_snapshot}}\",\n \"test_environment_id\": \"{{lastId}}\",\n \"test_environment_name\": \"{{data.test_environment_name}}\",\n \"test_environment_snapshot\": \"{{data.test_environment_snapshot}}\",\n \"trigger\": \"{{data.trigger}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing status', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:191" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /executions/:id/rerun", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions/:id/rerun", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"assigned_to\": \"{{data.assigned_to}}\",\n \"created_by\": \"{{data.created_by}}\",\n \"name\": \"{{data.name}}\",\n \"project_id\": \"{{lastId}}\",\n \"status\": \"{{data.status}}\",\n \"test_configuration_name\": \"{{data.test_configuration_name}}\",\n \"test_configuration_snapshot\": \"{{data.test_configuration_snapshot}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"test_data_set_name\": \"{{data.test_data_set_name}}\",\n \"test_data_set_snapshot\": \"{{data.test_data_set_snapshot}}\",\n \"test_environment_id\": \"{{lastId}}\",\n \"test_environment_name\": \"{{data.test_environment_name}}\",\n \"test_environment_snapshot\": \"{{data.test_environment_snapshot}}\",\n \"trigger\": \"{{data.trigger}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing test_configuration_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:191" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /executions/:id/rerun", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions/:id/rerun", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"assigned_to\": \"{{data.assigned_to}}\",\n \"created_by\": \"{{data.created_by}}\",\n \"name\": \"{{data.name}}\",\n \"project_id\": \"{{lastId}}\",\n \"status\": \"{{data.status}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_configuration_name\": \"{{data.test_configuration_name}}\",\n \"test_configuration_snapshot\": \"{{data.test_configuration_snapshot}}\",\n \"test_data_set_name\": \"{{data.test_data_set_name}}\",\n \"test_data_set_snapshot\": \"{{data.test_data_set_snapshot}}\",\n \"test_environment_id\": \"{{lastId}}\",\n \"test_environment_name\": \"{{data.test_environment_name}}\",\n \"test_environment_snapshot\": \"{{data.test_environment_snapshot}}\",\n \"trigger\": \"{{data.trigger}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing test_data_set_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:191" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /executions/:id/rerun", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions/:id/rerun", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"assigned_to\": \"{{data.assigned_to}}\",\n \"created_by\": \"{{data.created_by}}\",\n \"name\": \"{{data.name}}\",\n \"project_id\": \"{{lastId}}\",\n \"status\": \"{{data.status}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_configuration_name\": \"{{data.test_configuration_name}}\",\n \"test_configuration_snapshot\": \"{{data.test_configuration_snapshot}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"test_data_set_name\": \"{{data.test_data_set_name}}\",\n \"test_data_set_snapshot\": \"{{data.test_data_set_snapshot}}\",\n \"test_environment_name\": \"{{data.test_environment_name}}\",\n \"test_environment_snapshot\": \"{{data.test_environment_snapshot}}\",\n \"trigger\": \"{{data.trigger}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing test_environment_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:191" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /executions/:id/start", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions/:id/start", + "body": { + "mode": "raw", + "raw": "{\n \"engine_base_url\": \"{{data.engine_base_url}}\",\n \"execution_mode\": \"{{data.execution_mode}}\",\n \"initiated_by\": \"{{data.initiated_by}}\",\n \"skip_testengine_dispatch\": \"{{data.skip_testengine_dispatch}}\",\n \"started_at\": \"{{data.started_at}}\",\n \"trigger\": \"{{data.trigger}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing status', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:208" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /executions/:id/cases/:testCaseId/ai-analysis", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions/:id/cases/:testCaseId/ai-analysis", + "body": { + "mode": "raw", + "raw": "{\n \"execution\": \"{{data.execution}}\",\n \"requestedBy\": \"{{data.requestedBy}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing testCaseId', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:231" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /executions/:id/share-report", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions/:id/share-report", + "body": { + "mode": "raw", + "raw": "{\n \"recipients\": \"{{data.recipients}}\",\n \"requested_by\": \"{{data.requested_by}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing execution_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:273" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /executions/:id/complete", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions/:id/complete", + "body": { + "mode": "raw", + "raw": "{\n \"ended_at\": \"{{data.ended_at}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing status', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:292" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /feedback", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/feedback", + "body": { + "mode": "raw", + "raw": "{\n \"message\": \"{{data.message}}\",\n \"title\": \"{{data.title}}\",\n \"user_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing status', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/feedback.routes.js:5" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /feedback", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/feedback", + "body": { + "mode": "raw", + "raw": "{\n \"message\": \"{{data.message}}\",\n \"status\": \"{{data.status}}\",\n \"user_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing title', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/feedback.routes.js:5" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /feedback", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/feedback", + "body": { + "mode": "raw", + "raw": "{\n \"message\": \"{{data.message}}\",\n \"status\": \"{{data.status}}\",\n \"title\": \"{{data.title}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing user_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/feedback.routes.js:5" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED PUT /feedback/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/feedback/:id", + "body": { + "mode": "raw", + "raw": "{\n \"message\": \"{{data.message}}\",\n \"title\": \"{{data.title}}\",\n \"user_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing status', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/feedback.routes.js:28" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED PUT /feedback/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/feedback/:id", + "body": { + "mode": "raw", + "raw": "{\n \"message\": \"{{data.message}}\",\n \"status\": \"{{data.status}}\",\n \"user_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing title', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/feedback.routes.js:28" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED PUT /feedback/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/feedback/:id", + "body": { + "mode": "raw", + "raw": "{\n \"message\": \"{{data.message}}\",\n \"status\": \"{{data.status}}\",\n \"title\": \"{{data.title}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing user_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/feedback.routes.js:28" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /integrations", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/integrations", + "body": { + "mode": "raw", + "raw": "{\n \"api_key\": \"{{data.api_key}}\",\n \"base_url\": \"{{data.base_url}}\",\n \"config\": \"{{data.config}}\",\n \"is_active\": true,\n \"model\": \"{{data.model}}\",\n \"project_key\": \"{{data.project_key}}\",\n \"type\": \"{{data.type}}\",\n \"updated_at\": \"{{data.updated_at}}\",\n \"username\": \"{{data.username}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing name', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/integrations.routes.js:130" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /integrations", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/integrations", + "body": { + "mode": "raw", + "raw": "{\n \"api_key\": \"{{data.api_key}}\",\n \"base_url\": \"{{data.base_url}}\",\n \"config\": \"{{data.config}}\",\n \"is_active\": true,\n \"model\": \"{{data.model}}\",\n \"name\": \"{{data.name}}\",\n \"project_key\": \"{{data.project_key}}\",\n \"updated_at\": \"{{data.updated_at}}\",\n \"username\": \"{{data.username}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing type', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/integrations.routes.js:130" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /integrations", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/integrations", + "body": { + "mode": "raw", + "raw": "{\n \"api_key\": \"{{data.api_key}}\",\n \"base_url\": \"{{data.base_url}}\",\n \"config\": \"{{data.config}}\",\n \"is_active\": true,\n \"model\": \"{{data.model}}\",\n \"name\": \"{{data.name}}\",\n \"project_key\": \"{{data.project_key}}\",\n \"type\": \"{{data.type}}\",\n \"updated_at\": \"{{data.updated_at}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing username', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/integrations.routes.js:130" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /integrations/test-connection", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/integrations/test-connection", + "body": { + "mode": "raw", + "raw": "{\n \"api_key\": \"{{data.api_key}}\",\n \"base_url\": \"{{data.base_url}}\",\n \"config\": \"{{data.config}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing type', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/integrations.routes.js:164" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED PUT /integrations/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/integrations/:id", + "body": { + "mode": "raw", + "raw": "{\n \"api_key\": \"{{data.api_key}}\",\n \"base_url\": \"{{data.base_url}}\",\n \"config\": \"{{data.config}}\",\n \"is_active\": true,\n \"model\": \"{{data.model}}\",\n \"project_key\": \"{{data.project_key}}\",\n \"type\": \"{{data.type}}\",\n \"updated_at\": \"{{data.updated_at}}\",\n \"username\": \"{{data.username}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing name', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/integrations.routes.js:190" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED PUT /integrations/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/integrations/:id", + "body": { + "mode": "raw", + "raw": "{\n \"api_key\": \"{{data.api_key}}\",\n \"base_url\": \"{{data.base_url}}\",\n \"config\": \"{{data.config}}\",\n \"is_active\": true,\n \"model\": \"{{data.model}}\",\n \"name\": \"{{data.name}}\",\n \"project_key\": \"{{data.project_key}}\",\n \"updated_at\": \"{{data.updated_at}}\",\n \"username\": \"{{data.username}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing type', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/integrations.routes.js:190" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED PUT /integrations/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/integrations/:id", + "body": { + "mode": "raw", + "raw": "{\n \"api_key\": \"{{data.api_key}}\",\n \"base_url\": \"{{data.base_url}}\",\n \"config\": \"{{data.config}}\",\n \"is_active\": true,\n \"model\": \"{{data.model}}\",\n \"name\": \"{{data.name}}\",\n \"project_key\": \"{{data.project_key}}\",\n \"type\": \"{{data.type}}\",\n \"updated_at\": \"{{data.updated_at}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing username', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/integrations.routes.js:190" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /project-members", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/project-members", + "body": { + "mode": "raw", + "raw": "{\n \"role_id\": \"{{lastId}}\",\n \"user_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing project_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/projectMembers.routes.js:4" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /project-members", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/project-members", + "body": { + "mode": "raw", + "raw": "{\n \"project_id\": \"{{lastId}}\",\n \"user_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing role_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/projectMembers.routes.js:4" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /project-members", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/project-members", + "body": { + "mode": "raw", + "raw": "{\n \"project_id\": \"{{lastId}}\",\n \"role_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing user_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/projectMembers.routes.js:4" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED PUT /project-members/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/project-members/:id", + "body": { + "mode": "raw", + "raw": "{\n \"role_id\": \"{{lastId}}\",\n \"user_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing project_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/projectMembers.routes.js:23" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED PUT /project-members/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/project-members/:id", + "body": { + "mode": "raw", + "raw": "{\n \"project_id\": \"{{lastId}}\",\n \"user_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing role_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/projectMembers.routes.js:23" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED PUT /project-members/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/project-members/:id", + "body": { + "mode": "raw", + "raw": "{\n \"project_id\": \"{{lastId}}\",\n \"role_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing user_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/projectMembers.routes.js:23" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /projects/:id/sync/:provider", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/projects/:id/sync/:provider", + "body": { + "mode": "raw", + "raw": "{\n \"created_by\": \"{{data.created_by}}\",\n \"provider\": \"{{data.provider}}\",\n \"trigger_mode\": \"{{data.trigger_mode}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing project_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/projectSync.routes.js:5" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /projects", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/projects", + "body": { + "mode": "raw", + "raw": "{\n \"created_by\": \"{{data.created_by}}\",\n \"description\": \"{{data.description}}\",\n \"name\": \"{{data.name}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing display_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/projects.routes.js:5" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /projects", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/projects", + "body": { + "mode": "raw", + "raw": "{\n \"created_by\": \"{{data.created_by}}\",\n \"description\": \"{{data.description}}\",\n \"display_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing name', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/projects.routes.js:5" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED PUT /projects/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/projects/:id", + "body": { + "mode": "raw", + "raw": "{\n \"description\": \"{{data.description}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing name', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/projects.routes.js:25" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED PUT /requirement-test-cases/replace", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/requirement-test-cases/replace", + "body": { + "mode": "raw", + "raw": "{\n \"test_case_ids\": \"{{data.test_case_ids}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing requirement_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/requirementTestCases.routes.js:9" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /requirements", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/requirements", + "body": { + "mode": "raw", + "raw": "{\n \"created_by\": \"{{data.created_by}}\",\n \"description\": \"{{data.description}}\",\n \"external_references\": \"{{data.external_references}}\",\n \"priority\": \"{{data.priority}}\",\n \"project_id\": \"{{lastId}}\",\n \"status\": \"{{data.status}}\",\n \"title\": \"{{data.title}}\",\n \"updated_at\": \"{{data.updated_at}}\",\n \"updated_by\": \"{{data.updated_by}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing display_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/requirements.routes.js:8" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /requirements", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/requirements", + "body": { + "mode": "raw", + "raw": "{\n \"created_by\": \"{{data.created_by}}\",\n \"description\": \"{{data.description}}\",\n \"display_id\": \"{{lastId}}\",\n \"external_references\": \"{{data.external_references}}\",\n \"priority\": \"{{data.priority}}\",\n \"status\": \"{{data.status}}\",\n \"title\": \"{{data.title}}\",\n \"updated_at\": \"{{data.updated_at}}\",\n \"updated_by\": \"{{data.updated_by}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing project_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/requirements.routes.js:8" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /requirements", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/requirements", + "body": { + "mode": "raw", + "raw": "{\n \"created_by\": \"{{data.created_by}}\",\n \"description\": \"{{data.description}}\",\n \"display_id\": \"{{lastId}}\",\n \"external_references\": \"{{data.external_references}}\",\n \"priority\": \"{{data.priority}}\",\n \"project_id\": \"{{lastId}}\",\n \"title\": \"{{data.title}}\",\n \"updated_at\": \"{{data.updated_at}}\",\n \"updated_by\": \"{{data.updated_by}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing status', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/requirements.routes.js:8" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /requirements", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/requirements", + "body": { + "mode": "raw", + "raw": "{\n \"created_by\": \"{{data.created_by}}\",\n \"description\": \"{{data.description}}\",\n \"display_id\": \"{{lastId}}\",\n \"external_references\": \"{{data.external_references}}\",\n \"priority\": \"{{data.priority}}\",\n \"project_id\": \"{{lastId}}\",\n \"status\": \"{{data.status}}\",\n \"updated_at\": \"{{data.updated_at}}\",\n \"updated_by\": \"{{data.updated_by}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing title', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/requirements.routes.js:8" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /requirements/import", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/requirements/import", + "body": { + "mode": "raw", + "raw": "{\n \"rows\": \"{{data.rows}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing project_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/requirements.routes.js:29" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED PUT /requirements/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/requirements/:id", + "body": { + "mode": "raw", + "raw": "{\n \"description\": \"{{data.description}}\",\n \"external_references\": \"{{data.external_references}}\",\n \"priority\": \"{{data.priority}}\",\n \"status\": \"{{data.status}}\",\n \"title\": \"{{data.title}}\",\n \"updated_at\": \"{{data.updated_at}}\",\n \"updated_by\": \"{{data.updated_by}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing project_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/requirements.routes.js:73" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED PUT /requirements/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/requirements/:id", + "body": { + "mode": "raw", + "raw": "{\n \"description\": \"{{data.description}}\",\n \"external_references\": \"{{data.external_references}}\",\n \"priority\": \"{{data.priority}}\",\n \"project_id\": \"{{lastId}}\",\n \"title\": \"{{data.title}}\",\n \"updated_at\": \"{{data.updated_at}}\",\n \"updated_by\": \"{{data.updated_by}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing status', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/requirements.routes.js:73" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED PUT /requirements/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/requirements/:id", + "body": { + "mode": "raw", + "raw": "{\n \"description\": \"{{data.description}}\",\n \"external_references\": \"{{data.external_references}}\",\n \"priority\": \"{{data.priority}}\",\n \"project_id\": \"{{lastId}}\",\n \"status\": \"{{data.status}}\",\n \"updated_at\": \"{{data.updated_at}}\",\n \"updated_by\": \"{{data.updated_by}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing title', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/requirements.routes.js:73" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /requirements/:id/ai-optimize-preview", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/requirements/:id/ai-optimize-preview", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing integration_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/requirements.routes.js:95" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /requirements/:id/generate-test-cases", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/requirements/:id/generate-test-cases", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"appType\": \"{{data.appType}}\",\n \"external_links\": \"{{data.external_links}}\",\n \"images\": \"{{data.images}}\",\n \"integration_id\": \"{{lastId}}\",\n \"max_cases\": \"{{data.max_cases}}\",\n \"requirement\": \"{{data.requirement}}\",\n \"status\": \"{{data.status}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing app_type_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/requirements.routes.js:113" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /requirements/:id/generate-test-cases", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/requirements/:id/generate-test-cases", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"appType\": \"{{data.appType}}\",\n \"app_type_id\": \"{{lastId}}\",\n \"external_links\": \"{{data.external_links}}\",\n \"images\": \"{{data.images}}\",\n \"max_cases\": \"{{data.max_cases}}\",\n \"requirement\": \"{{data.requirement}}\",\n \"status\": \"{{data.status}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing integration_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/requirements.routes.js:113" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /requirements/:id/generate-test-cases", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/requirements/:id/generate-test-cases", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"appType\": \"{{data.appType}}\",\n \"app_type_id\": \"{{lastId}}\",\n \"external_links\": \"{{data.external_links}}\",\n \"images\": \"{{data.images}}\",\n \"integration_id\": \"{{lastId}}\",\n \"max_cases\": \"{{data.max_cases}}\",\n \"requirement\": \"{{data.requirement}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing status', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/requirements.routes.js:113" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /requirements/:id/design-test-cases-preview", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/requirements/:id/design-test-cases-preview", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"appType\": \"{{data.appType}}\",\n \"external_links\": \"{{data.external_links}}\",\n \"images\": \"{{data.images}}\",\n \"integration_id\": \"{{lastId}}\",\n \"max_cases\": \"{{data.max_cases}}\",\n \"requirement\": \"{{data.requirement}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing app_type_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/requirements.routes.js:147" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /requirements/:id/design-test-cases-preview", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/requirements/:id/design-test-cases-preview", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"appType\": \"{{data.appType}}\",\n \"app_type_id\": \"{{lastId}}\",\n \"external_links\": \"{{data.external_links}}\",\n \"images\": \"{{data.images}}\",\n \"max_cases\": \"{{data.max_cases}}\",\n \"requirement\": \"{{data.requirement}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing integration_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/requirements.routes.js:147" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /requirements/:id/design-test-cases-accept", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/requirements/:id/design-test-cases-accept", + "body": { + "mode": "raw", + "raw": "{\n \"appType\": \"{{data.appType}}\",\n \"cases\": \"{{data.cases}}\",\n \"requirement\": \"{{data.requirement}}\",\n \"status\": \"{{data.status}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing app_type_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/requirements.routes.js:179" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /requirements/:id/design-test-cases-accept", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/requirements/:id/design-test-cases-accept", + "body": { + "mode": "raw", + "raw": "{\n \"appType\": \"{{data.appType}}\",\n \"app_type_id\": \"{{lastId}}\",\n \"cases\": \"{{data.cases}}\",\n \"requirement\": \"{{data.requirement}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing status', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/requirements.routes.js:179" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /roles", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/roles" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing name', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/roles.routes.js:4" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED PUT /roles/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/roles/:id", + "body": { + "mode": "raw", + "raw": "{\n \"permission_codes\": \"{{data.permission_codes}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing name', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/roles.routes.js:37" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /shared-step-groups", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/shared-step-groups", + "body": { + "mode": "raw", + "raw": "{\n \"created_by\": \"{{data.created_by}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing app_type_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/sharedStepGroups.routes.js:6" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED PUT /shared-step-groups/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/shared-step-groups/:id", + "body": { + "mode": "raw", + "raw": "{\n \"description\": \"{{data.description}}\",\n \"name\": \"{{data.name}}\",\n \"parameter_values\": \"{{data.parameter_values}}\",\n \"steps\": \"{{data.steps}}\",\n \"updated_by\": \"{{data.updated_by}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing app_type_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/sharedStepGroups.routes.js:47" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED PUT /shared-step-groups/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/shared-step-groups/:id", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"description\": \"{{data.description}}\",\n \"parameter_values\": \"{{data.parameter_values}}\",\n \"steps\": \"{{data.steps}}\",\n \"updated_by\": \"{{data.updated_by}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing name', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/sharedStepGroups.routes.js:47" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED PUT /suite-test-cases/reorder", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/suite-test-cases/reorder", + "body": { + "mode": "raw", + "raw": "{\n \"sort_order\": \"{{data.sort_order}}\",\n \"test_case_ids\": \"{{data.test_case_ids}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing suite_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/suiteTestCases.routes.js:9" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /test-cases", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases", + "body": { + "mode": "raw", + "raw": "{\n \"created_by\": \"{{data.created_by}}\",\n \"steps\": \"{{data.steps}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing app_type_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:37" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /test-cases/import", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/import", + "body": { + "mode": "raw", + "raw": "{\n \"batches\": \"{{data.batches}}\",\n \"created_by\": \"{{data.created_by}}\",\n \"rows\": \"{{data.rows}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing app_type_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:69" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /test-cases/export", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/export", + "body": { + "mode": "raw", + "raw": "{\n \"created_by\": \"{{data.created_by}}\",\n \"test_case_ids\": \"{{data.test_case_ids}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing app_type_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:111" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /test-cases/automation/learning-cache/import", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/automation/learning-cache/import", + "body": { + "mode": "raw", + "raw": "{\n \"entries\": \"{{data.entries}}\",\n \"import_source\": \"{{data.import_source}}\",\n \"project_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing app_type_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:187" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /test-cases/automation/learning-cache/import", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/automation/learning-cache/import", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"entries\": \"{{data.entries}}\",\n \"import_source\": \"{{data.import_source}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing project_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:187" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /test-cases/automation/learning-cache/extract-fields", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/automation/learning-cache/extract-fields", + "body": { + "mode": "raw", + "raw": "{\n \"fields\": \"{{data.fields}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing app_type_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:211" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /test-cases/automation/learning-cache", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/automation/learning-cache", + "body": { + "mode": "raw", + "raw": "{\n \"confidence\": \"{{data.confidence}}\",\n \"dom_structure\": \"{{data.dom_structure}}\",\n \"fallback_strategy\": \"{{data.fallback_strategy}}\",\n \"locator\": \"{{data.locator}}\",\n \"locator_intent\": \"{{data.locator_intent}}\",\n \"locator_kind\": \"{{data.locator_kind}}\",\n \"metadata\": \"{{data.metadata}}\",\n \"object_name\": \"{{data.object_name}}\",\n \"object_role\": \"{{data.object_role}}\",\n \"page_key\": 1,\n \"page_url\": 1,\n \"project_id\": \"{{lastId}}\",\n \"screen_dom_compressed\": \"{{data.screen_dom_compressed}}\",\n \"screen_name\": \"{{data.screen_name}}\",\n \"screen_screenshot_url\": \"{{data.screen_screenshot_url}}\",\n \"screenshot_url\": \"{{data.screenshot_url}}\",\n \"source\": \"{{data.source}}\",\n \"target_criteria\": \"{{data.target_criteria}}\",\n \"test_case_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing app_type_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:303" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /test-cases/automation/learning-cache", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/automation/learning-cache", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"confidence\": \"{{data.confidence}}\",\n \"dom_structure\": \"{{data.dom_structure}}\",\n \"fallback_strategy\": \"{{data.fallback_strategy}}\",\n \"locator\": \"{{data.locator}}\",\n \"locator_intent\": \"{{data.locator_intent}}\",\n \"locator_kind\": \"{{data.locator_kind}}\",\n \"metadata\": \"{{data.metadata}}\",\n \"object_name\": \"{{data.object_name}}\",\n \"object_role\": \"{{data.object_role}}\",\n \"page_key\": 1,\n \"page_url\": 1,\n \"screen_dom_compressed\": \"{{data.screen_dom_compressed}}\",\n \"screen_name\": \"{{data.screen_name}}\",\n \"screen_screenshot_url\": \"{{data.screen_screenshot_url}}\",\n \"screenshot_url\": \"{{data.screenshot_url}}\",\n \"source\": \"{{data.source}}\",\n \"target_criteria\": \"{{data.target_criteria}}\",\n \"test_case_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing project_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:303" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /test-cases/automation/learning-cache", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/automation/learning-cache", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"confidence\": \"{{data.confidence}}\",\n \"dom_structure\": \"{{data.dom_structure}}\",\n \"fallback_strategy\": \"{{data.fallback_strategy}}\",\n \"locator\": \"{{data.locator}}\",\n \"locator_intent\": \"{{data.locator_intent}}\",\n \"locator_kind\": \"{{data.locator_kind}}\",\n \"metadata\": \"{{data.metadata}}\",\n \"object_name\": \"{{data.object_name}}\",\n \"object_role\": \"{{data.object_role}}\",\n \"page_key\": 1,\n \"page_url\": 1,\n \"project_id\": \"{{lastId}}\",\n \"screen_dom_compressed\": \"{{data.screen_dom_compressed}}\",\n \"screen_name\": \"{{data.screen_name}}\",\n \"screen_screenshot_url\": \"{{data.screen_screenshot_url}}\",\n \"screenshot_url\": \"{{data.screenshot_url}}\",\n \"source\": \"{{data.source}}\",\n \"target_criteria\": \"{{data.target_criteria}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing test_case_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:303" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED PUT /test-cases/automation/learning-cache/screens/:screenName", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/automation/learning-cache/screens/:screenName", + "body": { + "mode": "raw", + "raw": "{\n \"new_name\": \"{{data.new_name}}\",\n \"screen_name\": \"{{data.screen_name}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing app_type_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:390" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /test-cases/automation/learning-cache/:id/ai-improve", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/automation/learning-cache/:id/ai-improve", + "body": { + "mode": "raw", + "raw": "{\n \"guidance\": \"{{data.guidance}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing integration_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:412" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /test-cases/automation/build-batch", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/automation/build-batch", + "body": { + "mode": "raw", + "raw": "{\n \"created_by\": \"{{data.created_by}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing app_type_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:438" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /test-cases/:id/automation/build", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/:id/automation/build", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"captured_actions\": \"{{data.captured_actions}}\",\n \"captured_network\": \"{{data.captured_network}}\",\n \"created_by\": \"{{data.created_by}}\",\n \"start_url\": \"{{data.start_url}}\",\n \"test_case_id\": \"{{lastId}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"test_environment_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing integration_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:486" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /test-cases/:id/automation/build", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/:id/automation/build", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"captured_actions\": \"{{data.captured_actions}}\",\n \"captured_network\": \"{{data.captured_network}}\",\n \"created_by\": \"{{data.created_by}}\",\n \"integration_id\": \"{{lastId}}\",\n \"start_url\": \"{{data.start_url}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"test_environment_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing test_case_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:486" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /test-cases/:id/automation/build", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/:id/automation/build", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"captured_actions\": \"{{data.captured_actions}}\",\n \"captured_network\": \"{{data.captured_network}}\",\n \"created_by\": \"{{data.created_by}}\",\n \"integration_id\": \"{{lastId}}\",\n \"start_url\": \"{{data.start_url}}\",\n \"test_case_id\": \"{{lastId}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"test_environment_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing test_configuration_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:486" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /test-cases/:id/automation/build", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/:id/automation/build", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"captured_actions\": \"{{data.captured_actions}}\",\n \"captured_network\": \"{{data.captured_network}}\",\n \"created_by\": \"{{data.created_by}}\",\n \"integration_id\": \"{{lastId}}\",\n \"start_url\": \"{{data.start_url}}\",\n \"test_case_id\": \"{{lastId}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_environment_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing test_data_set_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:486" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /test-cases/:id/automation/build", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/:id/automation/build", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"captured_actions\": \"{{data.captured_actions}}\",\n \"captured_network\": \"{{data.captured_network}}\",\n \"created_by\": \"{{data.created_by}}\",\n \"integration_id\": \"{{lastId}}\",\n \"start_url\": \"{{data.start_url}}\",\n \"test_case_id\": \"{{lastId}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_data_set_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing test_environment_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:486" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /test-cases/:id/automation/generator-jobs", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/:id/automation/generator-jobs", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"created_by\": \"{{data.created_by}}\",\n \"start_url\": \"{{data.start_url}}\",\n \"test_case_id\": \"{{lastId}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"test_environment_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing integration_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:521" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /test-cases/:id/automation/generator-jobs", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/:id/automation/generator-jobs", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"created_by\": \"{{data.created_by}}\",\n \"integration_id\": \"{{lastId}}\",\n \"start_url\": \"{{data.start_url}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"test_environment_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing test_case_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:521" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /test-cases/:id/automation/generator-jobs", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/:id/automation/generator-jobs", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"created_by\": \"{{data.created_by}}\",\n \"integration_id\": \"{{lastId}}\",\n \"start_url\": \"{{data.start_url}}\",\n \"test_case_id\": \"{{lastId}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"test_environment_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing test_configuration_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:521" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /test-cases/:id/automation/generator-jobs", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/:id/automation/generator-jobs", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"created_by\": \"{{data.created_by}}\",\n \"integration_id\": \"{{lastId}}\",\n \"start_url\": \"{{data.start_url}}\",\n \"test_case_id\": \"{{lastId}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_environment_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing test_data_set_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:521" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /test-cases/:id/automation/generator-jobs", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/:id/automation/generator-jobs", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"created_by\": \"{{data.created_by}}\",\n \"integration_id\": \"{{lastId}}\",\n \"start_url\": \"{{data.start_url}}\",\n \"test_case_id\": \"{{lastId}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_data_set_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing test_environment_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:521" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /test-cases/:id/automation/recorder-session", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/:id/automation/recorder-session", + "body": { + "mode": "raw", + "raw": "{\n \"created_by\": \"{{data.created_by}}\",\n \"engine_base_url\": \"{{data.engine_base_url}}\",\n \"recorder_mode\": \"{{data.recorder_mode}}\",\n \"recorder_public_base_url\": \"{{data.recorder_public_base_url}}\",\n \"recorder_target\": \"{{data.recorder_target}}\",\n \"reuse_existing\": \"{{data.reuse_existing}}\",\n \"start_url\": \"{{data.start_url}}\",\n \"test_case_id\": \"{{lastId}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"test_environment_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing target_step_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:552" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /test-cases/:id/automation/recorder-session", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/:id/automation/recorder-session", + "body": { + "mode": "raw", + "raw": "{\n \"created_by\": \"{{data.created_by}}\",\n \"engine_base_url\": \"{{data.engine_base_url}}\",\n \"recorder_mode\": \"{{data.recorder_mode}}\",\n \"recorder_public_base_url\": \"{{data.recorder_public_base_url}}\",\n \"recorder_target\": \"{{data.recorder_target}}\",\n \"reuse_existing\": \"{{data.reuse_existing}}\",\n \"start_url\": \"{{data.start_url}}\",\n \"target_step_id\": \"{{lastId}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"test_environment_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing test_case_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:552" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /test-cases/:id/automation/recorder-session", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/:id/automation/recorder-session", + "body": { + "mode": "raw", + "raw": "{\n \"created_by\": \"{{data.created_by}}\",\n \"engine_base_url\": \"{{data.engine_base_url}}\",\n \"recorder_mode\": \"{{data.recorder_mode}}\",\n \"recorder_public_base_url\": \"{{data.recorder_public_base_url}}\",\n \"recorder_target\": \"{{data.recorder_target}}\",\n \"reuse_existing\": \"{{data.reuse_existing}}\",\n \"start_url\": \"{{data.start_url}}\",\n \"target_step_id\": \"{{lastId}}\",\n \"test_case_id\": \"{{lastId}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"test_environment_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing test_configuration_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:552" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /test-cases/:id/automation/recorder-session", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/:id/automation/recorder-session", + "body": { + "mode": "raw", + "raw": "{\n \"created_by\": \"{{data.created_by}}\",\n \"engine_base_url\": \"{{data.engine_base_url}}\",\n \"recorder_mode\": \"{{data.recorder_mode}}\",\n \"recorder_public_base_url\": \"{{data.recorder_public_base_url}}\",\n \"recorder_target\": \"{{data.recorder_target}}\",\n \"reuse_existing\": \"{{data.reuse_existing}}\",\n \"start_url\": \"{{data.start_url}}\",\n \"target_step_id\": \"{{lastId}}\",\n \"test_case_id\": \"{{lastId}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_environment_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing test_data_set_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:552" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /test-cases/:id/automation/recorder-session", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/:id/automation/recorder-session", + "body": { + "mode": "raw", + "raw": "{\n \"created_by\": \"{{data.created_by}}\",\n \"engine_base_url\": \"{{data.engine_base_url}}\",\n \"recorder_mode\": \"{{data.recorder_mode}}\",\n \"recorder_public_base_url\": \"{{data.recorder_public_base_url}}\",\n \"recorder_target\": \"{{data.recorder_target}}\",\n \"reuse_existing\": \"{{data.reuse_existing}}\",\n \"start_url\": \"{{data.start_url}}\",\n \"target_step_id\": \"{{lastId}}\",\n \"test_case_id\": \"{{lastId}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_data_set_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing test_environment_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:552" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /test-cases/:id/automation/recorder-session/:sessionId/finish", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/:id/automation/recorder-session/:sessionId/finish", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"created_by\": \"{{data.created_by}}\",\n \"engine_base_url\": \"{{data.engine_base_url}}\",\n \"recorder_mode\": \"{{data.recorder_mode}}\",\n \"recorder_session_id\": \"{{lastId}}\",\n \"recorder_target\": \"{{data.recorder_target}}\",\n \"target_step_id\": \"{{lastId}}\",\n \"test_case_id\": \"{{lastId}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"test_environment_id\": \"{{lastId}}\",\n \"transaction_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing integration_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:591" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /test-cases/:id/automation/recorder-session/:sessionId/finish", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/:id/automation/recorder-session/:sessionId/finish", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"created_by\": \"{{data.created_by}}\",\n \"engine_base_url\": \"{{data.engine_base_url}}\",\n \"integration_id\": \"{{lastId}}\",\n \"recorder_mode\": \"{{data.recorder_mode}}\",\n \"recorder_target\": \"{{data.recorder_target}}\",\n \"target_step_id\": \"{{lastId}}\",\n \"test_case_id\": \"{{lastId}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"test_environment_id\": \"{{lastId}}\",\n \"transaction_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing recorder_session_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:591" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /test-cases/:id/automation/recorder-session/:sessionId/finish", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/:id/automation/recorder-session/:sessionId/finish", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"created_by\": \"{{data.created_by}}\",\n \"engine_base_url\": \"{{data.engine_base_url}}\",\n \"integration_id\": \"{{lastId}}\",\n \"recorder_mode\": \"{{data.recorder_mode}}\",\n \"recorder_session_id\": \"{{lastId}}\",\n \"recorder_target\": \"{{data.recorder_target}}\",\n \"test_case_id\": \"{{lastId}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"test_environment_id\": \"{{lastId}}\",\n \"transaction_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing target_step_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:591" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /test-cases/:id/automation/recorder-session/:sessionId/finish", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/:id/automation/recorder-session/:sessionId/finish", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"created_by\": \"{{data.created_by}}\",\n \"engine_base_url\": \"{{data.engine_base_url}}\",\n \"integration_id\": \"{{lastId}}\",\n \"recorder_mode\": \"{{data.recorder_mode}}\",\n \"recorder_session_id\": \"{{lastId}}\",\n \"recorder_target\": \"{{data.recorder_target}}\",\n \"target_step_id\": \"{{lastId}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"test_environment_id\": \"{{lastId}}\",\n \"transaction_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing test_case_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:591" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /test-cases/:id/automation/recorder-session/:sessionId/finish", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/:id/automation/recorder-session/:sessionId/finish", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"created_by\": \"{{data.created_by}}\",\n \"engine_base_url\": \"{{data.engine_base_url}}\",\n \"integration_id\": \"{{lastId}}\",\n \"recorder_mode\": \"{{data.recorder_mode}}\",\n \"recorder_session_id\": \"{{lastId}}\",\n \"recorder_target\": \"{{data.recorder_target}}\",\n \"target_step_id\": \"{{lastId}}\",\n \"test_case_id\": \"{{lastId}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"test_environment_id\": \"{{lastId}}\",\n \"transaction_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing test_configuration_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:591" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /test-cases/:id/automation/recorder-session/:sessionId/finish", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/:id/automation/recorder-session/:sessionId/finish", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"created_by\": \"{{data.created_by}}\",\n \"engine_base_url\": \"{{data.engine_base_url}}\",\n \"integration_id\": \"{{lastId}}\",\n \"recorder_mode\": \"{{data.recorder_mode}}\",\n \"recorder_session_id\": \"{{lastId}}\",\n \"recorder_target\": \"{{data.recorder_target}}\",\n \"target_step_id\": \"{{lastId}}\",\n \"test_case_id\": \"{{lastId}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_environment_id\": \"{{lastId}}\",\n \"transaction_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing test_data_set_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:591" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /test-cases/:id/automation/recorder-session/:sessionId/finish", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/:id/automation/recorder-session/:sessionId/finish", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"created_by\": \"{{data.created_by}}\",\n \"engine_base_url\": \"{{data.engine_base_url}}\",\n \"integration_id\": \"{{lastId}}\",\n \"recorder_mode\": \"{{data.recorder_mode}}\",\n \"recorder_session_id\": \"{{lastId}}\",\n \"recorder_target\": \"{{data.recorder_target}}\",\n \"target_step_id\": \"{{lastId}}\",\n \"test_case_id\": \"{{lastId}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"transaction_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing test_environment_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:591" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /test-cases/:id/automation/recorder-session/:sessionId/finish", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/:id/automation/recorder-session/:sessionId/finish", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"created_by\": \"{{data.created_by}}\",\n \"engine_base_url\": \"{{data.engine_base_url}}\",\n \"integration_id\": \"{{lastId}}\",\n \"recorder_mode\": \"{{data.recorder_mode}}\",\n \"recorder_session_id\": \"{{lastId}}\",\n \"recorder_target\": \"{{data.recorder_target}}\",\n \"target_step_id\": \"{{lastId}}\",\n \"test_case_id\": \"{{lastId}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"test_environment_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing transaction_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:591" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /test-cases/design-test-cases-preview", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/design-test-cases-preview", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"appType\": \"{{data.appType}}\",\n \"external_links\": \"{{data.external_links}}\",\n \"images\": \"{{data.images}}\",\n \"integration_id\": \"{{lastId}}\",\n \"max_cases\": \"{{data.max_cases}}\",\n \"requirement_ids\": \"{{data.requirement_ids}}\",\n \"requirements\": \"{{data.requirements}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing app_type_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:631" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /test-cases/design-test-cases-preview", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/design-test-cases-preview", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"appType\": \"{{data.appType}}\",\n \"app_type_id\": \"{{lastId}}\",\n \"external_links\": \"{{data.external_links}}\",\n \"images\": \"{{data.images}}\",\n \"max_cases\": \"{{data.max_cases}}\",\n \"requirement_ids\": \"{{data.requirement_ids}}\",\n \"requirements\": \"{{data.requirements}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing integration_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:631" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /test-cases/ai-authoring-preview", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/ai-authoring-preview", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"appType\": \"{{data.appType}}\",\n \"integration_id\": \"{{lastId}}\",\n \"requirement\": \"{{data.requirement}}\",\n \"requirement_id\": \"{{lastId}}\",\n \"test_case\": \"{{data.test_case}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing app_type_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:659" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /test-cases/ai-authoring-preview", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/ai-authoring-preview", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"appType\": \"{{data.appType}}\",\n \"app_type_id\": \"{{lastId}}\",\n \"requirement\": \"{{data.requirement}}\",\n \"requirement_id\": \"{{lastId}}\",\n \"test_case\": \"{{data.test_case}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing integration_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:659" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /test-cases/ai-authoring-preview", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/ai-authoring-preview", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"appType\": \"{{data.appType}}\",\n \"app_type_id\": \"{{lastId}}\",\n \"integration_id\": \"{{lastId}}\",\n \"requirement\": \"{{data.requirement}}\",\n \"test_case\": \"{{data.test_case}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing requirement_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:659" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /test-cases/ai-step-rephrase", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/ai-step-rephrase", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"appType\": \"{{data.appType}}\",\n \"integration_id\": \"{{lastId}}\",\n \"project_id\": \"{{lastId}}\",\n \"requirement\": \"{{data.requirement}}\",\n \"requirement_id\": \"{{lastId}}\",\n \"step\": \"{{data.step}}\",\n \"test_case\": \"{{data.test_case}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing app_type_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:683" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /test-cases/ai-step-rephrase", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/ai-step-rephrase", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"appType\": \"{{data.appType}}\",\n \"app_type_id\": \"{{lastId}}\",\n \"project_id\": \"{{lastId}}\",\n \"requirement\": \"{{data.requirement}}\",\n \"requirement_id\": \"{{lastId}}\",\n \"step\": \"{{data.step}}\",\n \"test_case\": \"{{data.test_case}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing integration_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:683" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /test-cases/ai-step-rephrase", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/ai-step-rephrase", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"appType\": \"{{data.appType}}\",\n \"app_type_id\": \"{{lastId}}\",\n \"integration_id\": \"{{lastId}}\",\n \"requirement\": \"{{data.requirement}}\",\n \"requirement_id\": \"{{lastId}}\",\n \"step\": \"{{data.step}}\",\n \"test_case\": \"{{data.test_case}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing project_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:683" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /test-cases/ai-step-rephrase", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/ai-step-rephrase", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"appType\": \"{{data.appType}}\",\n \"app_type_id\": \"{{lastId}}\",\n \"integration_id\": \"{{lastId}}\",\n \"project_id\": \"{{lastId}}\",\n \"requirement\": \"{{data.requirement}}\",\n \"step\": \"{{data.step}}\",\n \"test_case\": \"{{data.test_case}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing requirement_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:683" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /test-cases/design-test-cases-accept", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/design-test-cases-accept", + "body": { + "mode": "raw", + "raw": "{\n \"appType\": \"{{data.appType}}\",\n \"cases\": \"{{data.cases}}\",\n \"requirement_ids\": \"{{data.requirement_ids}}\",\n \"requirements\": \"{{data.requirements}}\",\n \"status\": \"{{data.status}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing app_type_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:715" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /test-cases/design-test-cases-accept", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/design-test-cases-accept", + "body": { + "mode": "raw", + "raw": "{\n \"appType\": \"{{data.appType}}\",\n \"app_type_id\": \"{{lastId}}\",\n \"cases\": \"{{data.cases}}\",\n \"requirement_ids\": \"{{data.requirement_ids}}\",\n \"requirements\": \"{{data.requirements}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing status', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:715" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /test-cases/ai-generation-jobs", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/ai-generation-jobs", + "body": { + "mode": "raw", + "raw": "{\n \"created_by\": \"{{data.created_by}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing app_type_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:756" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED PUT /test-cases/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/:id", + "body": { + "mode": "raw", + "raw": "{\n \"automated\": \"{{data.automated}}\",\n \"automation_status\": \"{{data.automation_status}}\",\n \"description\": \"{{data.description}}\",\n \"external_references\": \"{{data.external_references}}\",\n \"parameter_values\": \"{{data.parameter_values}}\",\n \"priority\": \"{{data.priority}}\",\n \"requirement_id\": \"{{lastId}}\",\n \"requirement_ids\": \"{{data.requirement_ids}}\",\n \"steps\": \"{{data.steps}}\",\n \"suite_id\": \"{{lastId}}\",\n \"suite_ids\": \"{{data.suite_ids}}\",\n \"title\": \"{{data.title}}\",\n \"updated_by\": \"{{data.updated_by}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing app_type_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:782" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED PUT /test-cases/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/:id", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"automated\": \"{{data.automated}}\",\n \"automation_status\": \"{{data.automation_status}}\",\n \"description\": \"{{data.description}}\",\n \"external_references\": \"{{data.external_references}}\",\n \"parameter_values\": \"{{data.parameter_values}}\",\n \"priority\": \"{{data.priority}}\",\n \"requirement_ids\": \"{{data.requirement_ids}}\",\n \"steps\": \"{{data.steps}}\",\n \"suite_id\": \"{{lastId}}\",\n \"suite_ids\": \"{{data.suite_ids}}\",\n \"title\": \"{{data.title}}\",\n \"updated_by\": \"{{data.updated_by}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing requirement_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:782" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED PUT /test-cases/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/:id", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"automated\": \"{{data.automated}}\",\n \"automation_status\": \"{{data.automation_status}}\",\n \"description\": \"{{data.description}}\",\n \"external_references\": \"{{data.external_references}}\",\n \"parameter_values\": \"{{data.parameter_values}}\",\n \"priority\": \"{{data.priority}}\",\n \"requirement_id\": \"{{lastId}}\",\n \"requirement_ids\": \"{{data.requirement_ids}}\",\n \"steps\": \"{{data.steps}}\",\n \"suite_ids\": \"{{data.suite_ids}}\",\n \"title\": \"{{data.title}}\",\n \"updated_by\": \"{{data.updated_by}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing suite_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:782" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED PUT /test-cases/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/:id", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"automated\": \"{{data.automated}}\",\n \"automation_status\": \"{{data.automation_status}}\",\n \"description\": \"{{data.description}}\",\n \"external_references\": \"{{data.external_references}}\",\n \"parameter_values\": \"{{data.parameter_values}}\",\n \"priority\": \"{{data.priority}}\",\n \"requirement_id\": \"{{lastId}}\",\n \"requirement_ids\": \"{{data.requirement_ids}}\",\n \"steps\": \"{{data.steps}}\",\n \"suite_id\": \"{{lastId}}\",\n \"suite_ids\": \"{{data.suite_ids}}\",\n \"updated_by\": \"{{data.updated_by}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing title', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:782" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /test-configurations", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-configurations", + "body": { + "mode": "raw", + "raw": "{\n \"browser\": \"{{data.browser}}\",\n \"description\": \"{{data.description}}\",\n \"mobile_os\": \"{{data.mobile_os}}\",\n \"name\": \"{{data.name}}\",\n \"platform_version\": \"{{data.platform_version}}\",\n \"project_id\": \"{{lastId}}\",\n \"variables\": \"{{data.variables}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing app_type_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testConfigurations.routes.js:6" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /test-configurations", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-configurations", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"browser\": \"{{data.browser}}\",\n \"description\": \"{{data.description}}\",\n \"mobile_os\": \"{{data.mobile_os}}\",\n \"platform_version\": \"{{data.platform_version}}\",\n \"project_id\": \"{{lastId}}\",\n \"variables\": \"{{data.variables}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing name', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testConfigurations.routes.js:6" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /test-configurations", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-configurations", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"browser\": \"{{data.browser}}\",\n \"description\": \"{{data.description}}\",\n \"mobile_os\": \"{{data.mobile_os}}\",\n \"name\": \"{{data.name}}\",\n \"platform_version\": \"{{data.platform_version}}\",\n \"variables\": \"{{data.variables}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing project_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testConfigurations.routes.js:6" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED PUT /test-configurations/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-configurations/:id", + "body": { + "mode": "raw", + "raw": "{\n \"browser\": \"{{data.browser}}\",\n \"description\": \"{{data.description}}\",\n \"mobile_os\": \"{{data.mobile_os}}\",\n \"name\": \"{{data.name}}\",\n \"platform_version\": \"{{data.platform_version}}\",\n \"project_id\": \"{{lastId}}\",\n \"variables\": \"{{data.variables}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing app_type_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testConfigurations.routes.js:54" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED PUT /test-configurations/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-configurations/:id", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"browser\": \"{{data.browser}}\",\n \"description\": \"{{data.description}}\",\n \"mobile_os\": \"{{data.mobile_os}}\",\n \"platform_version\": \"{{data.platform_version}}\",\n \"project_id\": \"{{lastId}}\",\n \"variables\": \"{{data.variables}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing name', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testConfigurations.routes.js:54" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED PUT /test-configurations/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-configurations/:id", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"browser\": \"{{data.browser}}\",\n \"description\": \"{{data.description}}\",\n \"mobile_os\": \"{{data.mobile_os}}\",\n \"name\": \"{{data.name}}\",\n \"platform_version\": \"{{data.platform_version}}\",\n \"variables\": \"{{data.variables}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing project_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testConfigurations.routes.js:54" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /test-data-sets", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-data-sets", + "body": { + "mode": "raw", + "raw": "{\n \"columns\": \"{{data.columns}}\",\n \"description\": \"{{data.description}}\",\n \"mode\": \"{{data.mode}}\",\n \"name\": \"{{data.name}}\",\n \"project_id\": \"{{lastId}}\",\n \"rows\": \"{{data.rows}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing app_type_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testDataSets.routes.js:7" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /test-data-sets", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-data-sets", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"columns\": \"{{data.columns}}\",\n \"description\": \"{{data.description}}\",\n \"mode\": \"{{data.mode}}\",\n \"project_id\": \"{{lastId}}\",\n \"rows\": \"{{data.rows}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing name', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testDataSets.routes.js:7" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /test-data-sets", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-data-sets", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"columns\": \"{{data.columns}}\",\n \"description\": \"{{data.description}}\",\n \"mode\": \"{{data.mode}}\",\n \"name\": \"{{data.name}}\",\n \"rows\": \"{{data.rows}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing project_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testDataSets.routes.js:7" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED PUT /test-data-sets/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-data-sets/:id", + "body": { + "mode": "raw", + "raw": "{\n \"columns\": \"{{data.columns}}\",\n \"description\": \"{{data.description}}\",\n \"mode\": \"{{data.mode}}\",\n \"name\": \"{{data.name}}\",\n \"project_id\": \"{{lastId}}\",\n \"rows\": \"{{data.rows}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing app_type_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testDataSets.routes.js:54" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED PUT /test-data-sets/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-data-sets/:id", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"columns\": \"{{data.columns}}\",\n \"description\": \"{{data.description}}\",\n \"mode\": \"{{data.mode}}\",\n \"project_id\": \"{{lastId}}\",\n \"rows\": \"{{data.rows}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing name', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testDataSets.routes.js:54" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED PUT /test-data-sets/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-data-sets/:id", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"columns\": \"{{data.columns}}\",\n \"description\": \"{{data.description}}\",\n \"mode\": \"{{data.mode}}\",\n \"name\": \"{{data.name}}\",\n \"rows\": \"{{data.rows}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing project_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testDataSets.routes.js:54" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /api/testengine/callbacks/runs", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/api/testengine/callbacks/runs", + "body": { + "mode": "raw", + "raw": "{\n \"artifact_bundle\": \"{{data.artifact_bundle}}\",\n \"case_result\": \"{{data.case_result}}\",\n \"deterministic_attempted\": \"{{data.deterministic_attempted}}\",\n \"emitted_at\": \"{{data.emitted_at}}\",\n \"event\": \"{{data.event}}\",\n \"healing_attempted\": \"{{data.healing_attempted}}\",\n \"healing_succeeded\": \"{{data.healing_succeeded}}\",\n \"patch_proposals\": \"{{data.patch_proposals}}\",\n \"payload\": \"{{data.payload}}\",\n \"qaira_execution_id\": \"{{lastId}}\",\n \"qaira_run_id\": \"{{lastId}}\",\n \"qaira_test_case_id\": \"{{lastId}}\",\n \"rawPayload\": \"{{data.rawPayload}}\",\n \"state\": \"{{data.state}}\",\n \"step_outcomes\": \"{{data.step_outcomes}}\",\n \"summary\": \"{{data.summary}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing engine_run_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testEngineCallbacks.routes.js:20" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /api/testengine/callbacks/runs", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/api/testengine/callbacks/runs", + "body": { + "mode": "raw", + "raw": "{\n \"artifact_bundle\": \"{{data.artifact_bundle}}\",\n \"case_result\": \"{{data.case_result}}\",\n \"deterministic_attempted\": \"{{data.deterministic_attempted}}\",\n \"emitted_at\": \"{{data.emitted_at}}\",\n \"engine_run_id\": \"{{lastId}}\",\n \"event\": \"{{data.event}}\",\n \"healing_attempted\": \"{{data.healing_attempted}}\",\n \"healing_succeeded\": \"{{data.healing_succeeded}}\",\n \"patch_proposals\": \"{{data.patch_proposals}}\",\n \"payload\": \"{{data.payload}}\",\n \"qaira_run_id\": \"{{lastId}}\",\n \"qaira_test_case_id\": \"{{lastId}}\",\n \"rawPayload\": \"{{data.rawPayload}}\",\n \"state\": \"{{data.state}}\",\n \"step_outcomes\": \"{{data.step_outcomes}}\",\n \"summary\": \"{{data.summary}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing qaira_execution_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testEngineCallbacks.routes.js:20" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /api/testengine/callbacks/runs", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/api/testengine/callbacks/runs", + "body": { + "mode": "raw", + "raw": "{\n \"artifact_bundle\": \"{{data.artifact_bundle}}\",\n \"case_result\": \"{{data.case_result}}\",\n \"deterministic_attempted\": \"{{data.deterministic_attempted}}\",\n \"emitted_at\": \"{{data.emitted_at}}\",\n \"engine_run_id\": \"{{lastId}}\",\n \"event\": \"{{data.event}}\",\n \"healing_attempted\": \"{{data.healing_attempted}}\",\n \"healing_succeeded\": \"{{data.healing_succeeded}}\",\n \"patch_proposals\": \"{{data.patch_proposals}}\",\n \"payload\": \"{{data.payload}}\",\n \"qaira_execution_id\": \"{{lastId}}\",\n \"qaira_test_case_id\": \"{{lastId}}\",\n \"rawPayload\": \"{{data.rawPayload}}\",\n \"state\": \"{{data.state}}\",\n \"step_outcomes\": \"{{data.step_outcomes}}\",\n \"summary\": \"{{data.summary}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing qaira_run_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testEngineCallbacks.routes.js:20" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /api/testengine/callbacks/runs", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/api/testengine/callbacks/runs", + "body": { + "mode": "raw", + "raw": "{\n \"artifact_bundle\": \"{{data.artifact_bundle}}\",\n \"case_result\": \"{{data.case_result}}\",\n \"deterministic_attempted\": \"{{data.deterministic_attempted}}\",\n \"emitted_at\": \"{{data.emitted_at}}\",\n \"engine_run_id\": \"{{lastId}}\",\n \"event\": \"{{data.event}}\",\n \"healing_attempted\": \"{{data.healing_attempted}}\",\n \"healing_succeeded\": \"{{data.healing_succeeded}}\",\n \"patch_proposals\": \"{{data.patch_proposals}}\",\n \"payload\": \"{{data.payload}}\",\n \"qaira_execution_id\": \"{{lastId}}\",\n \"qaira_run_id\": \"{{lastId}}\",\n \"rawPayload\": \"{{data.rawPayload}}\",\n \"state\": \"{{data.state}}\",\n \"step_outcomes\": \"{{data.step_outcomes}}\",\n \"summary\": \"{{data.summary}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing qaira_test_case_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testEngineCallbacks.routes.js:20" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /testengine/internal/jobs/:id/start", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/testengine/internal/jobs/:id/start", + "body": { + "mode": "raw", + "raw": "{\n \"worker_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing job_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testEngineInternal.routes.js:28" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /testengine/internal/jobs/:id/start", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/testengine/internal/jobs/:id/start", + "body": { + "mode": "raw", + "raw": "{\n \"job_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing worker_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testEngineInternal.routes.js:28" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /testengine/internal/jobs/:id/steps/:stepId/execute", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/testengine/internal/jobs/:id/steps/:stepId/execute", + "body": { + "mode": "raw", + "raw": "{\n \"step_id\": \"{{lastId}}\",\n \"steps\": \"{{data.steps}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing job_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testEngineInternal.routes.js:41" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /testengine/internal/jobs/:id/steps/:stepId/execute", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/testengine/internal/jobs/:id/steps/:stepId/execute", + "body": { + "mode": "raw", + "raw": "{\n \"job_id\": \"{{lastId}}\",\n \"steps\": \"{{data.steps}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing step_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testEngineInternal.routes.js:41" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /testengine/internal/jobs/:id/steps/:stepId/report", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/testengine/internal/jobs/:id/steps/:stepId/report", + "body": { + "mode": "raw", + "raw": "{\n \"api_detail\": \"{{data.api_detail}}\",\n \"automation_detail\": \"{{data.automation_detail}}\",\n \"captures\": \"{{data.captures}}\",\n \"evidence\": \"{{data.evidence}}\",\n \"note\": \"{{data.note}}\",\n \"recovery_attempted\": \"{{data.recovery_attempted}}\",\n \"recovery_succeeded\": \"{{data.recovery_succeeded}}\",\n \"step_id\": \"{{lastId}}\",\n \"steps\": \"{{data.steps}}\",\n \"web_detail\": \"{{data.web_detail}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing job_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testEngineInternal.routes.js:50" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /testengine/internal/jobs/:id/steps/:stepId/report", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/testengine/internal/jobs/:id/steps/:stepId/report", + "body": { + "mode": "raw", + "raw": "{\n \"api_detail\": \"{{data.api_detail}}\",\n \"automation_detail\": \"{{data.automation_detail}}\",\n \"captures\": \"{{data.captures}}\",\n \"evidence\": \"{{data.evidence}}\",\n \"job_id\": \"{{lastId}}\",\n \"note\": \"{{data.note}}\",\n \"recovery_attempted\": \"{{data.recovery_attempted}}\",\n \"recovery_succeeded\": \"{{data.recovery_succeeded}}\",\n \"steps\": \"{{data.steps}}\",\n \"web_detail\": \"{{data.web_detail}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing step_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testEngineInternal.routes.js:50" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /testengine/internal/jobs/:id/complete", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/testengine/internal/jobs/:id/complete", + "body": { + "mode": "raw", + "raw": "{\n \"artifact_bundle\": \"{{data.artifact_bundle}}\",\n \"deterministic_attempted\": \"{{data.deterministic_attempted}}\",\n \"error\": \"{{data.error}}\",\n \"healing_attempted\": \"{{data.healing_attempted}}\",\n \"healing_succeeded\": \"{{data.healing_succeeded}}\",\n \"patch_proposals\": \"{{data.patch_proposals}}\",\n \"steps\": \"{{data.steps}}\",\n \"summary\": \"{{data.summary}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing job_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testEngineInternal.routes.js:80" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /testengine/internal/jobs/:id/fail", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/testengine/internal/jobs/:id/fail", + "body": { + "mode": "raw", + "raw": "{\n \"message\": \"{{data.message}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing job_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testEngineInternal.routes.js:107" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /test-environments", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-environments", + "body": { + "mode": "raw", + "raw": "{\n \"base_url\": \"{{data.base_url}}\",\n \"browser\": \"{{data.browser}}\",\n \"description\": \"{{data.description}}\",\n \"name\": \"{{data.name}}\",\n \"notes\": \"{{data.notes}}\",\n \"project_id\": \"{{lastId}}\",\n \"variables\": \"{{data.variables}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing app_type_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testEnvironments.routes.js:6" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /test-environments", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-environments", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"base_url\": \"{{data.base_url}}\",\n \"browser\": \"{{data.browser}}\",\n \"description\": \"{{data.description}}\",\n \"notes\": \"{{data.notes}}\",\n \"project_id\": \"{{lastId}}\",\n \"variables\": \"{{data.variables}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing name', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testEnvironments.routes.js:6" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /test-environments", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-environments", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"base_url\": \"{{data.base_url}}\",\n \"browser\": \"{{data.browser}}\",\n \"description\": \"{{data.description}}\",\n \"name\": \"{{data.name}}\",\n \"notes\": \"{{data.notes}}\",\n \"variables\": \"{{data.variables}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing project_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testEnvironments.routes.js:6" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED PUT /test-environments/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-environments/:id", + "body": { + "mode": "raw", + "raw": "{\n \"base_url\": \"{{data.base_url}}\",\n \"browser\": \"{{data.browser}}\",\n \"description\": \"{{data.description}}\",\n \"name\": \"{{data.name}}\",\n \"notes\": \"{{data.notes}}\",\n \"project_id\": \"{{lastId}}\",\n \"variables\": \"{{data.variables}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing app_type_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testEnvironments.routes.js:54" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED PUT /test-environments/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-environments/:id", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"base_url\": \"{{data.base_url}}\",\n \"browser\": \"{{data.browser}}\",\n \"description\": \"{{data.description}}\",\n \"notes\": \"{{data.notes}}\",\n \"project_id\": \"{{lastId}}\",\n \"variables\": \"{{data.variables}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing name', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testEnvironments.routes.js:54" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED PUT /test-environments/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-environments/:id", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"base_url\": \"{{data.base_url}}\",\n \"browser\": \"{{data.browser}}\",\n \"description\": \"{{data.description}}\",\n \"name\": \"{{data.name}}\",\n \"notes\": \"{{data.notes}}\",\n \"variables\": \"{{data.variables}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing project_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testEnvironments.routes.js:54" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED PUT /test-steps/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-steps/:id", + "body": { + "mode": "raw", + "raw": "{\n \"action\": \"{{data.action}}\",\n \"api_request\": \"{{data.api_request}}\",\n \"automation_code\": \"{{data.automation_code}}\",\n \"expected_result\": \"{{data.expected_result}}\",\n \"group_kind\": \"{{data.group_kind}}\",\n \"group_name\": \"{{data.group_name}}\",\n \"reusable_group_id\": \"{{lastId}}\",\n \"step_order\": \"{{data.step_order}}\",\n \"step_type\": \"{{data.step_type}}\",\n \"test_case_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing group_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testSteps.routes.js:44" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED PUT /test-steps/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-steps/:id", + "body": { + "mode": "raw", + "raw": "{\n \"action\": \"{{data.action}}\",\n \"api_request\": \"{{data.api_request}}\",\n \"automation_code\": \"{{data.automation_code}}\",\n \"expected_result\": \"{{data.expected_result}}\",\n \"group_id\": \"{{lastId}}\",\n \"group_kind\": \"{{data.group_kind}}\",\n \"group_name\": \"{{data.group_name}}\",\n \"step_order\": \"{{data.step_order}}\",\n \"step_type\": \"{{data.step_type}}\",\n \"test_case_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing reusable_group_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testSteps.routes.js:44" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED PUT /test-steps/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-steps/:id", + "body": { + "mode": "raw", + "raw": "{\n \"action\": \"{{data.action}}\",\n \"api_request\": \"{{data.api_request}}\",\n \"automation_code\": \"{{data.automation_code}}\",\n \"expected_result\": \"{{data.expected_result}}\",\n \"group_id\": \"{{lastId}}\",\n \"group_kind\": \"{{data.group_kind}}\",\n \"group_name\": \"{{data.group_name}}\",\n \"reusable_group_id\": \"{{lastId}}\",\n \"step_order\": \"{{data.step_order}}\",\n \"step_type\": \"{{data.step_type}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing test_case_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testSteps.routes.js:44" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED PUT /test-steps/reorder", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-steps/reorder", + "body": { + "mode": "raw", + "raw": "{\n \"entries\": \"{{data.entries}}\",\n \"indexOf\": \"{{data.indexOf}}\",\n \"step_ids\": \"{{data.step_ids}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing test_case_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testSteps.routes.js:118" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /test-suites", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-suites", + "body": { + "mode": "raw", + "raw": "{\n \"created_by\": \"{{data.created_by}}\",\n \"display_id\": \"{{lastId}}\",\n \"name\": \"{{data.name}}\",\n \"parallel_count\": 1,\n \"parallel_enabled\": \"{{data.parallel_enabled}}\",\n \"parameter_values\": \"{{data.parameter_values}}\",\n \"parent_id\": \"{{lastId}}\",\n \"updated_at\": \"{{data.updated_at}}\",\n \"updated_by\": \"{{data.updated_by}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing app_type_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testSuites.routes.js:6" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /test-suites", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-suites", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"created_by\": \"{{data.created_by}}\",\n \"name\": \"{{data.name}}\",\n \"parallel_count\": 1,\n \"parallel_enabled\": \"{{data.parallel_enabled}}\",\n \"parameter_values\": \"{{data.parameter_values}}\",\n \"parent_id\": \"{{lastId}}\",\n \"updated_at\": \"{{data.updated_at}}\",\n \"updated_by\": \"{{data.updated_by}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing display_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testSuites.routes.js:6" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /test-suites", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-suites", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"created_by\": \"{{data.created_by}}\",\n \"display_id\": \"{{lastId}}\",\n \"parallel_count\": 1,\n \"parallel_enabled\": \"{{data.parallel_enabled}}\",\n \"parameter_values\": \"{{data.parameter_values}}\",\n \"parent_id\": \"{{lastId}}\",\n \"updated_at\": \"{{data.updated_at}}\",\n \"updated_by\": \"{{data.updated_by}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing name', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testSuites.routes.js:6" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /test-suites", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-suites", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"created_by\": \"{{data.created_by}}\",\n \"display_id\": \"{{lastId}}\",\n \"name\": \"{{data.name}}\",\n \"parallel_count\": 1,\n \"parallel_enabled\": \"{{data.parallel_enabled}}\",\n \"parameter_values\": \"{{data.parameter_values}}\",\n \"updated_at\": \"{{data.updated_at}}\",\n \"updated_by\": \"{{data.updated_by}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing parent_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testSuites.routes.js:6" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED PUT /test-suites/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-suites/:id", + "body": { + "mode": "raw", + "raw": "{\n \"parallel_count\": 1,\n \"parallel_enabled\": \"{{data.parallel_enabled}}\",\n \"parameter_values\": \"{{data.parameter_values}}\",\n \"parent_id\": \"{{lastId}}\",\n \"updated_at\": \"{{data.updated_at}}\",\n \"updated_by\": \"{{data.updated_by}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing name', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testSuites.routes.js:49" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED PUT /test-suites/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-suites/:id", + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"{{data.name}}\",\n \"parallel_count\": 1,\n \"parallel_enabled\": \"{{data.parallel_enabled}}\",\n \"parameter_values\": \"{{data.parameter_values}}\",\n \"updated_at\": \"{{data.updated_at}}\",\n \"updated_by\": \"{{data.updated_by}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing parent_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testSuites.routes.js:49" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /users", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/users", + "body": { + "mode": "raw", + "raw": "{\n \"is_workspace_admin\": true,\n \"name\": \"{{data.name}}\",\n \"password\": \"{{data.password}}\",\n \"password_hash\": \"{{data.password}}\",\n \"project_id\": \"{{lastId}}\",\n \"role_id\": \"{{lastId}}\",\n \"user_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing email', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/users.js:12" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /users", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/users", + "body": { + "mode": "raw", + "raw": "{\n \"email\": \"{{data.email}}\",\n \"is_workspace_admin\": true,\n \"password\": \"{{data.password}}\",\n \"password_hash\": \"{{data.password}}\",\n \"project_id\": \"{{lastId}}\",\n \"role_id\": \"{{lastId}}\",\n \"user_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing name', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/users.js:12" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /users", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/users", + "body": { + "mode": "raw", + "raw": "{\n \"email\": \"{{data.email}}\",\n \"is_workspace_admin\": true,\n \"name\": \"{{data.name}}\",\n \"password_hash\": \"{{data.password}}\",\n \"project_id\": \"{{lastId}}\",\n \"role_id\": \"{{lastId}}\",\n \"user_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing password', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/users.js:12" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /users", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/users", + "body": { + "mode": "raw", + "raw": "{\n \"email\": \"{{data.email}}\",\n \"is_workspace_admin\": true,\n \"name\": \"{{data.name}}\",\n \"password\": \"{{data.password}}\",\n \"password_hash\": \"{{data.password}}\",\n \"role_id\": \"{{lastId}}\",\n \"user_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing project_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/users.js:12" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /users", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/users", + "body": { + "mode": "raw", + "raw": "{\n \"email\": \"{{data.email}}\",\n \"is_workspace_admin\": true,\n \"name\": \"{{data.name}}\",\n \"password\": \"{{data.password}}\",\n \"password_hash\": \"{{data.password}}\",\n \"project_id\": \"{{lastId}}\",\n \"user_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing role_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/users.js:12" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /users", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/users", + "body": { + "mode": "raw", + "raw": "{\n \"email\": \"{{data.email}}\",\n \"is_workspace_admin\": true,\n \"name\": \"{{data.name}}\",\n \"password\": \"{{data.password}}\",\n \"password_hash\": \"{{data.password}}\",\n \"project_id\": \"{{lastId}}\",\n \"role_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing user_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/users.js:12" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED PUT /users/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/users/:id", + "body": { + "mode": "raw", + "raw": "{\n \"avatar_data_url\": \"{{data.avatar_data_url}}\",\n \"is_workspace_admin\": true,\n \"name\": \"{{data.name}}\",\n \"password\": \"{{data.password}}\",\n \"password_hash\": \"{{data.password}}\",\n \"role_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing email', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/users.js:52" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED PUT /users/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/users/:id", + "body": { + "mode": "raw", + "raw": "{\n \"avatar_data_url\": \"{{data.avatar_data_url}}\",\n \"email\": \"{{data.email}}\",\n \"is_workspace_admin\": true,\n \"password\": \"{{data.password}}\",\n \"password_hash\": \"{{data.password}}\",\n \"role_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing name', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/users.js:52" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED PUT /users/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/users/:id", + "body": { + "mode": "raw", + "raw": "{\n \"avatar_data_url\": \"{{data.avatar_data_url}}\",\n \"email\": \"{{data.email}}\",\n \"is_workspace_admin\": true,\n \"name\": \"{{data.name}}\",\n \"password_hash\": \"{{data.password}}\",\n \"role_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing password', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/users.js:52" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED PUT /users/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/users/:id", + "body": { + "mode": "raw", + "raw": "{\n \"avatar_data_url\": \"{{data.avatar_data_url}}\",\n \"email\": \"{{data.email}}\",\n \"is_workspace_admin\": true,\n \"name\": \"{{data.name}}\",\n \"password\": \"{{data.password}}\",\n \"password_hash\": \"{{data.password}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing role_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/users.js:52" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /api/v1/mobile/recorder/sessions/:id/input", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/api/v1/mobile/recorder/sessions/:id/input", + "body": { + "mode": "raw", + "raw": "{\n \"height\": \"{{data.height}}\",\n \"value\": \"{{data.value}}\",\n \"width\": \"{{data.width}}\",\n \"x\": \"{{data.x}}\",\n \"y\": \"{{data.y}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing type', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: local-run/mobile-engine/src/server.js:555" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /api/v1/recorder/sessions", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/api/v1/recorder/sessions", + "body": { + "mode": "raw", + "raw": "{\n \"locator\": \"{{data.locator}}\",\n \"source\": \"{{data.source}}\",\n \"text\": \"{{data.text}}\",\n \"timestamp\": \"{{data.timestamp}}\",\n \"url\": \"{{data.url}}\",\n \"value\": \"{{data.value}}\",\n \"x\": \"{{data.x}}\",\n \"y\": \"{{data.y}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing type', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: testengine/backend/src/lib/recorder.ts:2188" + } + ] +} \ No newline at end of file diff --git a/qaira-generated/generated/openapi.json b/qaira-generated/generated/openapi.json new file mode 100644 index 0000000..0256898 --- /dev/null +++ b/qaira-generated/generated/openapi.json @@ -0,0 +1,16972 @@ +{ + "openapi": "3.0.0", + "info": { + "title": "Generated API Contract", + "version": "1.0.0", + "description": "Generated by QAira semantic compiler from source-code analysis." + }, + "servers": [ + { + "url": "{{baseUrl}}", + "description": "Configured base URL" + } + ], + "paths": { + "/projects/:project_id/knowledge": { + "get": { + "summary": "GET /projects/:project_id/knowledge", + "description": "Generated from `backend/api/src/routes/aiKnowledge.routes.js` line `5`", + "parameters": [ + { + "name": "project_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "items" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/aiKnowledge.routes.js", + "line": 5, + "confidence": 0.9 + } + }, + "post": { + "summary": "POST /projects/:project_id/knowledge", + "description": "Generated from `backend/api/src/routes/aiKnowledge.routes.js` line `12`", + "parameters": [ + { + "name": "project_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "item" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/aiKnowledge.routes.js", + "line": 12, + "confidence": 0.9 + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PostProjectsKnowledgeRequest" + }, + "example": { + "app_type_id": "{{lastId}}", + "asset_type": "{{data.asset_type}}", + "content": "{{data.content}}", + "content_type": "{{data.content_type}}", + "description": "{{data.description}}", + "embedding": "{{data.embedding}}", + "feature_name": "{{data.feature_name}}", + "is_active": true, + "item_status": "{{data.item_status}}", + "item_version": "{{data.item_version}}", + "linked_test_cases": "{{data.linked_test_cases}}", + "metadata": "{{data.metadata}}", + "module_name": "{{data.module_name}}", + "priority": "{{data.priority}}", + "source": "{{data.source}}", + "source_uri": "{{data.source_uri}}", + "title": "{{data.title}}" + } + } + } + } + } + }, + "/projects/:project_id/knowledge/:id": { + "put": { + "summary": "PUT /projects/:project_id/knowledge/:id", + "description": "Generated from `backend/api/src/routes/aiKnowledge.routes.js` line `19`", + "parameters": [ + { + "name": "project_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + }, + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "item" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/aiKnowledge.routes.js", + "line": 19, + "confidence": 0.9 + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PutProjectsKnowledgeRequest" + }, + "example": { + "app_type_id": "{{lastId}}", + "asset_type": "{{data.asset_type}}", + "content": "{{data.content}}", + "content_type": "{{data.content_type}}", + "description": "{{data.description}}", + "embedding": "{{data.embedding}}", + "feature_name": "{{data.feature_name}}", + "is_active": true, + "item_status": "{{data.item_status}}", + "item_version": "{{data.item_version}}", + "linked_test_cases": "{{data.linked_test_cases}}", + "metadata": "{{data.metadata}}", + "module_name": "{{data.module_name}}", + "priority": "{{data.priority}}", + "source": "{{data.source}}", + "source_uri": "{{data.source_uri}}", + "title": "{{data.title}}" + } + } + } + } + }, + "delete": { + "summary": "DELETE /projects/:project_id/knowledge/:id", + "description": "Generated from `backend/api/src/routes/aiKnowledge.routes.js` line `78`", + "parameters": [ + { + "name": "project_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + }, + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "aiKnowledgeService" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/aiKnowledge.routes.js", + "line": 78, + "confidence": 0.65 + } + } + }, + "/projects/:project_id/knowledge/search": { + "get": { + "summary": "GET /projects/:project_id/knowledge/search", + "description": "Generated from `backend/api/src/routes/aiKnowledge.routes.js` line `26`", + "parameters": [ + { + "name": "project_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + }, + { + "name": "app_type_id", + "in": "query", + "required": false, + "schema": { + "type": "string" + }, + "description": "Generated query parameter" + }, + { + "name": "asset_type", + "in": "query", + "required": false, + "schema": { + "type": "string" + }, + "description": "Generated query parameter" + }, + { + "name": "feature_name", + "in": "query", + "required": false, + "schema": { + "type": "string" + }, + "description": "Generated query parameter" + }, + { + "name": "item_status", + "in": "query", + "required": false, + "schema": { + "type": "string" + }, + "description": "Generated query parameter" + }, + { + "name": "item_version", + "in": "query", + "required": false, + "schema": { + "type": "string" + }, + "description": "Generated query parameter" + }, + { + "name": "limit", + "in": "query", + "required": false, + "schema": { + "type": "integer" + }, + "description": "Generated query parameter" + }, + { + "name": "module_name", + "in": "query", + "required": false, + "schema": { + "type": "string" + }, + "description": "Generated query parameter" + }, + { + "name": "priority", + "in": "query", + "required": false, + "schema": { + "type": "string" + }, + "description": "Generated query parameter" + }, + { + "name": "query", + "in": "query", + "required": false, + "schema": { + "type": "string" + }, + "description": "Generated query parameter" + }, + { + "name": "source", + "in": "query", + "required": false, + "schema": { + "type": "string" + }, + "description": "Generated query parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "aiKnowledgeService" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/aiKnowledge.routes.js", + "line": 26, + "confidence": 0.9 + } + } + }, + "/projects/:project_id/knowledge/context-package": { + "get": { + "summary": "GET /projects/:project_id/knowledge/context-package", + "description": "Generated from `backend/api/src/routes/aiKnowledge.routes.js` line `44`", + "parameters": [ + { + "name": "project_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + }, + { + "name": "app_type_id", + "in": "query", + "required": false, + "schema": { + "type": "string" + }, + "description": "Generated query parameter" + }, + { + "name": "asset_type", + "in": "query", + "required": false, + "schema": { + "type": "string" + }, + "description": "Generated query parameter" + }, + { + "name": "feature_name", + "in": "query", + "required": false, + "schema": { + "type": "string" + }, + "description": "Generated query parameter" + }, + { + "name": "item_version", + "in": "query", + "required": false, + "schema": { + "type": "string" + }, + "description": "Generated query parameter" + }, + { + "name": "module_name", + "in": "query", + "required": false, + "schema": { + "type": "string" + }, + "description": "Generated query parameter" + }, + { + "name": "priority", + "in": "query", + "required": false, + "schema": { + "type": "string" + }, + "description": "Generated query parameter" + }, + { + "name": "query", + "in": "query", + "required": false, + "schema": { + "type": "string" + }, + "description": "Generated query parameter" + }, + { + "name": "source_id", + "in": "query", + "required": false, + "schema": { + "type": "string" + }, + "description": "Generated query parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "aiKnowledgeService" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/aiKnowledge.routes.js", + "line": 44, + "confidence": 0.9 + } + } + }, + "/projects/:project_id/knowledge/relations": { + "post": { + "summary": "POST /projects/:project_id/knowledge/relations", + "description": "Generated from `backend/api/src/routes/aiKnowledge.routes.js` line `60`", + "parameters": [ + { + "name": "project_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "aiKnowledgeService" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/aiKnowledge.routes.js", + "line": 60, + "confidence": 0.9 + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PostKnowledgeRelationsRequest" + }, + "example": { + "metadata": "{{data.metadata}}", + "relation_type": "{{data.relation_type}}", + "source_id": "{{lastId}}", + "source_type": "{{data.source_type}}", + "target_id": "{{lastId}}", + "target_type": "{{data.target_type}}" + } + } + } + } + } + }, + "/projects/:project_id/knowledge/relations/source/:source_id": { + "get": { + "summary": "GET /projects/:project_id/knowledge/relations/source/:source_id", + "description": "Generated from `backend/api/src/routes/aiKnowledge.routes.js` line `66`", + "parameters": [ + { + "name": "project_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + }, + { + "name": "source_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "aiKnowledgeService" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/aiKnowledge.routes.js", + "line": 66, + "confidence": 0.9 + } + } + }, + "/projects/:project_id/knowledge/relations/target/:target_id": { + "get": { + "summary": "GET /projects/:project_id/knowledge/relations/target/:target_id", + "description": "Generated from `backend/api/src/routes/aiKnowledge.routes.js` line `72`", + "parameters": [ + { + "name": "project_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + }, + { + "name": "target_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "aiKnowledgeService" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/aiKnowledge.routes.js", + "line": 72, + "confidence": 0.9 + } + } + }, + "/ai-prompt-templates": { + "get": { + "summary": "GET /ai-prompt-templates", + "description": "Generated from `backend/api/src/routes/aiPromptTemplates.routes.js` line `32`", + "parameters": [], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/aiPromptTemplates.routes.js", + "line": 32, + "confidence": 0.9 + } + }, + "post": { + "summary": "POST /ai-prompt-templates", + "description": "Generated from `backend/api/src/routes/aiPromptTemplates.routes.js` line `43`", + "parameters": [], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/aiPromptTemplates.routes.js", + "line": 43, + "confidence": 0.9 + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PostAi-prompt-templatesRequest" + }, + "example": { + "app_type_id": "{{lastId}}", + "created_by": "{{data.created_by}}", + "project_id": "{{lastId}}" + } + } + } + } + } + }, + "/ai-prompt-templates/:id": { + "put": { + "summary": "PUT /ai-prompt-templates/:id", + "description": "Generated from `backend/api/src/routes/aiPromptTemplates.routes.js` line `71`", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/aiPromptTemplates.routes.js", + "line": 71, + "confidence": 0.9 + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PutAi-prompt-templatesRequest" + }, + "example": { + "app_type_id": "{{lastId}}" + } + } + } + } + }, + "delete": { + "summary": "DELETE /ai-prompt-templates/:id", + "description": "Generated from `backend/api/src/routes/aiPromptTemplates.routes.js` line `102`", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/aiPromptTemplates.routes.js", + "line": 102, + "confidence": 0.65 + } + } + }, + "/app-types": { + "post": { + "summary": "POST /app-types", + "description": "Generated from `backend/api/src/routes/appTypes.routes.js` line `8`", + "parameters": [], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/appTypes.routes.js", + "line": 8, + "confidence": 0.9 + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PostApp-typesRequest" + }, + "example": { + "is_unified": true, + "name": "{{data.name}}", + "project_id": "{{lastId}}", + "type": "{{data.type}}" + } + } + } + } + }, + "get": { + "summary": "GET /app-types", + "description": "Generated from `backend/api/src/routes/appTypes.routes.js` line `26`", + "parameters": [], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/appTypes.routes.js", + "line": 26, + "confidence": 0.9 + } + } + }, + "/app-types/:id": { + "get": { + "summary": "GET /app-types/:id", + "description": "Generated from `backend/api/src/routes/appTypes.routes.js` line `40`", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "appType" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/appTypes.routes.js", + "line": 40, + "confidence": 0.9 + } + }, + "put": { + "summary": "PUT /app-types/:id", + "description": "Generated from `backend/api/src/routes/appTypes.routes.js` line `50`", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/appTypes.routes.js", + "line": 50, + "confidence": 0.9 + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PutApp-typesRequest" + }, + "example": { + "is_unified": true, + "name": "{{data.name}}" + } + } + } + } + }, + "delete": { + "summary": "DELETE /app-types/:id", + "description": "Generated from `backend/api/src/routes/appTypes.routes.js` line `67`", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/appTypes.routes.js", + "line": 67, + "confidence": 0.65 + } + } + }, + "/auth/setup": { + "get": { + "summary": "GET /auth/setup", + "description": "Generated from `backend/api/src/routes/auth.routes.js` line `14`", + "parameters": [], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/auth.routes.js", + "line": 14, + "confidence": 0.9 + } + } + }, + "/auth/signup/request-code": { + "post": { + "summary": "POST /auth/signup/request-code", + "description": "Generated from `backend/api/src/routes/auth.routes.js` line `18`", + "parameters": [], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/auth.routes.js", + "line": 18, + "confidence": 0.9 + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": {}, + "additionalProperties": true, + "x-qaira-body-detected": true, + "x-qaira-fields-known": false, + "x-qaira-source": "body_presence_detected" + }, + "example": {} + } + } + } + } + }, + "/auth/signup/verify": { + "post": { + "summary": "POST /auth/signup/verify", + "description": "Generated from `backend/api/src/routes/auth.routes.js` line `28`", + "parameters": [], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/auth.routes.js", + "line": 28, + "confidence": 0.9 + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": {}, + "additionalProperties": true, + "x-qaira-body-detected": true, + "x-qaira-fields-known": false, + "x-qaira-source": "body_presence_detected" + }, + "example": {} + } + } + } + } + }, + "/auth/login": { + "post": { + "summary": "POST /auth/login", + "description": "Generated from `backend/api/src/routes/auth.routes.js` line `37`", + "parameters": [], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/auth.routes.js", + "line": 37, + "confidence": 0.9 + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": {}, + "additionalProperties": true, + "x-qaira-body-detected": true, + "x-qaira-fields-known": false, + "x-qaira-source": "body_presence_detected" + }, + "example": {} + } + } + } + } + }, + "/auth/login/google": { + "post": { + "summary": "POST /auth/login/google", + "description": "Generated from `backend/api/src/routes/auth.routes.js` line `46`", + "parameters": [], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/auth.routes.js", + "line": 46, + "confidence": 0.9 + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": {}, + "additionalProperties": true, + "x-qaira-body-detected": true, + "x-qaira-fields-known": false, + "x-qaira-source": "body_presence_detected" + }, + "example": {} + } + } + } + } + }, + "/auth/forgot-password/request-code": { + "post": { + "summary": "POST /auth/forgot-password/request-code", + "description": "Generated from `backend/api/src/routes/auth.routes.js` line `54`", + "parameters": [], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/auth.routes.js", + "line": 54, + "confidence": 0.9 + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": {}, + "additionalProperties": true, + "x-qaira-body-detected": true, + "x-qaira-fields-known": false, + "x-qaira-source": "body_presence_detected" + }, + "example": {} + } + } + } + } + }, + "/auth/forgot-password/verify": { + "post": { + "summary": "POST /auth/forgot-password/verify", + "description": "Generated from `backend/api/src/routes/auth.routes.js` line `63`", + "parameters": [], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/auth.routes.js", + "line": 63, + "confidence": 0.9 + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": {}, + "additionalProperties": true, + "x-qaira-body-detected": true, + "x-qaira-fields-known": false, + "x-qaira-source": "body_presence_detected" + }, + "example": {} + } + } + } + } + }, + "/auth/session": { + "get": { + "summary": "GET /auth/session", + "description": "Generated from `backend/api/src/routes/auth.routes.js` line `72`", + "parameters": [], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/auth.routes.js", + "line": 72, + "confidence": 0.9 + } + } + }, + "/automation-generator/internal/jobs/lease": { + "post": { + "summary": "POST /automation-generator/internal/jobs/lease", + "description": "Generated from `backend/api/src/routes/automationGenerator.routes.js` line `4`", + "parameters": [], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/automationGenerator.routes.js", + "line": 4, + "confidence": 0.9 + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": {}, + "additionalProperties": true, + "x-qaira-body-detected": true, + "x-qaira-fields-known": false, + "x-qaira-source": "body_presence_detected" + }, + "example": {} + } + } + } + } + }, + "/automation-generator/internal/jobs/:id": { + "get": { + "summary": "GET /automation-generator/internal/jobs/:id", + "description": "Generated from `backend/api/src/routes/automationGenerator.routes.js` line `16`", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/automationGenerator.routes.js", + "line": 16, + "confidence": 0.9 + } + } + }, + "/automation-generator/internal/jobs/:id/run": { + "post": { + "summary": "POST /automation-generator/internal/jobs/:id/run", + "description": "Generated from `backend/api/src/routes/automationGenerator.routes.js` line `21`", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/automationGenerator.routes.js", + "line": 21, + "confidence": 0.9 + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PostJobsRunRequest" + }, + "example": { + "additional_context": "{{data.additional_context}}", + "agent_plan": "{{data.agent_plan}}", + "integration_id": "{{lastId}}", + "job_id": "{{lastId}}", + "llm_model": "{{data.llm_model}}", + "start_url": "{{data.start_url}}", + "test_case_id": "{{lastId}}", + "test_configuration_id": "{{lastId}}", + "test_data_set_id": "{{lastId}}", + "test_environment_id": "{{lastId}}", + "title": "{{data.title}}", + "worker_id": "{{lastId}}" + } + } + } + } + } + }, + "/metadata/domain": { + "get": { + "summary": "GET /metadata/domain", + "description": "Generated from `backend/api/src/routes/domainMetadata.routes.js` line `4`", + "parameters": [], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/domainMetadata.routes.js", + "line": 4, + "confidence": 0.9 + } + } + }, + "/api/engine/runs/claim": { + "post": { + "summary": "POST /api/engine/runs/claim", + "description": "Generated from `backend/api/src/routes/engine.routes.js` line `4`", + "parameters": [], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "claim" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/engine.routes.js", + "line": 4, + "confidence": 0.9 + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PostRunsClaimRequest" + }, + "example": { + "engine_id": "{{lastId}}" + } + } + } + } + } + }, + "/api/engine/runs/:runId/snapshot": { + "get": { + "summary": "GET /api/engine/runs/:runId/snapshot", + "description": "Generated from `backend/api/src/routes/engine.routes.js` line `20`", + "parameters": [ + { + "name": "runId", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/engine.routes.js", + "line": 20, + "confidence": 0.9 + } + } + }, + "/api/engine/runs/:runId/heartbeat": { + "post": { + "summary": "POST /api/engine/runs/:runId/heartbeat", + "description": "Generated from `backend/api/src/routes/engine.routes.js` line `25`", + "parameters": [ + { + "name": "runId", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/engine.routes.js", + "line": 25, + "confidence": 0.9 + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PostRunsHeartbeatRequest" + }, + "example": { + "engine_id": "{{lastId}}", + "heartbeat_at": "{{data.heartbeat_at}}", + "leased_by": "{{data.leased_by}}", + "updated_at": "{{data.updated_at}}" + } + } + } + } + } + }, + "/api/runs/:runId/status": { + "get": { + "summary": "GET /api/runs/:runId/status", + "description": "Generated from `backend/api/src/routes/engine.routes.js` line `35`", + "parameters": [ + { + "name": "runId", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/engine.routes.js", + "line": 35, + "confidence": 0.9 + } + } + }, + "/api/runs/:runId/results": { + "get": { + "summary": "GET /api/runs/:runId/results", + "description": "Generated from `backend/api/src/routes/engine.routes.js` line `40`", + "parameters": [ + { + "name": "runId", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/engine.routes.js", + "line": 40, + "confidence": 0.9 + } + } + }, + "/api/runs/:runId/logs": { + "get": { + "summary": "GET /api/runs/:runId/logs", + "description": "Generated from `backend/api/src/routes/engine.routes.js` line `45`", + "parameters": [ + { + "name": "runId", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/engine.routes.js", + "line": 45, + "confidence": 0.9 + } + } + }, + "/api/runs/:runId/artifacts": { + "get": { + "summary": "GET /api/runs/:runId/artifacts", + "description": "Generated from `backend/api/src/routes/engine.routes.js` line `50`", + "parameters": [ + { + "name": "runId", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/engine.routes.js", + "line": 50, + "confidence": 0.9 + } + } + }, + "/execution-results": { + "post": { + "summary": "POST /execution-results", + "description": "Generated from `backend/api/src/routes/executionResults.routes.js` line `7`", + "parameters": [], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/executionResults.routes.js", + "line": 7, + "confidence": 0.9 + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PostExecution-resultsRequest" + }, + "example": { + "app_type_id": "{{lastId}}", + "defects": "{{data.defects}}", + "duration_ms": "{{data.duration_ms}}", + "error": "{{data.error}}", + "executed_by": "{{data.executed_by}}", + "execution_id": "{{lastId}}", + "external_references": "{{data.external_references}}", + "logs": "{{data.logs}}", + "status": "{{data.status}}", + "suite_id": "{{lastId}}", + "suite_name": "{{data.suite_name}}", + "test_case_id": "{{lastId}}", + "test_case_title": "{{data.test_case_title}}" + } + } + } + } + }, + "get": { + "summary": "GET /execution-results", + "description": "Generated from `backend/api/src/routes/executionResults.routes.js` line `28`", + "parameters": [], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/executionResults.routes.js", + "line": 28, + "confidence": 0.9 + } + } + }, + "/execution-results/:id": { + "get": { + "summary": "GET /execution-results/:id", + "description": "Generated from `backend/api/src/routes/executionResults.routes.js` line `42`", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/executionResults.routes.js", + "line": 42, + "confidence": 0.9 + } + }, + "put": { + "summary": "PUT /execution-results/:id", + "description": "Generated from `backend/api/src/routes/executionResults.routes.js` line `49`", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/executionResults.routes.js", + "line": 49, + "confidence": 0.9 + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PutExecution-resultsRequest" + }, + "example": { + "defects": "{{data.defects}}", + "duration_ms": "{{data.duration_ms}}", + "error": "{{data.error}}", + "executed_by": "{{data.executed_by}}", + "external_references": "{{data.external_references}}", + "logs": "{{data.logs}}", + "status": "{{data.status}}" + } + } + } + } + }, + "delete": { + "summary": "DELETE /execution-results/:id", + "description": "Generated from `backend/api/src/routes/executionResults.routes.js` line `66`", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/executionResults.routes.js", + "line": 66, + "confidence": 0.65 + } + } + }, + "/execution-schedules": { + "post": { + "summary": "POST /execution-schedules", + "description": "Generated from `backend/api/src/routes/executionSchedules.routes.js` line `5`", + "parameters": [], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/executionSchedules.routes.js", + "line": 5, + "confidence": 0.9 + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PostExecution-schedulesRequest" + }, + "example": { + "app_type_id": "{{lastId}}", + "assigned_to": "{{data.assigned_to}}", + "cadence": "{{data.cadence}}", + "created_by": "{{data.created_by}}", + "is_active": true, + "name": "{{data.name}}", + "next_run_at": "{{data.next_run_at}}", + "project_id": "{{lastId}}", + "suite_ids": "{{data.suite_ids}}", + "test_case_ids": "{{data.test_case_ids}}", + "test_configuration_id": "{{lastId}}", + "test_data_set_id": "{{lastId}}", + "test_environment_id": "{{lastId}}" + } + } + } + } + }, + "get": { + "summary": "GET /execution-schedules", + "description": "Generated from `backend/api/src/routes/executionSchedules.routes.js` line `28`", + "parameters": [ + { + "name": "app_type_id", + "in": "query", + "required": false, + "schema": { + "type": "string" + }, + "description": "Generated query parameter" + }, + { + "name": "is_active", + "in": "query", + "required": false, + "schema": { + "type": "string" + }, + "description": "Generated query parameter" + }, + { + "name": "project_id", + "in": "query", + "required": false, + "schema": { + "type": "string" + }, + "description": "Generated query parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/executionSchedules.routes.js", + "line": 28, + "confidence": 0.9 + } + } + }, + "/execution-schedules/:id": { + "get": { + "summary": "GET /execution-schedules/:id", + "description": "Generated from `backend/api/src/routes/executionSchedules.routes.js` line `44`", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "schedule" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/executionSchedules.routes.js", + "line": 44, + "confidence": 0.9 + } + }, + "put": { + "summary": "PUT /execution-schedules/:id", + "description": "Generated from `backend/api/src/routes/executionSchedules.routes.js` line `51`", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/executionSchedules.routes.js", + "line": 51, + "confidence": 0.9 + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PutExecution-schedulesRequest" + }, + "example": { + "app_type_id": "{{lastId}}", + "assigned_to": "{{data.assigned_to}}", + "cadence": "{{data.cadence}}", + "name": "{{data.name}}", + "next_run_at": "{{data.next_run_at}}", + "project_id": "{{lastId}}", + "suite_ids": "{{data.suite_ids}}", + "test_case_ids": "{{data.test_case_ids}}", + "test_configuration_id": "{{lastId}}", + "test_data_set_id": "{{lastId}}", + "test_environment_id": "{{lastId}}" + } + } + } + } + }, + "delete": { + "summary": "DELETE /execution-schedules/:id", + "description": "Generated from `backend/api/src/routes/executionSchedules.routes.js` line `83`", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/executionSchedules.routes.js", + "line": 83, + "confidence": 0.65 + } + } + }, + "/execution-schedules/:id/run": { + "post": { + "summary": "POST /execution-schedules/:id/run", + "description": "Generated from `backend/api/src/routes/executionSchedules.routes.js` line `76`", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/executionSchedules.routes.js", + "line": 76, + "confidence": 0.65 + } + } + }, + "/executions/smart-plan-preview": { + "post": { + "summary": "POST /executions/smart-plan-preview", + "description": "Generated from `backend/api/src/routes/executions.routes.js` line `11`", + "parameters": [], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "executionPlanningService" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/executions.routes.js", + "line": 11, + "confidence": 0.9 + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PostExecutionsSmart-plan-previewRequest" + }, + "example": { + "additional_context": "{{data.additional_context}}", + "appType": "{{data.appType}}", + "app_type_id": "{{lastId}}", + "cases": "{{data.cases}}", + "impacted_requirement_ids": "{{data.impacted_requirement_ids}}", + "integration_id": "{{lastId}}", + "project_id": "{{lastId}}", + "release_scope": "{{data.release_scope}}", + "testCases": "{{data.testCases}}", + "test_cases": "{{data.test_cases}}", + "test_configuration_id": "{{lastId}}", + "test_data_set_id": "{{lastId}}", + "test_environment_id": "{{lastId}}" + } + } + } + } + } + }, + "/executions/manual-run-suggestion": { + "post": { + "summary": "POST /executions/manual-run-suggestion", + "description": "Generated from `backend/api/src/routes/executions.routes.js` line `46`", + "parameters": [], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "executionPlanningService" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/executions.routes.js", + "line": 46, + "confidence": 0.9 + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PostExecutionsManual-run-suggestionRequest" + }, + "example": { + "additional_context": "{{data.additional_context}}", + "app_type_id": "{{lastId}}", + "integration_id": "{{lastId}}", + "project_id": "{{lastId}}", + "selected_suite_ids": "{{data.selected_suite_ids}}", + "test_configuration_id": "{{lastId}}", + "test_data_set_id": "{{lastId}}", + "test_environment_id": "{{lastId}}" + } + } + } + } + } + }, + "/executions": { + "post": { + "summary": "POST /executions", + "description": "Generated from `backend/api/src/routes/executions.routes.js` line `80`", + "parameters": [], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/executions.routes.js", + "line": 80, + "confidence": 0.9 + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PostExecutionsRequest" + }, + "example": { + "app_type_id": "{{lastId}}", + "assigned_to": "{{data.assigned_to}}", + "created_by": "{{data.created_by}}", + "execution_hooks": "{{data.execution_hooks}}", + "name": "{{data.name}}", + "parallel_count": 1, + "parallel_enabled": "{{data.parallel_enabled}}", + "project_id": "{{lastId}}", + "status": "{{data.status}}", + "test_configuration_id": "{{lastId}}", + "test_configuration_name": "{{data.test_configuration_name}}", + "test_configuration_snapshot": "{{data.test_configuration_snapshot}}", + "test_data_set_id": "{{lastId}}", + "test_data_set_name": "{{data.test_data_set_name}}", + "test_data_set_snapshot": "{{data.test_data_set_snapshot}}", + "test_environment_id": "{{lastId}}", + "test_environment_name": "{{data.test_environment_name}}", + "test_environment_snapshot": "{{data.test_environment_snapshot}}", + "trigger": "{{data.trigger}}" + } + } + } + } + }, + "get": { + "summary": "GET /executions", + "description": "Generated from `backend/api/src/routes/executions.routes.js` line `133`", + "parameters": [], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/executions.routes.js", + "line": 133, + "confidence": 0.9 + } + } + }, + "/executions/local-run": { + "post": { + "summary": "POST /executions/local-run", + "description": "Generated from `backend/api/src/routes/executions.routes.js` line `107`", + "parameters": [], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/executions.routes.js", + "line": 107, + "confidence": 0.9 + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PostExecutionsLocal-runRequest" + }, + "example": { + "created_by": "{{data.created_by}}", + "ended_at": "{{data.ended_at}}", + "engine_base_url": "{{data.engine_base_url}}", + "name": "{{data.name}}", + "project_id": "{{lastId}}", + "status": "{{data.status}}" + } + } + } + } + } + }, + "/executions/:id": { + "get": { + "summary": "GET /executions/:id", + "description": "Generated from `backend/api/src/routes/executions.routes.js` line `157`", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "execution" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/executions.routes.js", + "line": 157, + "confidence": 0.9 + } + }, + "put": { + "summary": "PUT /executions/:id", + "description": "Generated from `backend/api/src/routes/executions.routes.js` line `165`", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/executions.routes.js", + "line": 165, + "confidence": 0.9 + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PutExecutionsRequest" + }, + "example": { + "assigned_to": "{{data.assigned_to}}" + } + } + } + } + }, + "delete": { + "summary": "DELETE /executions/:id", + "description": "Generated from `backend/api/src/routes/executions.routes.js` line `308`", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/executions.routes.js", + "line": 308, + "confidence": 0.65 + } + } + }, + "/executions/:id/cases/:testCaseId/assignment": { + "put": { + "summary": "PUT /executions/:id/cases/:testCaseId/assignment", + "description": "Generated from `backend/api/src/routes/executions.routes.js` line `178`", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + }, + { + "name": "testCaseId", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/executions.routes.js", + "line": 178, + "confidence": 0.9 + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PutCasesAssignmentRequest" + }, + "example": { + "assigned_to": "{{data.assigned_to}}" + } + } + } + } + } + }, + "/executions/:id/rerun": { + "post": { + "summary": "POST /executions/:id/rerun", + "description": "Generated from `backend/api/src/routes/executions.routes.js` line `191`", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/executions.routes.js", + "line": 191, + "confidence": 0.9 + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PostExecutionsRerunRequest" + }, + "example": { + "app_type_id": "{{lastId}}", + "assigned_to": "{{data.assigned_to}}", + "created_by": "{{data.created_by}}", + "name": "{{data.name}}", + "project_id": "{{lastId}}", + "status": "{{data.status}}", + "test_configuration_id": "{{lastId}}", + "test_configuration_name": "{{data.test_configuration_name}}", + "test_configuration_snapshot": "{{data.test_configuration_snapshot}}", + "test_data_set_id": "{{lastId}}", + "test_data_set_name": "{{data.test_data_set_name}}", + "test_data_set_snapshot": "{{data.test_data_set_snapshot}}", + "test_environment_id": "{{lastId}}", + "test_environment_name": "{{data.test_environment_name}}", + "test_environment_snapshot": "{{data.test_environment_snapshot}}", + "trigger": "{{data.trigger}}" + } + } + } + } + } + }, + "/executions/:id/start": { + "post": { + "summary": "POST /executions/:id/start", + "description": "Generated from `backend/api/src/routes/executions.routes.js` line `208`", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/executions.routes.js", + "line": 208, + "confidence": 0.9 + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PostExecutionsStartRequest" + }, + "example": { + "engine_base_url": "{{data.engine_base_url}}", + "execution_mode": "{{data.execution_mode}}", + "initiated_by": "{{data.initiated_by}}", + "skip_testengine_dispatch": "{{data.skip_testengine_dispatch}}", + "started_at": "{{data.started_at}}", + "status": "{{data.status}}", + "trigger": "{{data.trigger}}" + } + } + } + } + } + }, + "/executions/:id/cases/:testCaseId/steps/:stepId/run": { + "post": { + "summary": "POST /executions/:id/cases/:testCaseId/steps/:stepId/run", + "description": "Generated from `backend/api/src/routes/executions.routes.js` line `220`", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + }, + { + "name": "testCaseId", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + }, + { + "name": "stepId", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/executions.routes.js", + "line": 220, + "confidence": 0.9 + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PostStepsRunRequest" + }, + "example": { + "executed_by": "{{data.executed_by}}" + } + } + } + } + } + }, + "/executions/:id/cases/:testCaseId/ai-analysis": { + "post": { + "summary": "POST /executions/:id/cases/:testCaseId/ai-analysis", + "description": "Generated from `backend/api/src/routes/executions.routes.js` line `231`", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + }, + { + "name": "testCaseId", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "executionAiAnalysisService" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/executions.routes.js", + "line": 231, + "confidence": 0.9 + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PostCasesAi-analysisRequest" + }, + "example": { + "execution": "{{data.execution}}", + "requestedBy": "{{data.requestedBy}}", + "testCaseId": "{{lastId}}" + } + } + } + } + } + }, + "/executions/:id/report.pdf": { + "get": { + "summary": "GET /executions/:id/report.pdf", + "description": "Generated from `backend/api/src/routes/executions.routes.js` line `244`", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "pdf", + "reply" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/executions.routes.js", + "line": 244, + "confidence": 0.9 + } + } + }, + "/executions/:id/report.html": { + "get": { + "summary": "GET /executions/:id/report.html", + "description": "Generated from `backend/api/src/routes/executions.routes.js` line `262`", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "html", + "reply" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/executions.routes.js", + "line": 262, + "confidence": 0.9 + } + } + }, + "/executions/:id/share-report": { + "post": { + "summary": "POST /executions/:id/share-report", + "description": "Generated from `backend/api/src/routes/executions.routes.js` line `273`", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "executionReportService" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/executions.routes.js", + "line": 273, + "confidence": 0.9 + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PostExecutionsShare-reportRequest" + }, + "example": { + "execution_id": "{{lastId}}", + "recipients": "{{data.recipients}}", + "requested_by": "{{data.requested_by}}" + } + } + } + } + } + }, + "/executions/:id/complete": { + "post": { + "summary": "POST /executions/:id/complete", + "description": "Generated from `backend/api/src/routes/executions.routes.js` line `292`", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/executions.routes.js", + "line": 292, + "confidence": 0.9 + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PostExecutionsCompleteRequest" + }, + "example": { + "ended_at": "{{data.ended_at}}", + "status": "{{data.status}}" + } + } + } + } + } + }, + "/feedback": { + "post": { + "summary": "POST /feedback", + "description": "Generated from `backend/api/src/routes/feedback.routes.js` line `5`", + "parameters": [], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/feedback.routes.js", + "line": 5, + "confidence": 0.9 + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PostFeedbackRequest" + }, + "example": { + "message": "{{data.message}}", + "status": "{{data.status}}", + "title": "{{data.title}}", + "user_id": "{{lastId}}" + } + } + } + } + }, + "get": { + "summary": "GET /feedback", + "description": "Generated from `backend/api/src/routes/feedback.routes.js` line `17`", + "parameters": [], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/feedback.routes.js", + "line": 17, + "confidence": 0.9 + } + } + }, + "/feedback/:id": { + "get": { + "summary": "GET /feedback/:id", + "description": "Generated from `backend/api/src/routes/feedback.routes.js` line `23`", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/feedback.routes.js", + "line": 23, + "confidence": 0.9 + } + }, + "put": { + "summary": "PUT /feedback/:id", + "description": "Generated from `backend/api/src/routes/feedback.routes.js` line `28`", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/feedback.routes.js", + "line": 28, + "confidence": 0.9 + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PutFeedbackRequest" + }, + "example": { + "message": "{{data.message}}", + "status": "{{data.status}}", + "title": "{{data.title}}", + "user_id": "{{lastId}}" + } + } + } + } + }, + "delete": { + "summary": "DELETE /feedback/:id", + "description": "Generated from `backend/api/src/routes/feedback.routes.js` line `40`", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/feedback.routes.js", + "line": 40, + "confidence": 0.65 + } + } + }, + "/integrations": { + "post": { + "summary": "POST /integrations", + "description": "Generated from `backend/api/src/routes/integrations.routes.js` line `130`", + "parameters": [], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/integrations.routes.js", + "line": 130, + "confidence": 0.9 + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PostIntegrationsRequest" + }, + "example": { + "api_key": "{{data.api_key}}", + "base_url": "{{data.base_url}}", + "config": "{{data.config}}", + "is_active": true, + "model": "{{data.model}}", + "name": "{{data.name}}", + "project_key": "{{data.project_key}}", + "type": "{{data.type}}", + "updated_at": "{{data.updated_at}}", + "username": "{{data.username}}" + } + } + } + } + }, + "get": { + "summary": "GET /integrations", + "description": "Generated from `backend/api/src/routes/integrations.routes.js` line `148`", + "parameters": [], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "scopedIntegrations" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/integrations.routes.js", + "line": 148, + "confidence": 0.9 + } + } + }, + "/integrations/test-connection": { + "post": { + "summary": "POST /integrations/test-connection", + "description": "Generated from `backend/api/src/routes/integrations.routes.js` line `164`", + "parameters": [], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/integrations.routes.js", + "line": 164, + "confidence": 0.9 + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PostIntegrationsTest-connectionRequest" + }, + "example": { + "api_key": "{{data.api_key}}", + "base_url": "{{data.base_url}}", + "config": "{{data.config}}", + "type": "{{data.type}}" + } + } + } + } + } + }, + "/integrations/:id": { + "get": { + "summary": "GET /integrations/:id", + "description": "Generated from `backend/api/src/routes/integrations.routes.js` line `177`", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "sanitizeIntegration" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/integrations.routes.js", + "line": 177, + "confidence": 0.9 + } + }, + "put": { + "summary": "PUT /integrations/:id", + "description": "Generated from `backend/api/src/routes/integrations.routes.js` line `190`", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/integrations.routes.js", + "line": 190, + "confidence": 0.9 + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PutIntegrationsRequest" + }, + "example": { + "api_key": "{{data.api_key}}", + "base_url": "{{data.base_url}}", + "config": "{{data.config}}", + "is_active": true, + "model": "{{data.model}}", + "name": "{{data.name}}", + "project_key": "{{data.project_key}}", + "type": "{{data.type}}", + "updated_at": "{{data.updated_at}}", + "username": "{{data.username}}" + } + } + } + } + }, + "delete": { + "summary": "DELETE /integrations/:id", + "description": "Generated from `backend/api/src/routes/integrations.routes.js` line `208`", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/integrations.routes.js", + "line": 208, + "confidence": 0.65 + } + } + }, + "/local-agent/status": { + "get": { + "summary": "GET /local-agent/status", + "description": "Generated from `backend/api/src/routes/localAgent.routes.js` line `4`", + "parameters": [], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/localAgent.routes.js", + "line": 4, + "confidence": 0.9 + } + } + }, + "/local-agent/start": { + "post": { + "summary": "POST /local-agent/start", + "description": "Generated from `backend/api/src/routes/localAgent.routes.js` line `9`", + "parameters": [], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/localAgent.routes.js", + "line": 9, + "confidence": 0.9 + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": {}, + "additionalProperties": true, + "x-qaira-body-detected": true, + "x-qaira-fields-known": false, + "x-qaira-source": "body_presence_detected" + }, + "example": {} + } + } + } + } + }, + "/ops-telemetry/logs": { + "delete": { + "summary": "DELETE /ops-telemetry/logs", + "description": "Generated from `backend/api/src/routes/opsTelemetry.routes.js` line `5`", + "parameters": [], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "opsTelemetryService" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/opsTelemetry.routes.js", + "line": 5, + "confidence": 0.65 + } + } + }, + "/project-members": { + "post": { + "summary": "POST /project-members", + "description": "Generated from `backend/api/src/routes/projectMembers.routes.js` line `4`", + "parameters": [], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/projectMembers.routes.js", + "line": 4, + "confidence": 0.9 + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PostProject-membersRequest" + }, + "example": { + "project_id": "{{lastId}}", + "role_id": "{{lastId}}", + "user_id": "{{lastId}}" + } + } + } + } + }, + "get": { + "summary": "GET /project-members", + "description": "Generated from `backend/api/src/routes/projectMembers.routes.js` line `14`", + "parameters": [], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/projectMembers.routes.js", + "line": 14, + "confidence": 0.9 + } + } + }, + "/project-members/:id": { + "get": { + "summary": "GET /project-members/:id", + "description": "Generated from `backend/api/src/routes/projectMembers.routes.js` line `19`", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/projectMembers.routes.js", + "line": 19, + "confidence": 0.9 + } + }, + "put": { + "summary": "PUT /project-members/:id", + "description": "Generated from `backend/api/src/routes/projectMembers.routes.js` line `23`", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/projectMembers.routes.js", + "line": 23, + "confidence": 0.9 + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PutProject-membersRequest" + }, + "example": { + "project_id": "{{lastId}}", + "role_id": "{{lastId}}", + "user_id": "{{lastId}}" + } + } + } + } + }, + "delete": { + "summary": "DELETE /project-members/:id", + "description": "Generated from `backend/api/src/routes/projectMembers.routes.js` line `33`", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/projectMembers.routes.js", + "line": 33, + "confidence": 0.65 + } + } + }, + "/projects/:id/sync/:provider": { + "post": { + "summary": "POST /projects/:id/sync/:provider", + "description": "Generated from `backend/api/src/routes/projectSync.routes.js` line `5`", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + }, + { + "name": "provider", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "response" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/projectSync.routes.js", + "line": 5, + "confidence": 0.9 + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PostProjectsSyncRequest" + }, + "example": { + "created_by": "{{data.created_by}}", + "project_id": "{{lastId}}", + "provider": "{{data.provider}}", + "trigger_mode": "{{data.trigger_mode}}" + } + } + } + } + } + }, + "/projects": { + "post": { + "summary": "POST /projects", + "description": "Generated from `backend/api/src/routes/projects.routes.js` line `5`", + "parameters": [], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/projects.routes.js", + "line": 5, + "confidence": 0.9 + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PostProjectsRequest" + }, + "example": { + "created_by": "{{data.created_by}}", + "description": "{{data.description}}", + "display_id": "{{lastId}}", + "name": "{{data.name}}" + } + } + } + } + }, + "get": { + "summary": "GET /projects", + "description": "Generated from `backend/api/src/routes/projects.routes.js` line `14`", + "parameters": [], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/projects.routes.js", + "line": 14, + "confidence": 0.9 + } + } + }, + "/projects/:id": { + "get": { + "summary": "GET /projects/:id", + "description": "Generated from `backend/api/src/routes/projects.routes.js` line `20`", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/projects.routes.js", + "line": 20, + "confidence": 0.9 + } + }, + "put": { + "summary": "PUT /projects/:id", + "description": "Generated from `backend/api/src/routes/projects.routes.js` line `25`", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/projects.routes.js", + "line": 25, + "confidence": 0.9 + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PutProjectsRequest" + }, + "example": { + "description": "{{data.description}}", + "name": "{{data.name}}" + } + } + } + } + }, + "delete": { + "summary": "DELETE /projects/:id", + "description": "Generated from `backend/api/src/routes/projects.routes.js` line `32`", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/projects.routes.js", + "line": 32, + "confidence": 0.65 + } + } + }, + "/requirement-test-cases": { + "get": { + "summary": "GET /requirement-test-cases", + "description": "Generated from `backend/api/src/routes/requirementTestCases.routes.js` line `4`", + "parameters": [], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/requirementTestCases.routes.js", + "line": 4, + "confidence": 0.9 + } + } + }, + "/requirement-test-cases/replace": { + "put": { + "summary": "PUT /requirement-test-cases/replace", + "description": "Generated from `backend/api/src/routes/requirementTestCases.routes.js` line `9`", + "parameters": [], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/requirementTestCases.routes.js", + "line": 9, + "confidence": 0.9 + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PutRequirement-test-casesReplaceRequest" + }, + "example": { + "requirement_id": "{{lastId}}", + "test_case_ids": "{{data.test_case_ids}}" + } + } + } + } + } + }, + "/requirements": { + "post": { + "summary": "POST /requirements", + "description": "Generated from `backend/api/src/routes/requirements.routes.js` line `8`", + "parameters": [], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/requirements.routes.js", + "line": 8, + "confidence": 0.9 + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PostRequirementsRequest" + }, + "example": { + "created_by": "{{data.created_by}}", + "description": "{{data.description}}", + "display_id": "{{lastId}}", + "external_references": "{{data.external_references}}", + "priority": "{{data.priority}}", + "project_id": "{{lastId}}", + "status": "{{data.status}}", + "title": "{{data.title}}", + "updated_at": "{{data.updated_at}}", + "updated_by": "{{data.updated_by}}" + } + } + } + } + }, + "get": { + "summary": "GET /requirements", + "description": "Generated from `backend/api/src/routes/requirements.routes.js` line `49`", + "parameters": [], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/requirements.routes.js", + "line": 49, + "confidence": 0.9 + } + } + }, + "/requirements/import": { + "post": { + "summary": "POST /requirements/import", + "description": "Generated from `backend/api/src/routes/requirements.routes.js` line `29`", + "parameters": [], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "batchProcessService" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/requirements.routes.js", + "line": 29, + "confidence": 0.9 + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PostRequirementsImportRequest" + }, + "example": { + "project_id": "{{lastId}}", + "rows": "{{data.rows}}" + } + } + } + } + } + }, + "/requirements/:id": { + "get": { + "summary": "GET /requirements/:id", + "description": "Generated from `backend/api/src/routes/requirements.routes.js` line `65`", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "requirement" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/requirements.routes.js", + "line": 65, + "confidence": 0.9 + } + }, + "put": { + "summary": "PUT /requirements/:id", + "description": "Generated from `backend/api/src/routes/requirements.routes.js` line `73`", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/requirements.routes.js", + "line": 73, + "confidence": 0.9 + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PutRequirementsRequest" + }, + "example": { + "description": "{{data.description}}", + "external_references": "{{data.external_references}}", + "priority": "{{data.priority}}", + "project_id": "{{lastId}}", + "status": "{{data.status}}", + "title": "{{data.title}}", + "updated_at": "{{data.updated_at}}", + "updated_by": "{{data.updated_by}}" + } + } + } + } + }, + "delete": { + "summary": "DELETE /requirements/:id", + "description": "Generated from `backend/api/src/routes/requirements.routes.js` line `209`", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/requirements.routes.js", + "line": 209, + "confidence": 0.65 + } + } + }, + "/requirements/:id/ai-optimize-preview": { + "post": { + "summary": "POST /requirements/:id/ai-optimize-preview", + "description": "Generated from `backend/api/src/routes/requirements.routes.js` line `95`", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/requirements.routes.js", + "line": 95, + "confidence": 0.9 + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PostRequirementsAi-optimize-previewRequest" + }, + "example": { + "additional_context": "{{data.additional_context}}", + "integration_id": "{{lastId}}" + } + } + } + } + } + }, + "/requirements/:id/generate-test-cases": { + "post": { + "summary": "POST /requirements/:id/generate-test-cases", + "description": "Generated from `backend/api/src/routes/requirements.routes.js` line `113`", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "requirementDesignService" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/requirements.routes.js", + "line": 113, + "confidence": 0.9 + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PostRequirementsGenerate-test-casesRequest" + }, + "example": { + "additional_context": "{{data.additional_context}}", + "appType": "{{data.appType}}", + "app_type_id": "{{lastId}}", + "external_links": "{{data.external_links}}", + "images": "{{data.images}}", + "integration_id": "{{lastId}}", + "max_cases": "{{data.max_cases}}", + "requirement": "{{data.requirement}}", + "status": "{{data.status}}" + } + } + } + } + } + }, + "/requirements/:id/design-test-cases-preview": { + "post": { + "summary": "POST /requirements/:id/design-test-cases-preview", + "description": "Generated from `backend/api/src/routes/requirements.routes.js` line `147`", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "requirementDesignService" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/requirements.routes.js", + "line": 147, + "confidence": 0.9 + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PostRequirementsDesign-test-cases-previewRequest" + }, + "example": { + "additional_context": "{{data.additional_context}}", + "appType": "{{data.appType}}", + "app_type_id": "{{lastId}}", + "external_links": "{{data.external_links}}", + "images": "{{data.images}}", + "integration_id": "{{lastId}}", + "max_cases": "{{data.max_cases}}", + "requirement": "{{data.requirement}}" + } + } + } + } + } + }, + "/requirements/:id/design-test-cases-accept": { + "post": { + "summary": "POST /requirements/:id/design-test-cases-accept", + "description": "Generated from `backend/api/src/routes/requirements.routes.js` line `179`", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "requirementDesignService" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/requirements.routes.js", + "line": 179, + "confidence": 0.9 + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PostRequirementsDesign-test-cases-acceptRequest" + }, + "example": { + "appType": "{{data.appType}}", + "app_type_id": "{{lastId}}", + "cases": "{{data.cases}}", + "requirement": "{{data.requirement}}", + "status": "{{data.status}}" + } + } + } + } + } + }, + "/roles": { + "post": { + "summary": "POST /roles", + "description": "Generated from `backend/api/src/routes/roles.routes.js` line `4`", + "parameters": [], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/roles.routes.js", + "line": 4, + "confidence": 0.9 + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PostRolesRequest" + }, + "example": { + "name": "{{data.name}}" + } + } + } + } + }, + "get": { + "summary": "GET /roles", + "description": "Generated from `backend/api/src/routes/roles.routes.js` line `13`", + "parameters": [], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/roles.routes.js", + "line": 13, + "confidence": 0.9 + } + } + }, + "/roles/:id": { + "get": { + "summary": "GET /roles/:id", + "description": "Generated from `backend/api/src/routes/roles.routes.js` line `17`", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/roles.routes.js", + "line": 17, + "confidence": 0.9 + } + }, + "put": { + "summary": "PUT /roles/:id", + "description": "Generated from `backend/api/src/routes/roles.routes.js` line `37`", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/roles.routes.js", + "line": 37, + "confidence": 0.9 + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PutRolesRequest" + }, + "example": { + "name": "{{data.name}}", + "permission_codes": "{{data.permission_codes}}" + } + } + } + } + }, + "delete": { + "summary": "DELETE /roles/:id", + "description": "Generated from `backend/api/src/routes/roles.routes.js` line `46`", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/roles.routes.js", + "line": 46, + "confidence": 0.65 + } + } + }, + "/permissions": { + "get": { + "summary": "GET /permissions", + "description": "Generated from `backend/api/src/routes/roles.routes.js` line `21`", + "parameters": [], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/roles.routes.js", + "line": 21, + "confidence": 0.9 + } + } + }, + "/roles/:id/permissions": { + "get": { + "summary": "GET /roles/:id/permissions", + "description": "Generated from `backend/api/src/routes/roles.routes.js` line `25`", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/roles.routes.js", + "line": 25, + "confidence": 0.9 + } + }, + "put": { + "summary": "PUT /roles/:id/permissions", + "description": "Generated from `backend/api/src/routes/roles.routes.js` line `29`", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/roles.routes.js", + "line": 29, + "confidence": 0.9 + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PutRolesPermissionsRequest" + }, + "example": { + "permission_codes": "{{data.permission_codes}}" + } + } + } + } + } + }, + "/settings/localization": { + "get": { + "summary": "GET /settings/localization", + "description": "Generated from `backend/api/src/routes/settings.routes.js` line `4`", + "parameters": [], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/settings.routes.js", + "line": 4, + "confidence": 0.9 + } + }, + "put": { + "summary": "PUT /settings/localization", + "description": "Generated from `backend/api/src/routes/settings.routes.js` line `11`", + "parameters": [], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "settingsService" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/settings.routes.js", + "line": 11, + "confidence": 0.9 + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PutSettingsLocalizationRequest" + }, + "example": { + "key": "{{data.key}}", + "strings": "{{data.strings}}", + "updated_at": "{{data.updated_at}}", + "value": "{{data.value}}" + } + } + } + } + } + }, + "/settings/workspace-preferences": { + "get": { + "summary": "GET /settings/workspace-preferences", + "description": "Generated from `backend/api/src/routes/settings.routes.js` line `21`", + "parameters": [], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/settings.routes.js", + "line": 21, + "confidence": 0.9 + } + }, + "put": { + "summary": "PUT /settings/workspace-preferences", + "description": "Generated from `backend/api/src/routes/settings.routes.js` line `28`", + "parameters": [], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "settingsService" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/settings.routes.js", + "line": 28, + "confidence": 0.9 + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PutSettingsWorkspace-preferencesRequest" + }, + "example": { + "key": "{{data.key}}", + "preferences": "{{data.preferences}}", + "updated_at": "{{data.updated_at}}", + "value": "{{data.value}}" + } + } + } + } + } + }, + "/shared-step-groups": { + "post": { + "summary": "POST /shared-step-groups", + "description": "Generated from `backend/api/src/routes/sharedStepGroups.routes.js` line `6`", + "parameters": [], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/sharedStepGroups.routes.js", + "line": 6, + "confidence": 0.9 + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PostShared-step-groupsRequest" + }, + "example": { + "app_type_id": "{{lastId}}", + "created_by": "{{data.created_by}}" + } + } + } + } + }, + "get": { + "summary": "GET /shared-step-groups", + "description": "Generated from `backend/api/src/routes/sharedStepGroups.routes.js` line `26`", + "parameters": [ + { + "name": "app_type_id", + "in": "query", + "required": false, + "schema": { + "type": "string" + }, + "description": "Generated query parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/sharedStepGroups.routes.js", + "line": 26, + "confidence": 0.9 + } + } + }, + "/shared-step-groups/:id": { + "get": { + "summary": "GET /shared-step-groups/:id", + "description": "Generated from `backend/api/src/routes/sharedStepGroups.routes.js` line `37`", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "group" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/sharedStepGroups.routes.js", + "line": 37, + "confidence": 0.9 + } + }, + "put": { + "summary": "PUT /shared-step-groups/:id", + "description": "Generated from `backend/api/src/routes/sharedStepGroups.routes.js` line `47`", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/sharedStepGroups.routes.js", + "line": 47, + "confidence": 0.9 + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PutShared-step-groupsRequest" + }, + "example": { + "app_type_id": "{{lastId}}", + "description": "{{data.description}}", + "name": "{{data.name}}", + "parameter_values": "{{data.parameter_values}}", + "steps": "{{data.steps}}", + "updated_by": "{{data.updated_by}}" + } + } + } + } + }, + "delete": { + "summary": "DELETE /shared-step-groups/:id", + "description": "Generated from `backend/api/src/routes/sharedStepGroups.routes.js` line `68`", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/sharedStepGroups.routes.js", + "line": 68, + "confidence": 0.65 + } + } + }, + "/suite-test-cases": { + "get": { + "summary": "GET /suite-test-cases", + "description": "Generated from `backend/api/src/routes/suiteTestCases.routes.js` line `4`", + "parameters": [], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/suiteTestCases.routes.js", + "line": 4, + "confidence": 0.9 + } + } + }, + "/suite-test-cases/reorder": { + "put": { + "summary": "PUT /suite-test-cases/reorder", + "description": "Generated from `backend/api/src/routes/suiteTestCases.routes.js` line `9`", + "parameters": [], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/suiteTestCases.routes.js", + "line": 9, + "confidence": 0.9 + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PutSuite-test-casesReorderRequest" + }, + "example": { + "sort_order": "{{data.sort_order}}", + "suite_id": "{{lastId}}", + "test_case_ids": "{{data.test_case_ids}}" + } + } + } + } + } + }, + "/test-cases": { + "post": { + "summary": "POST /test-cases", + "description": "Generated from `backend/api/src/routes/testCases.routes.js` line `37`", + "parameters": [], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/testCases.routes.js", + "line": 37, + "confidence": 0.9 + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PostTest-casesRequest" + }, + "example": { + "app_type_id": "{{lastId}}", + "created_by": "{{data.created_by}}", + "steps": "{{data.steps}}" + } + } + } + } + }, + "get": { + "summary": "GET /test-cases", + "description": "Generated from `backend/api/src/routes/testCases.routes.js` line `462`", + "parameters": [], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/testCases.routes.js", + "line": 462, + "confidence": 0.9 + } + } + }, + "/test-cases/import": { + "post": { + "summary": "POST /test-cases/import", + "description": "Generated from `backend/api/src/routes/testCases.routes.js` line `69`", + "parameters": [], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "batchProcessService" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/testCases.routes.js", + "line": 69, + "confidence": 0.9 + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PostTest-casesImportRequest" + }, + "example": { + "app_type_id": "{{lastId}}", + "batches": "{{data.batches}}", + "created_by": "{{data.created_by}}", + "rows": "{{data.rows}}" + } + } + } + } + } + }, + "/test-cases/export": { + "post": { + "summary": "POST /test-cases/export", + "description": "Generated from `backend/api/src/routes/testCases.routes.js` line `111`", + "parameters": [], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "batchProcessService" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/testCases.routes.js", + "line": 111, + "confidence": 0.9 + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PostTest-casesExportRequest" + }, + "example": { + "app_type_id": "{{lastId}}", + "created_by": "{{data.created_by}}", + "test_case_ids": "{{data.test_case_ids}}" + } + } + } + } + } + }, + "/test-cases/automation/learning-cache": { + "get": { + "summary": "GET /test-cases/automation/learning-cache", + "description": "Generated from `backend/api/src/routes/testCases.routes.js` line `129`", + "parameters": [], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "aiAutomationBuilderService" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/testCases.routes.js", + "line": 129, + "confidence": 0.9 + } + }, + "post": { + "summary": "POST /test-cases/automation/learning-cache", + "description": "Generated from `backend/api/src/routes/testCases.routes.js` line `303`", + "parameters": [], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "aiAutomationBuilderService" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/testCases.routes.js", + "line": 303, + "confidence": 0.9 + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PostAutomationLearning-cacheRequest" + }, + "example": { + "app_type_id": "{{lastId}}", + "confidence": "{{data.confidence}}", + "dom_structure": "{{data.dom_structure}}", + "fallback_strategy": "{{data.fallback_strategy}}", + "locator": "{{data.locator}}", + "locator_intent": "{{data.locator_intent}}", + "locator_kind": "{{data.locator_kind}}", + "metadata": "{{data.metadata}}", + "object_name": "{{data.object_name}}", + "object_role": "{{data.object_role}}", + "page_key": 1, + "page_url": 1, + "project_id": "{{lastId}}", + "screen_dom_compressed": "{{data.screen_dom_compressed}}", + "screen_name": "{{data.screen_name}}", + "screen_screenshot_url": "{{data.screen_screenshot_url}}", + "screenshot_url": "{{data.screenshot_url}}", + "source": "{{data.source}}", + "target_criteria": "{{data.target_criteria}}", + "test_case_id": "{{lastId}}" + } + } + } + } + } + }, + "/test-cases/automation/repository-context": { + "get": { + "summary": "GET /test-cases/automation/repository-context", + "description": "Generated from `backend/api/src/routes/testCases.routes.js` line `150`", + "parameters": [], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "aiAutomationBuilderService" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/testCases.routes.js", + "line": 150, + "confidence": 0.9 + } + } + }, + "/test-cases/automation/learning-cache/export.csv": { + "get": { + "summary": "GET /test-cases/automation/learning-cache/export.csv", + "description": "Generated from `backend/api/src/routes/testCases.routes.js` line `171`", + "parameters": [], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "reply" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/testCases.routes.js", + "line": 171, + "confidence": 0.9 + } + } + }, + "/test-cases/automation/learning-cache/import": { + "post": { + "summary": "POST /test-cases/automation/learning-cache/import", + "description": "Generated from `backend/api/src/routes/testCases.routes.js` line `187`", + "parameters": [], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "aiAutomationBuilderService" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/testCases.routes.js", + "line": 187, + "confidence": 0.9 + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PostLearning-cacheImportRequest" + }, + "example": { + "app_type_id": "{{lastId}}", + "entries": "{{data.entries}}", + "import_source": "{{data.import_source}}", + "project_id": "{{lastId}}" + } + } + } + } + } + }, + "/test-cases/automation/learning-cache/extract-fields": { + "post": { + "summary": "POST /test-cases/automation/learning-cache/extract-fields", + "description": "Generated from `backend/api/src/routes/testCases.routes.js` line `211`", + "parameters": [], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "aiAutomationBuilderService" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/testCases.routes.js", + "line": 211, + "confidence": 0.9 + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PostLearning-cacheExtract-fieldsRequest" + }, + "example": { + "app_type_id": "{{lastId}}", + "fields": "{{data.fields}}" + } + } + } + } + } + }, + "/test-cases/automation/learning-cache/:id/usage": { + "get": { + "summary": "GET /test-cases/automation/learning-cache/:id/usage", + "description": "Generated from `backend/api/src/routes/testCases.routes.js` line `235`", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "aiAutomationBuilderService" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/testCases.routes.js", + "line": 235, + "confidence": 0.9 + } + } + }, + "/test-cases/automation/learning-cache/:id": { + "put": { + "summary": "PUT /test-cases/automation/learning-cache/:id", + "description": "Generated from `backend/api/src/routes/testCases.routes.js` line `251`", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "aiAutomationBuilderService" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/testCases.routes.js", + "line": 251, + "confidence": 0.9 + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": {}, + "additionalProperties": true, + "x-qaira-body-detected": true, + "x-qaira-fields-known": false, + "x-qaira-source": "body_presence_detected" + }, + "example": {} + } + } + } + }, + "delete": { + "summary": "DELETE /test-cases/automation/learning-cache/:id", + "description": "Generated from `backend/api/src/routes/testCases.routes.js` line `337`", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "aiAutomationBuilderService" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/testCases.routes.js", + "line": 337, + "confidence": 0.65 + } + } + }, + "/test-cases/automation/learning-cache/screens/:screenName": { + "delete": { + "summary": "DELETE /test-cases/automation/learning-cache/screens/:screenName", + "description": "Generated from `backend/api/src/routes/testCases.routes.js` line `355`", + "parameters": [ + { + "name": "screenName", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "aiAutomationBuilderService" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/testCases.routes.js", + "line": 355, + "confidence": 0.65 + } + }, + "put": { + "summary": "PUT /test-cases/automation/learning-cache/screens/:screenName", + "description": "Generated from `backend/api/src/routes/testCases.routes.js` line `390`", + "parameters": [ + { + "name": "screenName", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "aiAutomationBuilderService" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/testCases.routes.js", + "line": 390, + "confidence": 0.9 + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PutLearning-cacheScreensRequest" + }, + "example": { + "app_type_id": "{{lastId}}", + "new_name": "{{data.new_name}}", + "screen_name": "{{data.screen_name}}" + } + } + } + } + } + }, + "/test-cases/automation/learning-cache/screens/:screenName/usage": { + "get": { + "summary": "GET /test-cases/automation/learning-cache/screens/:screenName/usage", + "description": "Generated from `backend/api/src/routes/testCases.routes.js` line `373`", + "parameters": [ + { + "name": "screenName", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "aiAutomationBuilderService" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/testCases.routes.js", + "line": 373, + "confidence": 0.9 + } + } + }, + "/test-cases/automation/learning-cache/:id/ai-improve": { + "post": { + "summary": "POST /test-cases/automation/learning-cache/:id/ai-improve", + "description": "Generated from `backend/api/src/routes/testCases.routes.js` line `412`", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "aiAutomationBuilderService" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/testCases.routes.js", + "line": 412, + "confidence": 0.9 + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PostLearning-cacheAi-improveRequest" + }, + "example": { + "guidance": "{{data.guidance}}", + "integration_id": "{{lastId}}" + } + } + } + } + } + }, + "/test-cases/automation/build-batch": { + "post": { + "summary": "POST /test-cases/automation/build-batch", + "description": "Generated from `backend/api/src/routes/testCases.routes.js` line `438`", + "parameters": [], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "batchProcessService" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/testCases.routes.js", + "line": 438, + "confidence": 0.9 + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PostAutomationBuild-batchRequest" + }, + "example": { + "app_type_id": "{{lastId}}", + "created_by": "{{data.created_by}}" + } + } + } + } + } + }, + "/test-cases/:id": { + "get": { + "summary": "GET /test-cases/:id", + "description": "Generated from `backend/api/src/routes/testCases.routes.js` line `475`", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "testCase" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/testCases.routes.js", + "line": 475, + "confidence": 0.9 + } + }, + "put": { + "summary": "PUT /test-cases/:id", + "description": "Generated from `backend/api/src/routes/testCases.routes.js` line `782`", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/testCases.routes.js", + "line": 782, + "confidence": 0.9 + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PutTest-casesRequest" + }, + "example": { + "app_type_id": "{{lastId}}", + "automated": "{{data.automated}}", + "automation_status": "{{data.automation_status}}", + "description": "{{data.description}}", + "external_references": "{{data.external_references}}", + "parameter_values": "{{data.parameter_values}}", + "priority": "{{data.priority}}", + "requirement_id": "{{lastId}}", + "requirement_ids": "{{data.requirement_ids}}", + "steps": "{{data.steps}}", + "suite_id": "{{lastId}}", + "suite_ids": "{{data.suite_ids}}", + "title": "{{data.title}}", + "updated_by": "{{data.updated_by}}" + } + } + } + } + }, + "delete": { + "summary": "DELETE /test-cases/:id", + "description": "Generated from `backend/api/src/routes/testCases.routes.js` line `845`", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/testCases.routes.js", + "line": 845, + "confidence": 0.65 + } + } + }, + "/test-cases/:id/automation/build": { + "post": { + "summary": "POST /test-cases/:id/automation/build", + "description": "Generated from `backend/api/src/routes/testCases.routes.js` line `486`", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "aiAutomationBuilderService" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/testCases.routes.js", + "line": 486, + "confidence": 0.9 + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PostAutomationBuildRequest" + }, + "example": { + "additional_context": "{{data.additional_context}}", + "captured_actions": "{{data.captured_actions}}", + "captured_network": "{{data.captured_network}}", + "created_by": "{{data.created_by}}", + "integration_id": "{{lastId}}", + "start_url": "{{data.start_url}}", + "test_case_id": "{{lastId}}", + "test_configuration_id": "{{lastId}}", + "test_data_set_id": "{{lastId}}", + "test_environment_id": "{{lastId}}" + } + } + } + } + } + }, + "/test-cases/:id/automation/generator-jobs": { + "post": { + "summary": "POST /test-cases/:id/automation/generator-jobs", + "description": "Generated from `backend/api/src/routes/testCases.routes.js` line `521`", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "automationGeneratorService" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/testCases.routes.js", + "line": 521, + "confidence": 0.9 + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PostAutomationGenerator-jobsRequest" + }, + "example": { + "additional_context": "{{data.additional_context}}", + "created_by": "{{data.created_by}}", + "integration_id": "{{lastId}}", + "start_url": "{{data.start_url}}", + "test_case_id": "{{lastId}}", + "test_configuration_id": "{{lastId}}", + "test_data_set_id": "{{lastId}}", + "test_environment_id": "{{lastId}}" + } + } + } + } + } + }, + "/test-cases/:id/automation/recorder-session": { + "post": { + "summary": "POST /test-cases/:id/automation/recorder-session", + "description": "Generated from `backend/api/src/routes/testCases.routes.js` line `552`", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "aiAutomationBuilderService" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/testCases.routes.js", + "line": 552, + "confidence": 0.9 + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PostAutomationRecorder-sessionRequest" + }, + "example": { + "created_by": "{{data.created_by}}", + "engine_base_url": "{{data.engine_base_url}}", + "recorder_mode": "{{data.recorder_mode}}", + "recorder_public_base_url": "{{data.recorder_public_base_url}}", + "recorder_target": "{{data.recorder_target}}", + "reuse_existing": "{{data.reuse_existing}}", + "start_url": "{{data.start_url}}", + "target_step_id": "{{lastId}}", + "test_case_id": "{{lastId}}", + "test_configuration_id": "{{lastId}}", + "test_data_set_id": "{{lastId}}", + "test_environment_id": "{{lastId}}" + } + } + } + } + } + }, + "/test-cases/:id/automation/recorder-session/:sessionId/finish": { + "post": { + "summary": "POST /test-cases/:id/automation/recorder-session/:sessionId/finish", + "description": "Generated from `backend/api/src/routes/testCases.routes.js` line `591`", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + }, + { + "name": "sessionId", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "aiAutomationBuilderService" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/testCases.routes.js", + "line": 591, + "confidence": 0.9 + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PostRecorder-sessionFinishRequest" + }, + "example": { + "additional_context": "{{data.additional_context}}", + "created_by": "{{data.created_by}}", + "engine_base_url": "{{data.engine_base_url}}", + "integration_id": "{{lastId}}", + "recorder_mode": "{{data.recorder_mode}}", + "recorder_session_id": "{{lastId}}", + "recorder_target": "{{data.recorder_target}}", + "target_step_id": "{{lastId}}", + "test_case_id": "{{lastId}}", + "test_configuration_id": "{{lastId}}", + "test_data_set_id": "{{lastId}}", + "test_environment_id": "{{lastId}}", + "transaction_id": "{{lastId}}" + } + } + } + } + } + }, + "/test-cases/design-test-cases-preview": { + "post": { + "summary": "POST /test-cases/design-test-cases-preview", + "description": "Generated from `backend/api/src/routes/testCases.routes.js` line `631`", + "parameters": [], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "requirementDesignService" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/testCases.routes.js", + "line": 631, + "confidence": 0.9 + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PostTest-casesDesign-test-cases-previewRequest" + }, + "example": { + "additional_context": "{{data.additional_context}}", + "appType": "{{data.appType}}", + "app_type_id": "{{lastId}}", + "external_links": "{{data.external_links}}", + "images": "{{data.images}}", + "integration_id": "{{lastId}}", + "max_cases": "{{data.max_cases}}", + "requirement_ids": "{{data.requirement_ids}}", + "requirements": "{{data.requirements}}" + } + } + } + } + } + }, + "/test-cases/ai-authoring-preview": { + "post": { + "summary": "POST /test-cases/ai-authoring-preview", + "description": "Generated from `backend/api/src/routes/testCases.routes.js` line `659`", + "parameters": [], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "aiCaseAuthoringService" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/testCases.routes.js", + "line": 659, + "confidence": 0.9 + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PostTest-casesAi-authoring-previewRequest" + }, + "example": { + "additional_context": "{{data.additional_context}}", + "appType": "{{data.appType}}", + "app_type_id": "{{lastId}}", + "integration_id": "{{lastId}}", + "requirement": "{{data.requirement}}", + "requirement_id": "{{lastId}}", + "test_case": "{{data.test_case}}" + } + } + } + } + } + }, + "/test-cases/ai-step-rephrase": { + "post": { + "summary": "POST /test-cases/ai-step-rephrase", + "description": "Generated from `backend/api/src/routes/testCases.routes.js` line `683`", + "parameters": [], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "aiCaseAuthoringService" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/testCases.routes.js", + "line": 683, + "confidence": 0.9 + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PostTest-casesAi-step-rephraseRequest" + }, + "example": { + "additional_context": "{{data.additional_context}}", + "appType": "{{data.appType}}", + "app_type_id": "{{lastId}}", + "integration_id": "{{lastId}}", + "project_id": "{{lastId}}", + "requirement": "{{data.requirement}}", + "requirement_id": "{{lastId}}", + "step": "{{data.step}}", + "test_case": "{{data.test_case}}" + } + } + } + } + } + }, + "/test-cases/design-test-cases-accept": { + "post": { + "summary": "POST /test-cases/design-test-cases-accept", + "description": "Generated from `backend/api/src/routes/testCases.routes.js` line `715`", + "parameters": [], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "requirementDesignService" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/testCases.routes.js", + "line": 715, + "confidence": 0.9 + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PostTest-casesDesign-test-cases-acceptRequest" + }, + "example": { + "appType": "{{data.appType}}", + "app_type_id": "{{lastId}}", + "cases": "{{data.cases}}", + "requirement_ids": "{{data.requirement_ids}}", + "requirements": "{{data.requirements}}", + "status": "{{data.status}}" + } + } + } + } + } + }, + "/test-cases/ai-generation-jobs": { + "get": { + "summary": "GET /test-cases/ai-generation-jobs", + "description": "Generated from `backend/api/src/routes/testCases.routes.js` line `741`", + "parameters": [], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "aiTestCaseGenerationService" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/testCases.routes.js", + "line": 741, + "confidence": 0.9 + } + }, + "post": { + "summary": "POST /test-cases/ai-generation-jobs", + "description": "Generated from `backend/api/src/routes/testCases.routes.js` line `756`", + "parameters": [], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "response" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/testCases.routes.js", + "line": 756, + "confidence": 0.9 + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PostTest-casesAi-generation-jobsRequest" + }, + "example": { + "app_type_id": "{{lastId}}", + "created_by": "{{data.created_by}}" + } + } + } + } + } + }, + "/test-cases/:id/accept-generated": { + "post": { + "summary": "POST /test-cases/:id/accept-generated", + "description": "Generated from `backend/api/src/routes/testCases.routes.js` line `819`", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/testCases.routes.js", + "line": 819, + "confidence": 0.65 + } + } + }, + "/test-cases/:id/reject-generated": { + "delete": { + "summary": "DELETE /test-cases/:id/reject-generated", + "description": "Generated from `backend/api/src/routes/testCases.routes.js` line `832`", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/testCases.routes.js", + "line": 832, + "confidence": 0.65 + } + } + }, + "/test-configurations": { + "post": { + "summary": "POST /test-configurations", + "description": "Generated from `backend/api/src/routes/testConfigurations.routes.js` line `6`", + "parameters": [], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/testConfigurations.routes.js", + "line": 6, + "confidence": 0.9 + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PostTest-configurationsRequest" + }, + "example": { + "app_type_id": "{{lastId}}", + "browser": "{{data.browser}}", + "description": "{{data.description}}", + "mobile_os": "{{data.mobile_os}}", + "name": "{{data.name}}", + "platform_version": "{{data.platform_version}}", + "project_id": "{{lastId}}", + "variables": "{{data.variables}}" + } + } + } + } + }, + "get": { + "summary": "GET /test-configurations", + "description": "Generated from `backend/api/src/routes/testConfigurations.routes.js` line `33`", + "parameters": [], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/testConfigurations.routes.js", + "line": 33, + "confidence": 0.9 + } + } + }, + "/test-configurations/:id": { + "get": { + "summary": "GET /test-configurations/:id", + "description": "Generated from `backend/api/src/routes/testConfigurations.routes.js` line `47`", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "configuration" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/testConfigurations.routes.js", + "line": 47, + "confidence": 0.9 + } + }, + "put": { + "summary": "PUT /test-configurations/:id", + "description": "Generated from `backend/api/src/routes/testConfigurations.routes.js` line `54`", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/testConfigurations.routes.js", + "line": 54, + "confidence": 0.9 + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PutTest-configurationsRequest" + }, + "example": { + "app_type_id": "{{lastId}}", + "browser": "{{data.browser}}", + "description": "{{data.description}}", + "mobile_os": "{{data.mobile_os}}", + "name": "{{data.name}}", + "platform_version": "{{data.platform_version}}", + "project_id": "{{lastId}}", + "variables": "{{data.variables}}" + } + } + } + } + }, + "delete": { + "summary": "DELETE /test-configurations/:id", + "description": "Generated from `backend/api/src/routes/testConfigurations.routes.js` line `78`", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/testConfigurations.routes.js", + "line": 78, + "confidence": 0.65 + } + } + }, + "/test-data-sets": { + "post": { + "summary": "POST /test-data-sets", + "description": "Generated from `backend/api/src/routes/testDataSets.routes.js` line `7`", + "parameters": [], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/testDataSets.routes.js", + "line": 7, + "confidence": 0.9 + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PostTest-data-setsRequest" + }, + "example": { + "app_type_id": "{{lastId}}", + "columns": "{{data.columns}}", + "description": "{{data.description}}", + "mode": "{{data.mode}}", + "name": "{{data.name}}", + "project_id": "{{lastId}}", + "rows": "{{data.rows}}" + } + } + } + } + }, + "get": { + "summary": "GET /test-data-sets", + "description": "Generated from `backend/api/src/routes/testDataSets.routes.js` line `33`", + "parameters": [], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/testDataSets.routes.js", + "line": 33, + "confidence": 0.9 + } + } + }, + "/test-data-sets/:id": { + "get": { + "summary": "GET /test-data-sets/:id", + "description": "Generated from `backend/api/src/routes/testDataSets.routes.js` line `47`", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "dataSet" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/testDataSets.routes.js", + "line": 47, + "confidence": 0.9 + } + }, + "put": { + "summary": "PUT /test-data-sets/:id", + "description": "Generated from `backend/api/src/routes/testDataSets.routes.js` line `54`", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/testDataSets.routes.js", + "line": 54, + "confidence": 0.9 + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PutTest-data-setsRequest" + }, + "example": { + "app_type_id": "{{lastId}}", + "columns": "{{data.columns}}", + "description": "{{data.description}}", + "mode": "{{data.mode}}", + "name": "{{data.name}}", + "project_id": "{{lastId}}", + "rows": "{{data.rows}}" + } + } + } + } + }, + "delete": { + "summary": "DELETE /test-data-sets/:id", + "description": "Generated from `backend/api/src/routes/testDataSets.routes.js` line `77`", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/testDataSets.routes.js", + "line": 77, + "confidence": 0.65 + } + } + }, + "/api/testengine/callbacks/runs": { + "post": { + "summary": "POST /api/testengine/callbacks/runs", + "description": "Generated from `backend/api/src/routes/testEngineCallbacks.routes.js` line `20`", + "parameters": [], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/testEngineCallbacks.routes.js", + "line": 20, + "confidence": 0.9 + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PostCallbacksRunsRequest" + }, + "example": { + "artifact_bundle": "{{data.artifact_bundle}}", + "case_result": "{{data.case_result}}", + "deterministic_attempted": "{{data.deterministic_attempted}}", + "emitted_at": "{{data.emitted_at}}", + "engine_run_id": "{{lastId}}", + "event": "{{data.event}}", + "healing_attempted": "{{data.healing_attempted}}", + "healing_succeeded": "{{data.healing_succeeded}}", + "patch_proposals": "{{data.patch_proposals}}", + "payload": "{{data.payload}}", + "qaira_execution_id": "{{lastId}}", + "qaira_run_id": "{{lastId}}", + "qaira_test_case_id": "{{lastId}}", + "rawPayload": "{{data.rawPayload}}", + "state": "{{data.state}}", + "step_outcomes": "{{data.step_outcomes}}", + "summary": "{{data.summary}}" + } + } + } + } + } + }, + "/testengine/internal/jobs/lease": { + "post": { + "summary": "POST /testengine/internal/jobs/lease", + "description": "Generated from `backend/api/src/routes/testEngineInternal.routes.js` line `4`", + "parameters": [], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/testEngineInternal.routes.js", + "line": 4, + "confidence": 0.9 + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": {}, + "additionalProperties": true, + "x-qaira-body-detected": true, + "x-qaira-fields-known": false, + "x-qaira-source": "body_presence_detected" + }, + "example": {} + } + } + } + } + }, + "/testengine/internal/jobs/queue-stats": { + "get": { + "summary": "GET /testengine/internal/jobs/queue-stats", + "description": "Generated from `backend/api/src/routes/testEngineInternal.routes.js` line `18`", + "parameters": [], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/testEngineInternal.routes.js", + "line": 18, + "confidence": 0.9 + } + } + }, + "/testengine/internal/jobs/:id": { + "get": { + "summary": "GET /testengine/internal/jobs/:id", + "description": "Generated from `backend/api/src/routes/testEngineInternal.routes.js` line `23`", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/testEngineInternal.routes.js", + "line": 23, + "confidence": 0.9 + } + } + }, + "/testengine/internal/jobs/:id/start": { + "post": { + "summary": "POST /testengine/internal/jobs/:id/start", + "description": "Generated from `backend/api/src/routes/testEngineInternal.routes.js` line `28`", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/testEngineInternal.routes.js", + "line": 28, + "confidence": 0.9 + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PostJobsStartRequest" + }, + "example": { + "job_id": "{{lastId}}", + "worker_id": "{{lastId}}" + } + } + } + } + } + }, + "/testengine/internal/jobs/:id/steps/:stepId/execute": { + "post": { + "summary": "POST /testengine/internal/jobs/:id/steps/:stepId/execute", + "description": "Generated from `backend/api/src/routes/testEngineInternal.routes.js` line `41`", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + }, + { + "name": "stepId", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/testEngineInternal.routes.js", + "line": 41, + "confidence": 0.9 + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PostStepsExecuteRequest" + }, + "example": { + "job_id": "{{lastId}}", + "step_id": "{{lastId}}", + "steps": "{{data.steps}}" + } + } + } + } + } + }, + "/testengine/internal/jobs/:id/steps/:stepId/report": { + "post": { + "summary": "POST /testengine/internal/jobs/:id/steps/:stepId/report", + "description": "Generated from `backend/api/src/routes/testEngineInternal.routes.js` line `50`", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + }, + { + "name": "stepId", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/testEngineInternal.routes.js", + "line": 50, + "confidence": 0.9 + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PostStepsReportRequest" + }, + "example": { + "api_detail": "{{data.api_detail}}", + "automation_detail": "{{data.automation_detail}}", + "captures": "{{data.captures}}", + "evidence": "{{data.evidence}}", + "job_id": "{{lastId}}", + "note": "{{data.note}}", + "recovery_attempted": "{{data.recovery_attempted}}", + "recovery_succeeded": "{{data.recovery_succeeded}}", + "step_id": "{{lastId}}", + "steps": "{{data.steps}}", + "web_detail": "{{data.web_detail}}" + } + } + } + } + } + }, + "/testengine/internal/jobs/:id/complete": { + "post": { + "summary": "POST /testengine/internal/jobs/:id/complete", + "description": "Generated from `backend/api/src/routes/testEngineInternal.routes.js` line `80`", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/testEngineInternal.routes.js", + "line": 80, + "confidence": 0.9 + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PostJobsCompleteRequest" + }, + "example": { + "artifact_bundle": "{{data.artifact_bundle}}", + "deterministic_attempted": "{{data.deterministic_attempted}}", + "error": "{{data.error}}", + "healing_attempted": "{{data.healing_attempted}}", + "healing_succeeded": "{{data.healing_succeeded}}", + "job_id": "{{lastId}}", + "patch_proposals": "{{data.patch_proposals}}", + "steps": "{{data.steps}}", + "summary": "{{data.summary}}" + } + } + } + } + } + }, + "/testengine/internal/jobs/:id/fail": { + "post": { + "summary": "POST /testengine/internal/jobs/:id/fail", + "description": "Generated from `backend/api/src/routes/testEngineInternal.routes.js` line `107`", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/testEngineInternal.routes.js", + "line": 107, + "confidence": 0.9 + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PostJobsFailRequest" + }, + "example": { + "job_id": "{{lastId}}", + "message": "{{data.message}}" + } + } + } + } + } + }, + "/test-environments": { + "post": { + "summary": "POST /test-environments", + "description": "Generated from `backend/api/src/routes/testEnvironments.routes.js` line `6`", + "parameters": [], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/testEnvironments.routes.js", + "line": 6, + "confidence": 0.9 + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PostTest-environmentsRequest" + }, + "example": { + "app_type_id": "{{lastId}}", + "base_url": "{{data.base_url}}", + "browser": "{{data.browser}}", + "description": "{{data.description}}", + "name": "{{data.name}}", + "notes": "{{data.notes}}", + "project_id": "{{lastId}}", + "variables": "{{data.variables}}" + } + } + } + } + }, + "get": { + "summary": "GET /test-environments", + "description": "Generated from `backend/api/src/routes/testEnvironments.routes.js` line `33`", + "parameters": [], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/testEnvironments.routes.js", + "line": 33, + "confidence": 0.9 + } + } + }, + "/test-environments/:id": { + "get": { + "summary": "GET /test-environments/:id", + "description": "Generated from `backend/api/src/routes/testEnvironments.routes.js` line `47`", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "environment" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/testEnvironments.routes.js", + "line": 47, + "confidence": 0.9 + } + }, + "put": { + "summary": "PUT /test-environments/:id", + "description": "Generated from `backend/api/src/routes/testEnvironments.routes.js` line `54`", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/testEnvironments.routes.js", + "line": 54, + "confidence": 0.9 + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PutTest-environmentsRequest" + }, + "example": { + "app_type_id": "{{lastId}}", + "base_url": "{{data.base_url}}", + "browser": "{{data.browser}}", + "description": "{{data.description}}", + "name": "{{data.name}}", + "notes": "{{data.notes}}", + "project_id": "{{lastId}}", + "variables": "{{data.variables}}" + } + } + } + } + }, + "delete": { + "summary": "DELETE /test-environments/:id", + "description": "Generated from `backend/api/src/routes/testEnvironments.routes.js` line `78`", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/testEnvironments.routes.js", + "line": 78, + "confidence": 0.65 + } + } + }, + "/test-steps": { + "post": { + "summary": "POST /test-steps", + "description": "Generated from `backend/api/src/routes/testSteps.routes.js` line `5`", + "parameters": [], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/testSteps.routes.js", + "line": 5, + "confidence": 0.9 + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": {}, + "additionalProperties": true, + "x-qaira-body-detected": true, + "x-qaira-fields-known": false, + "x-qaira-source": "body_presence_detected" + }, + "example": {} + } + } + } + }, + "get": { + "summary": "GET /test-steps", + "description": "Generated from `backend/api/src/routes/testSteps.routes.js` line `24`", + "parameters": [], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/testSteps.routes.js", + "line": 24, + "confidence": 0.9 + } + } + }, + "/test-steps/run-api-request": { + "post": { + "summary": "POST /test-steps/run-api-request", + "description": "Generated from `backend/api/src/routes/testSteps.routes.js` line `30`", + "parameters": [], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/testSteps.routes.js", + "line": 30, + "confidence": 0.9 + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PostTest-stepsRun-api-requestRequest" + }, + "example": { + "api_request": "{{data.api_request}}" + } + } + } + } + } + }, + "/test-steps/:id": { + "get": { + "summary": "GET /test-steps/:id", + "description": "Generated from `backend/api/src/routes/testSteps.routes.js` line `39`", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/testSteps.routes.js", + "line": 39, + "confidence": 0.9 + } + }, + "put": { + "summary": "PUT /test-steps/:id", + "description": "Generated from `backend/api/src/routes/testSteps.routes.js` line `44`", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/testSteps.routes.js", + "line": 44, + "confidence": 0.9 + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PutTest-stepsRequest" + }, + "example": { + "action": "{{data.action}}", + "api_request": "{{data.api_request}}", + "automation_code": "{{data.automation_code}}", + "expected_result": "{{data.expected_result}}", + "group_id": "{{lastId}}", + "group_kind": "{{data.group_kind}}", + "group_name": "{{data.group_name}}", + "reusable_group_id": "{{lastId}}", + "step_order": "{{data.step_order}}", + "step_type": "{{data.step_type}}", + "test_case_id": "{{lastId}}" + } + } + } + } + }, + "delete": { + "summary": "DELETE /test-steps/:id", + "description": "Generated from `backend/api/src/routes/testSteps.routes.js` line `128`", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/testSteps.routes.js", + "line": 128, + "confidence": 0.65 + } + } + }, + "/test-steps/duplicate": { + "post": { + "summary": "POST /test-steps/duplicate", + "description": "Generated from `backend/api/src/routes/testSteps.routes.js` line `63`", + "parameters": [], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/testSteps.routes.js", + "line": 63, + "confidence": 0.9 + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": {}, + "additionalProperties": true, + "x-qaira-body-detected": true, + "x-qaira-fields-known": false, + "x-qaira-source": "body_presence_detected" + }, + "example": {} + } + } + } + } + }, + "/test-steps/group": { + "post": { + "summary": "POST /test-steps/group", + "description": "Generated from `backend/api/src/routes/testSteps.routes.js` line `74`", + "parameters": [], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/testSteps.routes.js", + "line": 74, + "confidence": 0.9 + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": {}, + "additionalProperties": true, + "x-qaira-body-detected": true, + "x-qaira-fields-known": false, + "x-qaira-source": "body_presence_detected" + }, + "example": {} + } + } + } + } + }, + "/test-steps/ungroup": { + "post": { + "summary": "POST /test-steps/ungroup", + "description": "Generated from `backend/api/src/routes/testSteps.routes.js` line `88`", + "parameters": [], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/testSteps.routes.js", + "line": 88, + "confidence": 0.9 + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": {}, + "additionalProperties": true, + "x-qaira-body-detected": true, + "x-qaira-fields-known": false, + "x-qaira-source": "body_presence_detected" + }, + "example": {} + } + } + } + } + }, + "/test-steps/insert-shared-group": { + "post": { + "summary": "POST /test-steps/insert-shared-group", + "description": "Generated from `backend/api/src/routes/testSteps.routes.js` line `98`", + "parameters": [], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/testSteps.routes.js", + "line": 98, + "confidence": 0.9 + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": {}, + "additionalProperties": true, + "x-qaira-body-detected": true, + "x-qaira-fields-known": false, + "x-qaira-source": "body_presence_detected" + }, + "example": {} + } + } + } + } + }, + "/test-cases/:id/test-steps/reorder": { + "put": { + "summary": "PUT /test-cases/:id/test-steps/reorder", + "description": "Generated from `backend/api/src/routes/testSteps.routes.js` line `109`", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/testSteps.routes.js", + "line": 109, + "confidence": 0.9 + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PutTest-stepsReorderRequest" + }, + "example": { + "entries": "{{data.entries}}", + "indexOf": "{{data.indexOf}}", + "step_ids": "{{data.step_ids}}" + } + } + } + } + } + }, + "/test-steps/reorder": { + "put": { + "summary": "PUT /test-steps/reorder", + "description": "Generated from `backend/api/src/routes/testSteps.routes.js` line `118`", + "parameters": [], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/testSteps.routes.js", + "line": 118, + "confidence": 0.9 + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PutTest-stepsReorderRequest" + }, + "example": { + "entries": "{{data.entries}}", + "indexOf": "{{data.indexOf}}", + "step_ids": "{{data.step_ids}}", + "test_case_id": "{{lastId}}" + } + } + } + } + } + }, + "/test-suites": { + "post": { + "summary": "POST /test-suites", + "description": "Generated from `backend/api/src/routes/testSuites.routes.js` line `6`", + "parameters": [], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/testSuites.routes.js", + "line": 6, + "confidence": 0.9 + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PostTest-suitesRequest" + }, + "example": { + "app_type_id": "{{lastId}}", + "created_by": "{{data.created_by}}", + "display_id": "{{lastId}}", + "name": "{{data.name}}", + "parallel_count": 1, + "parallel_enabled": "{{data.parallel_enabled}}", + "parameter_values": "{{data.parameter_values}}", + "parent_id": "{{lastId}}", + "updated_at": "{{data.updated_at}}", + "updated_by": "{{data.updated_by}}" + } + } + } + } + }, + "get": { + "summary": "GET /test-suites", + "description": "Generated from `backend/api/src/routes/testSuites.routes.js` line `28`", + "parameters": [], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/testSuites.routes.js", + "line": 28, + "confidence": 0.9 + } + } + }, + "/test-suites/:id": { + "get": { + "summary": "GET /test-suites/:id", + "description": "Generated from `backend/api/src/routes/testSuites.routes.js` line `41`", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "testSuite" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/testSuites.routes.js", + "line": 41, + "confidence": 0.9 + } + }, + "put": { + "summary": "PUT /test-suites/:id", + "description": "Generated from `backend/api/src/routes/testSuites.routes.js` line `49`", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/testSuites.routes.js", + "line": 49, + "confidence": 0.9 + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PutTest-suitesRequest" + }, + "example": { + "name": "{{data.name}}", + "parallel_count": 1, + "parallel_enabled": "{{data.parallel_enabled}}", + "parameter_values": "{{data.parameter_values}}", + "parent_id": "{{lastId}}", + "updated_at": "{{data.updated_at}}", + "updated_by": "{{data.updated_by}}" + } + } + } + } + }, + "delete": { + "summary": "DELETE /test-suites/:id", + "description": "Generated from `backend/api/src/routes/testSuites.routes.js` line `84`", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/testSuites.routes.js", + "line": 84, + "confidence": 0.65 + } + } + }, + "/test-suites/:id/assign-test-cases": { + "post": { + "summary": "POST /test-suites/:id/assign-test-cases", + "description": "Generated from `backend/api/src/routes/testSuites.routes.js` line `70`", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/testSuites.routes.js", + "line": 70, + "confidence": 0.9 + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PostTest-suitesAssign-test-casesRequest" + }, + "example": { + "test_case_ids": "{{data.test_case_ids}}" + } + } + } + } + } + }, + "/users": { + "post": { + "summary": "POST /users", + "description": "Generated from `backend/api/src/routes/users.js` line `12`", + "parameters": [], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/users.js", + "line": 12, + "confidence": 0.9 + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PostUsersRequest" + }, + "example": { + "email": "{{data.email}}", + "is_workspace_admin": true, + "name": "{{data.name}}", + "password": "{{data.password}}", + "password_hash": "{{data.password}}", + "project_id": "{{lastId}}", + "role_id": "{{lastId}}", + "user_id": "{{lastId}}" + } + } + } + } + }, + "get": { + "summary": "GET /users", + "description": "Generated from `backend/api/src/routes/users.js` line `44`", + "parameters": [], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/users.js", + "line": 44, + "confidence": 0.9 + } + } + }, + "/users/import": { + "post": { + "summary": "POST /users/import", + "description": "Generated from `backend/api/src/routes/users.js` line `28`", + "parameters": [], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "batchProcessService" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/users.js", + "line": 28, + "confidence": 0.9 + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PostUsersImportRequest" + }, + "example": { + "rows": "{{data.rows}}" + } + } + } + } + } + }, + "/users/:id": { + "get": { + "summary": "GET /users/:id", + "description": "Generated from `backend/api/src/routes/users.js` line `48`", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/users.js", + "line": 48, + "confidence": 0.9 + } + }, + "put": { + "summary": "PUT /users/:id", + "description": "Generated from `backend/api/src/routes/users.js` line `52`", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/users.js", + "line": 52, + "confidence": 0.9 + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PutUsersRequest" + }, + "example": { + "avatar_data_url": "{{data.avatar_data_url}}", + "email": "{{data.email}}", + "is_workspace_admin": true, + "name": "{{data.name}}", + "password": "{{data.password}}", + "password_hash": "{{data.password}}", + "role_id": "{{lastId}}" + } + } + } + } + }, + "delete": { + "summary": "DELETE /users/:id", + "description": "Generated from `backend/api/src/routes/users.js` line `93`", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/users.js", + "line": 93, + "confidence": 0.65 + } + } + }, + "/users/:id/password": { + "put": { + "summary": "PUT /users/:id/password", + "description": "Generated from `backend/api/src/routes/users.js` line `76`", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "service" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/users.js", + "line": 76, + "confidence": 0.9 + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PutUsersPasswordRequest" + }, + "example": { + "current_password": "{{data.password}}", + "new_password": "{{data.password}}", + "password_hash": "{{data.password}}" + } + } + } + } + } + }, + "/workspace-transactions": { + "get": { + "summary": "GET /workspace-transactions", + "description": "Generated from `backend/api/src/routes/workspaceTransactions.routes.js` line `12`", + "parameters": [], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "workspaceTransactionService" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/workspaceTransactions.routes.js", + "line": 12, + "confidence": 0.9 + } + } + }, + "/workspace-transactions/:id/events": { + "get": { + "summary": "GET /workspace-transactions/:id/events", + "description": "Generated from `backend/api/src/routes/workspaceTransactions.routes.js` line `42`", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "workspaceTransactionService" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/workspaceTransactions.routes.js", + "line": 42, + "confidence": 0.9 + } + } + }, + "/workspace-transactions/:id/artifacts": { + "get": { + "summary": "GET /workspace-transactions/:id/artifacts", + "description": "Generated from `backend/api/src/routes/workspaceTransactions.routes.js` line `56`", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "workspaceTransactionService" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/workspaceTransactions.routes.js", + "line": 56, + "confidence": 0.9 + } + } + }, + "/workspace-transactions/:id/artifacts/:artifactId/download": { + "get": { + "summary": "GET /workspace-transactions/:id/artifacts/:artifactId/download", + "description": "Generated from `backend/api/src/routes/workspaceTransactions.routes.js` line `70`", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + }, + { + "name": "artifactId", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "responseBody" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/workspaceTransactions.routes.js", + "line": 70, + "confidence": 0.9 + } + } + }, + "/workspace-transactions/:id": { + "delete": { + "summary": "DELETE /workspace-transactions/:id", + "description": "Generated from `backend/api/src/routes/workspaceTransactions.routes.js` line `103`", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "workspaceTransactionService" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/routes/workspaceTransactions.routes.js", + "line": 103, + "confidence": 0.65 + } + } + }, + "/health": { + "get": { + "summary": "GET /health", + "description": "Generated from `testengine/backend/src/server.ts` line `94`", + "parameters": [], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "testengine/backend/src/server.ts", + "line": 94, + "confidence": 0.9 + } + } + }, + "/health/ready": { + "get": { + "summary": "GET /health/ready", + "description": "Generated from `backend/api/src/plugins/observability.js` line `204`", + "parameters": [], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/plugins/observability.js", + "line": 204, + "confidence": 0.9 + } + } + }, + "/metrics": { + "get": { + "summary": "GET /metrics", + "description": "Generated from `backend/api/src/plugins/observability.js` line `226`", + "parameters": [], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "backend/api/src/plugins/observability.js", + "line": 226, + "confidence": 0.9 + } + } + }, + "/api/v1/capabilities": { + "get": { + "summary": "GET /api/v1/capabilities", + "description": "Generated from `testengine/backend/src/server.ts` line `104`", + "parameters": [], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "testengine/backend/src/server.ts", + "line": 104, + "confidence": 0.9 + } + } + }, + "/api/v1/mobile/execute": { + "post": { + "summary": "POST /api/v1/mobile/execute", + "description": "Generated from `local-run/mobile-engine/src/server.js` line `422`", + "parameters": [], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "local-run/mobile-engine/src/server.js", + "line": 422, + "confidence": 0.9 + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PostMobileExecuteRequest" + }, + "example": { + "objectRepository": "{{data.objectRepository}}", + "object_repository": "{{data.object_repository}}", + "steps": "{{data.steps}}" + } + } + } + } + } + }, + "/api/v1/mobile/recorder/sessions": { + "post": { + "summary": "POST /api/v1/mobile/recorder/sessions", + "description": "Generated from `local-run/mobile-engine/src/server.js` line `464`", + "parameters": [], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "driver", + "session" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "local-run/mobile-engine/src/server.js", + "line": 464, + "confidence": 0.9 + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PostRecorderSessionsRequest" + }, + "example": { + "recorder_mode": "{{data.recorder_mode}}" + } + } + } + } + } + }, + "/api/v1/mobile/recorder/sessions/:id": { + "get": { + "summary": "GET /api/v1/mobile/recorder/sessions/:id", + "description": "Generated from `local-run/mobile-engine/src/server.js` line `503`", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "serializableSession" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "local-run/mobile-engine/src/server.js", + "line": 503, + "confidence": 0.9 + } + } + }, + "/api/v1/mobile/recorder/sessions/:id/live": { + "get": { + "summary": "GET /api/v1/mobile/recorder/sessions/:id/live", + "description": "Generated from `local-run/mobile-engine/src/server.js` line `513`", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "local-run/mobile-engine/src/server.js", + "line": 513, + "confidence": 0.9 + } + } + }, + "/api/v1/mobile/recorder/sessions/:id/screenshot": { + "get": { + "summary": "GET /api/v1/mobile/recorder/sessions/:id/screenshot", + "description": "Generated from `local-run/mobile-engine/src/server.js` line `535`", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "Buffer", + "error", + "session" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "local-run/mobile-engine/src/server.js", + "line": 535, + "confidence": 0.9 + } + } + }, + "/api/v1/mobile/recorder/sessions/:id/input": { + "post": { + "summary": "POST /api/v1/mobile/recorder/sessions/:id/input", + "description": "Generated from `local-run/mobile-engine/src/server.js` line `555`", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "local-run/mobile-engine/src/server.js", + "line": 555, + "confidence": 0.9 + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PostSessionsInputRequest" + }, + "example": { + "height": "{{data.height}}", + "type": "{{data.type}}", + "value": "{{data.value}}", + "width": "{{data.width}}", + "x": "{{data.x}}", + "y": "{{data.y}}" + } + } + } + } + } + }, + "/api/v1/mobile/recorder/sessions/:id/stop": { + "post": { + "summary": "POST /api/v1/mobile/recorder/sessions/:id/stop", + "description": "Generated from `local-run/mobile-engine/src/server.js` line `593`", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "serializableSession" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "local-run/mobile-engine/src/server.js", + "line": 593, + "confidence": 0.65 + } + } + }, + "/api/v1/live-session/screenshot": { + "get": { + "summary": "GET /api/v1/live-session/screenshot", + "description": "Generated from `testengine/backend/src/server.ts` line `106`", + "parameters": [], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "screenshot" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "testengine/backend/src/server.ts", + "line": 106, + "confidence": 0.9 + } + } + }, + "/api/v1/live-session": { + "get": { + "summary": "GET /api/v1/live-session", + "description": "Generated from `testengine/backend/src/server.ts` line `120`", + "parameters": [], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "testengine/backend/src/server.ts", + "line": 120, + "confidence": 0.9 + } + } + }, + "/api/v1/runs": { + "get": { + "summary": "GET /api/v1/runs", + "description": "Generated from `testengine/backend/src/server.ts` line `191`", + "parameters": [], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "testengine/backend/src/server.ts", + "line": 191, + "confidence": 0.9 + } + }, + "post": { + "summary": "POST /api/v1/runs", + "description": "Generated from `testengine/backend/src/server.ts` line `207`", + "parameters": [], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "testengine/backend/src/server.ts", + "line": 207, + "confidence": 0.9 + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PostV1RunsRequest" + }, + "example": { + "automated": "{{data.automated}}", + "callback": "{{data.callback}}" + } + } + } + } + } + }, + "/api/v1/runs/:id": { + "get": { + "summary": "GET /api/v1/runs/:id", + "description": "Generated from `testengine/backend/src/server.ts` line `195`", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "run" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "testengine/backend/src/server.ts", + "line": 195, + "confidence": 0.9 + } + } + }, + "/api/v1/runs/:id/retry": { + "post": { + "summary": "POST /api/v1/runs/:id/retry", + "description": "Generated from `testengine/backend/src/server.ts` line `235`", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "retried" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "testengine/backend/src/server.ts", + "line": 235, + "confidence": 0.65 + } + } + }, + "/api/v1/recorder/sessions": { + "get": { + "summary": "GET /api/v1/recorder/sessions", + "description": "Generated from `testengine/backend/src/lib/recorder.ts` line `1598`", + "parameters": [], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "testengine/backend/src/lib/recorder.ts", + "line": 1598, + "confidence": 0.9 + } + }, + "post": { + "summary": "POST /api/v1/recorder/sessions", + "description": "Generated from `testengine/backend/src/lib/recorder.ts` line `2188`", + "parameters": [], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "null" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "testengine/backend/src/lib/recorder.ts", + "line": 2188, + "confidence": 0.9 + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PostRecorderSessionsRequest" + }, + "example": { + "locator": "{{data.locator}}", + "source": "{{data.source}}", + "text": "{{data.text}}", + "timestamp": "{{data.timestamp}}", + "type": "{{data.type}}", + "url": "{{data.url}}", + "value": "{{data.value}}", + "x": "{{data.x}}", + "y": "{{data.y}}" + } + } + } + } + } + }, + "/api/v1/recorder/sessions/:id": { + "get": { + "summary": "GET /api/v1/recorder/sessions/:id", + "description": "Generated from `testengine/backend/src/lib/recorder.ts` line `1602`", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "serializeSession" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "testengine/backend/src/lib/recorder.ts", + "line": 1602, + "confidence": 0.9 + } + } + }, + "/api/v1/recorder/sessions/:id/tabs": { + "get": { + "summary": "GET /api/v1/recorder/sessions/:id/tabs", + "description": "Generated from `testengine/backend/src/lib/recorder.ts` line `1614`", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "testengine/backend/src/lib/recorder.ts", + "line": 1614, + "confidence": 0.9 + } + } + }, + "/api/v1/recorder/sessions/:id/inspect/start": { + "post": { + "summary": "POST /api/v1/recorder/sessions/:id/inspect/start", + "description": "Generated from `testengine/backend/src/lib/recorder.ts` line `1637`", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "testengine/backend/src/lib/recorder.ts", + "line": 1637, + "confidence": 0.9 + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": {}, + "additionalProperties": true, + "x-qaira-body-detected": true, + "x-qaira-fields-known": false, + "x-qaira-source": "body_presence_detected" + }, + "example": {} + } + } + } + } + }, + "/api/v1/recorder/sessions/:id/inspect/stop": { + "post": { + "summary": "POST /api/v1/recorder/sessions/:id/inspect/stop", + "description": "Generated from `testengine/backend/src/lib/recorder.ts` line `1671`", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "testengine/backend/src/lib/recorder.ts", + "line": 1671, + "confidence": 0.9 + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": {}, + "additionalProperties": true, + "x-qaira-body-detected": true, + "x-qaira-fields-known": false, + "x-qaira-source": "body_presence_detected" + }, + "example": {} + } + } + } + } + }, + "/api/v1/recorder/sessions/:id/highlight": { + "post": { + "summary": "POST /api/v1/recorder/sessions/:id/highlight", + "description": "Generated from `testengine/backend/src/lib/recorder.ts` line `1699`", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "result" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "testengine/backend/src/lib/recorder.ts", + "line": 1699, + "confidence": 0.9 + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": {}, + "additionalProperties": true, + "x-qaira-body-detected": true, + "x-qaira-fields-known": false, + "x-qaira-source": "body_presence_detected" + }, + "example": {} + } + } + } + } + }, + "/api/v1/recorder/sessions/:id/inspect/result": { + "get": { + "summary": "GET /api/v1/recorder/sessions/:id/inspect/result", + "description": "Generated from `testengine/backend/src/lib/recorder.ts` line `1738`", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "cloned", + "null", + "page", + "result", + "selections" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "testengine/backend/src/lib/recorder.ts", + "line": 1738, + "confidence": 0.9 + } + } + }, + "/api/v1/recorder/sessions/:id/live": { + "get": { + "summary": "GET /api/v1/recorder/sessions/:id/live", + "description": "Generated from `testengine/backend/src/lib/recorder.ts` line `1863`", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "renderLiveViewHtml" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "testengine/backend/src/lib/recorder.ts", + "line": 1863, + "confidence": 0.9 + } + } + }, + "/api/v1/recorder/sessions/:id/stream": { + "get": { + "summary": "GET /api/v1/recorder/sessions/:id/stream", + "description": "Generated from `testengine/backend/src/lib/recorder.ts` line `1884`", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "testengine/backend/src/lib/recorder.ts", + "line": 1884, + "confidence": 0.9 + } + } + }, + "/api/v1/recorder/sessions/:id/screenshot": { + "get": { + "summary": "GET /api/v1/recorder/sessions/:id/screenshot", + "description": "Generated from `testengine/backend/src/lib/recorder.ts` line `2013`", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "screenshot" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "testengine/backend/src/lib/recorder.ts", + "line": 2013, + "confidence": 0.9 + } + } + }, + "/api/v1/recorder/sessions/:id/input": { + "post": { + "summary": "POST /api/v1/recorder/sessions/:id/input", + "description": "Generated from `testengine/backend/src/lib/recorder.ts` line `2049`", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "testengine/backend/src/lib/recorder.ts", + "line": 2049, + "confidence": 0.9 + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": {}, + "additionalProperties": true, + "x-qaira-body-detected": true, + "x-qaira-fields-known": false, + "x-qaira-source": "body_presence_detected" + }, + "example": {} + } + } + } + } + }, + "/api/v1/recorder/sessions/:id/stop": { + "post": { + "summary": "POST /api/v1/recorder/sessions/:id/stop", + "description": "Generated from `testengine/backend/src/lib/recorder.ts` line `2358`", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "Generated path parameter" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "responseVars": [ + "serializeSession" + ] + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error" + } + }, + "x-qaira-source": { + "file": "testengine/backend/src/lib/recorder.ts", + "line": 2358, + "confidence": 0.65 + } + } + } + }, + "components": { + "schemas": { + "PostProjectsKnowledgeRequest": { + "type": "object", + "properties": { + "app_type_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "asset_type": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "content": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "content_type": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "description": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "embedding": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "feature_name": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "is_active": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.6 + }, + "item_status": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "item_version": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "linked_test_cases": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "metadata": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "module_name": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "priority": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "source": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "source_uri": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "title": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.82 + } + }, + "required": [] + }, + "PutProjectsKnowledgeRequest": { + "type": "object", + "properties": { + "app_type_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "asset_type": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "content": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "content_type": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "description": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "embedding": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "feature_name": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "is_active": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.6 + }, + "item_status": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "item_version": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "linked_test_cases": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "metadata": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "module_name": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "priority": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "source": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "source_uri": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "title": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.82 + } + }, + "required": [] + }, + "PostKnowledgeRelationsRequest": { + "type": "object", + "properties": { + "metadata": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "relation_type": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "source_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "source_type": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "target_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "target_type": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + } + }, + "required": [] + }, + "PostAi-prompt-templatesRequest": { + "type": "object", + "properties": { + "app_type_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "created_by": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "project_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + } + }, + "required": [] + }, + "PutAi-prompt-templatesRequest": { + "type": "object", + "properties": { + "app_type_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + } + }, + "required": [] + }, + "PostApp-typesRequest": { + "type": "object", + "properties": { + "is_unified": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.6 + }, + "name": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.82 + }, + "project_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "type": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.82 + } + }, + "required": [] + }, + "PutApp-typesRequest": { + "type": "object", + "properties": { + "is_unified": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.6 + }, + "name": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.82 + } + }, + "required": [] + }, + "PostJobsRunRequest": { + "type": "object", + "properties": { + "additional_context": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "agent_plan": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "integration_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "job_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "llm_model": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "start_url": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "test_case_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "test_configuration_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "test_data_set_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "test_environment_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "title": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.82 + }, + "worker_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + } + }, + "required": [] + }, + "PostRunsClaimRequest": { + "type": "object", + "properties": { + "engine_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + } + }, + "required": [] + }, + "PostRunsHeartbeatRequest": { + "type": "object", + "properties": { + "engine_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "heartbeat_at": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "leased_by": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "updated_at": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + } + }, + "required": [] + }, + "PostExecution-resultsRequest": { + "type": "object", + "properties": { + "app_type_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "defects": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "duration_ms": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "error": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "executed_by": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "execution_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "external_references": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "logs": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "status": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.82 + }, + "suite_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "suite_name": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "test_case_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "test_case_title": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + } + }, + "required": [] + }, + "PutExecution-resultsRequest": { + "type": "object", + "properties": { + "defects": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "duration_ms": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "error": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "executed_by": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "external_references": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "logs": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "status": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.82 + } + }, + "required": [] + }, + "PostExecution-schedulesRequest": { + "type": "object", + "properties": { + "app_type_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "assigned_to": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "cadence": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "created_by": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "is_active": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.6 + }, + "name": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.82 + }, + "next_run_at": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "project_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "suite_ids": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "test_case_ids": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "test_configuration_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "test_data_set_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "test_environment_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + } + }, + "required": [] + }, + "PutExecution-schedulesRequest": { + "type": "object", + "properties": { + "app_type_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "assigned_to": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "cadence": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "name": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.82 + }, + "next_run_at": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "project_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "suite_ids": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "test_case_ids": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "test_configuration_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "test_data_set_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "test_environment_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + } + }, + "required": [] + }, + "PostExecutionsSmart-plan-previewRequest": { + "type": "object", + "properties": { + "additional_context": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "appType": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "app_type_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "cases": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "impacted_requirement_ids": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "integration_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "project_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "release_scope": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "testCases": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "test_cases": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "test_configuration_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "test_data_set_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "test_environment_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + } + }, + "required": [] + }, + "PostExecutionsManual-run-suggestionRequest": { + "type": "object", + "properties": { + "additional_context": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "app_type_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "integration_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "project_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "selected_suite_ids": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "test_configuration_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "test_data_set_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "test_environment_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + } + }, + "required": [] + }, + "PostExecutionsRequest": { + "type": "object", + "properties": { + "app_type_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "assigned_to": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "created_by": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "execution_hooks": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "name": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.82 + }, + "parallel_count": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "parallel_enabled": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "project_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "status": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.82 + }, + "test_configuration_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "test_configuration_name": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "test_configuration_snapshot": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "test_data_set_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "test_data_set_name": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "test_data_set_snapshot": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "test_environment_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "test_environment_name": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "test_environment_snapshot": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "trigger": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + } + }, + "required": [] + }, + "PostExecutionsLocal-runRequest": { + "type": "object", + "properties": { + "created_by": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "ended_at": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "engine_base_url": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "name": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.82 + }, + "project_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "status": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.82 + } + }, + "required": [] + }, + "PutExecutionsRequest": { + "type": "object", + "properties": { + "assigned_to": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + } + }, + "required": [] + }, + "PutCasesAssignmentRequest": { + "type": "object", + "properties": { + "assigned_to": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + } + }, + "required": [] + }, + "PostExecutionsRerunRequest": { + "type": "object", + "properties": { + "app_type_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "assigned_to": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "created_by": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "name": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.82 + }, + "project_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "status": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.82 + }, + "test_configuration_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "test_configuration_name": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "test_configuration_snapshot": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "test_data_set_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "test_data_set_name": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "test_data_set_snapshot": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "test_environment_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "test_environment_name": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "test_environment_snapshot": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "trigger": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + } + }, + "required": [] + }, + "PostExecutionsStartRequest": { + "type": "object", + "properties": { + "engine_base_url": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "execution_mode": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "initiated_by": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "skip_testengine_dispatch": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "started_at": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "status": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.82 + }, + "trigger": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + } + }, + "required": [] + }, + "PostStepsRunRequest": { + "type": "object", + "properties": { + "executed_by": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + } + }, + "required": [] + }, + "PostCasesAi-analysisRequest": { + "type": "object", + "properties": { + "execution": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "requestedBy": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "testCaseId": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + } + }, + "required": [] + }, + "PostExecutionsShare-reportRequest": { + "type": "object", + "properties": { + "execution_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "recipients": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "requested_by": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + } + }, + "required": [] + }, + "PostExecutionsCompleteRequest": { + "type": "object", + "properties": { + "ended_at": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "status": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.82 + } + }, + "required": [] + }, + "PostFeedbackRequest": { + "type": "object", + "properties": { + "message": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "status": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.82 + }, + "title": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.82 + }, + "user_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + } + }, + "required": [] + }, + "PutFeedbackRequest": { + "type": "object", + "properties": { + "message": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "status": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.82 + }, + "title": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.82 + }, + "user_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + } + }, + "required": [] + }, + "PostIntegrationsRequest": { + "type": "object", + "properties": { + "api_key": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "base_url": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "config": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "is_active": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.6 + }, + "model": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "name": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.82 + }, + "project_key": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "type": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.82 + }, + "updated_at": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "username": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.82 + } + }, + "required": [] + }, + "PostIntegrationsTest-connectionRequest": { + "type": "object", + "properties": { + "api_key": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "base_url": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "config": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "type": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.82 + } + }, + "required": [] + }, + "PutIntegrationsRequest": { + "type": "object", + "properties": { + "api_key": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "base_url": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "config": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "is_active": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.6 + }, + "model": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "name": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.82 + }, + "project_key": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "type": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.82 + }, + "updated_at": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "username": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.82 + } + }, + "required": [] + }, + "PostProject-membersRequest": { + "type": "object", + "properties": { + "project_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "role_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "user_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + } + }, + "required": [] + }, + "PutProject-membersRequest": { + "type": "object", + "properties": { + "project_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "role_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "user_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + } + }, + "required": [] + }, + "PostProjectsSyncRequest": { + "type": "object", + "properties": { + "created_by": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "project_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "provider": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "trigger_mode": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + } + }, + "required": [] + }, + "PostProjectsRequest": { + "type": "object", + "properties": { + "created_by": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "description": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "display_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "name": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.82 + } + }, + "required": [] + }, + "PutProjectsRequest": { + "type": "object", + "properties": { + "description": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "name": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.82 + } + }, + "required": [] + }, + "PutRequirement-test-casesReplaceRequest": { + "type": "object", + "properties": { + "requirement_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "test_case_ids": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + } + }, + "required": [] + }, + "PostRequirementsRequest": { + "type": "object", + "properties": { + "created_by": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "description": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "display_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "external_references": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "priority": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "project_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "status": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.82 + }, + "title": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.82 + }, + "updated_at": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "updated_by": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + } + }, + "required": [] + }, + "PostRequirementsImportRequest": { + "type": "object", + "properties": { + "project_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "rows": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + } + }, + "required": [] + }, + "PutRequirementsRequest": { + "type": "object", + "properties": { + "description": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "external_references": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "priority": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "project_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "status": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.82 + }, + "title": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.82 + }, + "updated_at": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "updated_by": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + } + }, + "required": [] + }, + "PostRequirementsAi-optimize-previewRequest": { + "type": "object", + "properties": { + "additional_context": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "integration_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + } + }, + "required": [] + }, + "PostRequirementsGenerate-test-casesRequest": { + "type": "object", + "properties": { + "additional_context": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "appType": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "app_type_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "external_links": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "images": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "integration_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "max_cases": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "requirement": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "status": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.82 + } + }, + "required": [] + }, + "PostRequirementsDesign-test-cases-previewRequest": { + "type": "object", + "properties": { + "additional_context": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "appType": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "app_type_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "external_links": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "images": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "integration_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "max_cases": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "requirement": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + } + }, + "required": [] + }, + "PostRequirementsDesign-test-cases-acceptRequest": { + "type": "object", + "properties": { + "appType": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "app_type_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "cases": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "requirement": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "status": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.82 + } + }, + "required": [] + }, + "PostRolesRequest": { + "type": "object", + "properties": { + "name": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.82 + } + }, + "required": [] + }, + "PutRolesPermissionsRequest": { + "type": "object", + "properties": { + "permission_codes": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + } + }, + "required": [] + }, + "PutRolesRequest": { + "type": "object", + "properties": { + "name": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.82 + }, + "permission_codes": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + } + }, + "required": [] + }, + "PutSettingsLocalizationRequest": { + "type": "object", + "properties": { + "key": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "strings": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "updated_at": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "value": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + } + }, + "required": [] + }, + "PutSettingsWorkspace-preferencesRequest": { + "type": "object", + "properties": { + "key": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "preferences": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "updated_at": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "value": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + } + }, + "required": [] + }, + "PostShared-step-groupsRequest": { + "type": "object", + "properties": { + "app_type_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "created_by": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + } + }, + "required": [] + }, + "PutShared-step-groupsRequest": { + "type": "object", + "properties": { + "app_type_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "description": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "name": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.82 + }, + "parameter_values": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "steps": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "updated_by": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + } + }, + "required": [] + }, + "PutSuite-test-casesReorderRequest": { + "type": "object", + "properties": { + "sort_order": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "suite_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "test_case_ids": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + } + }, + "required": [] + }, + "PostTest-casesRequest": { + "type": "object", + "properties": { + "app_type_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "created_by": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "steps": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + } + }, + "required": [] + }, + "PostTest-casesImportRequest": { + "type": "object", + "properties": { + "app_type_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "batches": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "created_by": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "rows": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + } + }, + "required": [] + }, + "PostTest-casesExportRequest": { + "type": "object", + "properties": { + "app_type_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "created_by": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "test_case_ids": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + } + }, + "required": [] + }, + "PostLearning-cacheImportRequest": { + "type": "object", + "properties": { + "app_type_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "entries": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "import_source": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "project_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + } + }, + "required": [] + }, + "PostLearning-cacheExtract-fieldsRequest": { + "type": "object", + "properties": { + "app_type_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "fields": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + } + }, + "required": [] + }, + "PostAutomationLearning-cacheRequest": { + "type": "object", + "properties": { + "app_type_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "confidence": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "dom_structure": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "fallback_strategy": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "locator": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "locator_intent": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "locator_kind": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "metadata": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "object_name": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "object_role": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "page_key": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "page_url": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "project_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "screen_dom_compressed": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "screen_name": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "screen_screenshot_url": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "screenshot_url": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "source": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "target_criteria": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "test_case_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + } + }, + "required": [] + }, + "PutLearning-cacheScreensRequest": { + "type": "object", + "properties": { + "app_type_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "new_name": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "screen_name": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + } + }, + "required": [] + }, + "PostLearning-cacheAi-improveRequest": { + "type": "object", + "properties": { + "guidance": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "integration_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + } + }, + "required": [] + }, + "PostAutomationBuild-batchRequest": { + "type": "object", + "properties": { + "app_type_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "created_by": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + } + }, + "required": [] + }, + "PostAutomationBuildRequest": { + "type": "object", + "properties": { + "additional_context": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "captured_actions": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "captured_network": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "created_by": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "integration_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "start_url": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "test_case_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "test_configuration_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "test_data_set_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "test_environment_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + } + }, + "required": [] + }, + "PostAutomationGenerator-jobsRequest": { + "type": "object", + "properties": { + "additional_context": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "created_by": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "integration_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "start_url": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "test_case_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "test_configuration_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "test_data_set_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "test_environment_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + } + }, + "required": [] + }, + "PostAutomationRecorder-sessionRequest": { + "type": "object", + "properties": { + "created_by": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "engine_base_url": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "recorder_mode": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "recorder_public_base_url": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "recorder_target": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "reuse_existing": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "start_url": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "target_step_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "test_case_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "test_configuration_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "test_data_set_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "test_environment_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + } + }, + "required": [] + }, + "PostRecorder-sessionFinishRequest": { + "type": "object", + "properties": { + "additional_context": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "created_by": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "engine_base_url": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "integration_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "recorder_mode": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "recorder_session_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "recorder_target": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "target_step_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "test_case_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "test_configuration_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "test_data_set_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "test_environment_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "transaction_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + } + }, + "required": [] + }, + "PostTest-casesDesign-test-cases-previewRequest": { + "type": "object", + "properties": { + "additional_context": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "appType": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "app_type_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "external_links": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "images": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "integration_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "max_cases": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "requirement_ids": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "requirements": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + } + }, + "required": [] + }, + "PostTest-casesAi-authoring-previewRequest": { + "type": "object", + "properties": { + "additional_context": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "appType": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "app_type_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "integration_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "requirement": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "requirement_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "test_case": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + } + }, + "required": [] + }, + "PostTest-casesAi-step-rephraseRequest": { + "type": "object", + "properties": { + "additional_context": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "appType": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "app_type_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "integration_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "project_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "requirement": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "requirement_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "step": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "test_case": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + } + }, + "required": [] + }, + "PostTest-casesDesign-test-cases-acceptRequest": { + "type": "object", + "properties": { + "appType": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "app_type_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "cases": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "requirement_ids": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "requirements": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "status": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.82 + } + }, + "required": [] + }, + "PostTest-casesAi-generation-jobsRequest": { + "type": "object", + "properties": { + "app_type_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "created_by": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + } + }, + "required": [] + }, + "PutTest-casesRequest": { + "type": "object", + "properties": { + "app_type_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "automated": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "automation_status": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "description": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "external_references": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "parameter_values": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "priority": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "requirement_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "requirement_ids": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "steps": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "suite_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "suite_ids": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "title": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.82 + }, + "updated_by": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + } + }, + "required": [] + }, + "PostTest-configurationsRequest": { + "type": "object", + "properties": { + "app_type_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "browser": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "description": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "mobile_os": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "name": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.82 + }, + "platform_version": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "project_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "variables": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + } + }, + "required": [] + }, + "PutTest-configurationsRequest": { + "type": "object", + "properties": { + "app_type_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "browser": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "description": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "mobile_os": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "name": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.82 + }, + "platform_version": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "project_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "variables": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + } + }, + "required": [] + }, + "PostTest-data-setsRequest": { + "type": "object", + "properties": { + "app_type_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "columns": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "description": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "mode": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "name": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.82 + }, + "project_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "rows": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + } + }, + "required": [] + }, + "PutTest-data-setsRequest": { + "type": "object", + "properties": { + "app_type_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "columns": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "description": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "mode": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "name": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.82 + }, + "project_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "rows": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + } + }, + "required": [] + }, + "PostCallbacksRunsRequest": { + "type": "object", + "properties": { + "artifact_bundle": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "case_result": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "deterministic_attempted": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "emitted_at": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "engine_run_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "event": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "healing_attempted": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "healing_succeeded": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "patch_proposals": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "payload": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "qaira_execution_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "qaira_run_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "qaira_test_case_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "rawPayload": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "state": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "step_outcomes": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "summary": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + } + }, + "required": [] + }, + "PostJobsStartRequest": { + "type": "object", + "properties": { + "job_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "worker_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + } + }, + "required": [] + }, + "PostStepsExecuteRequest": { + "type": "object", + "properties": { + "job_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "step_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "steps": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + } + }, + "required": [] + }, + "PostStepsReportRequest": { + "type": "object", + "properties": { + "api_detail": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "automation_detail": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "captures": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "evidence": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "job_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "note": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "recovery_attempted": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "recovery_succeeded": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "step_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "steps": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "web_detail": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + } + }, + "required": [] + }, + "PostJobsCompleteRequest": { + "type": "object", + "properties": { + "artifact_bundle": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "deterministic_attempted": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "error": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "healing_attempted": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "healing_succeeded": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "job_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "patch_proposals": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "steps": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "summary": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + } + }, + "required": [] + }, + "PostJobsFailRequest": { + "type": "object", + "properties": { + "job_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "message": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + } + }, + "required": [] + }, + "PostTest-environmentsRequest": { + "type": "object", + "properties": { + "app_type_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "base_url": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "browser": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "description": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "name": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.82 + }, + "notes": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "project_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "variables": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + } + }, + "required": [] + }, + "PutTest-environmentsRequest": { + "type": "object", + "properties": { + "app_type_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "base_url": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "browser": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "description": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "name": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.82 + }, + "notes": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "project_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "variables": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + } + }, + "required": [] + }, + "PostTest-stepsRun-api-requestRequest": { + "type": "object", + "properties": { + "api_request": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + } + }, + "required": [] + }, + "PutTest-stepsRequest": { + "type": "object", + "properties": { + "action": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "api_request": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "automation_code": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "expected_result": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "group_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "group_kind": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "group_name": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "reusable_group_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "step_order": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "step_type": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "test_case_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + } + }, + "required": [] + }, + "PutTest-stepsReorderRequest": { + "type": "object", + "properties": { + "entries": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "indexOf": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "step_ids": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "test_case_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + } + }, + "required": [] + }, + "PostTest-suitesRequest": { + "type": "object", + "properties": { + "app_type_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "created_by": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "display_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "name": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.82 + }, + "parallel_count": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "parallel_enabled": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "parameter_values": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "parent_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "updated_at": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "updated_by": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + } + }, + "required": [] + }, + "PutTest-suitesRequest": { + "type": "object", + "properties": { + "name": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.82 + }, + "parallel_count": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "parallel_enabled": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "parameter_values": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "parent_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "updated_at": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "updated_by": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + } + }, + "required": [] + }, + "PostTest-suitesAssign-test-casesRequest": { + "type": "object", + "properties": { + "test_case_ids": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + } + }, + "required": [] + }, + "PostUsersRequest": { + "type": "object", + "properties": { + "email": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.82 + }, + "is_workspace_admin": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.6 + }, + "name": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.82 + }, + "password": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.82 + }, + "password_hash": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "project_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "role_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + }, + "user_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + } + }, + "required": [] + }, + "PostUsersImportRequest": { + "type": "object", + "properties": { + "rows": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + } + }, + "required": [] + }, + "PutUsersRequest": { + "type": "object", + "properties": { + "avatar_data_url": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "email": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.82 + }, + "is_workspace_admin": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.6 + }, + "name": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.82 + }, + "password": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.82 + }, + "password_hash": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "role_id": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.75 + } + }, + "required": [] + }, + "PutUsersPasswordRequest": { + "type": "object", + "properties": { + "current_password": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "new_password": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "password_hash": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + } + }, + "required": [] + }, + "PostMobileExecuteRequest": { + "type": "object", + "properties": { + "objectRepository": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "object_repository": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "steps": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + } + }, + "required": [] + }, + "PostRecorderSessionsRequest": { + "type": "object", + "properties": { + "locator": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "source": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "text": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "timestamp": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "type": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.82 + }, + "url": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "value": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "x": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "y": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + } + }, + "required": [] + }, + "PostSessionsInputRequest": { + "type": "object", + "properties": { + "height": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "type": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.82 + }, + "value": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "width": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "x": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "y": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + } + }, + "required": [] + }, + "PostV1RunsRequest": { + "type": "object", + "properties": { + "automated": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + }, + "callback": { + "type": "string", + "source": "precision_pattern_establishment", + "x-qaira-required-confidence": 0.55 + } + }, + "required": [] + } + } + } +} \ No newline at end of file diff --git a/qaira-generated/generated/postman_collection.json b/qaira-generated/generated/postman_collection.json new file mode 100644 index 0000000..5946a3e --- /dev/null +++ b/qaira-generated/generated/postman_collection.json @@ -0,0 +1,8849 @@ +{ + "info": { + "name": "Generated API Collection", + "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" + }, + "variable": [ + { + "key": "baseUrl", + "value": "{{baseUrl}}" + }, + { + "key": "authToken", + "value": "{{authToken}}" + } + ], + "item": [ + { + "name": "POSITIVE GET /projects/:project_id/knowledge", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/projects/:project_id/knowledge" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/aiKnowledge.routes.js:5" + }, + { + "name": "POSITIVE POST /projects/:project_id/knowledge", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/projects/:project_id/knowledge", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"asset_type\": \"{{data.asset_type}}\",\n \"content\": \"{{data.content}}\",\n \"content_type\": \"{{data.content_type}}\",\n \"description\": \"{{data.description}}\",\n \"embedding\": \"{{data.embedding}}\",\n \"feature_name\": \"{{data.feature_name}}\",\n \"is_active\": true,\n \"item_status\": \"{{data.item_status}}\",\n \"item_version\": \"{{data.item_version}}\",\n \"linked_test_cases\": \"{{data.linked_test_cases}}\",\n \"metadata\": \"{{data.metadata}}\",\n \"module_name\": \"{{data.module_name}}\",\n \"priority\": \"{{data.priority}}\",\n \"source\": \"{{data.source}}\",\n \"source_uri\": \"{{data.source_uri}}\",\n \"title\": \"{{data.title}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/aiKnowledge.routes.js:12" + }, + { + "name": "POSITIVE PUT /projects/:project_id/knowledge/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/projects/:project_id/knowledge/:id", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"asset_type\": \"{{data.asset_type}}\",\n \"content\": \"{{data.content}}\",\n \"content_type\": \"{{data.content_type}}\",\n \"description\": \"{{data.description}}\",\n \"embedding\": \"{{data.embedding}}\",\n \"feature_name\": \"{{data.feature_name}}\",\n \"is_active\": true,\n \"item_status\": \"{{data.item_status}}\",\n \"item_version\": \"{{data.item_version}}\",\n \"linked_test_cases\": \"{{data.linked_test_cases}}\",\n \"metadata\": \"{{data.metadata}}\",\n \"module_name\": \"{{data.module_name}}\",\n \"priority\": \"{{data.priority}}\",\n \"source\": \"{{data.source}}\",\n \"source_uri\": \"{{data.source_uri}}\",\n \"title\": \"{{data.title}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/aiKnowledge.routes.js:19" + }, + { + "name": "POSITIVE GET /projects/:project_id/knowledge/search", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/projects/:project_id/knowledge/search" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/aiKnowledge.routes.js:26" + }, + { + "name": "POSITIVE GET /projects/:project_id/knowledge/context-package", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/projects/:project_id/knowledge/context-package" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/aiKnowledge.routes.js:44" + }, + { + "name": "POSITIVE POST /projects/:project_id/knowledge/relations", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/projects/:project_id/knowledge/relations", + "body": { + "mode": "raw", + "raw": "{\n \"metadata\": \"{{data.metadata}}\",\n \"relation_type\": \"{{data.relation_type}}\",\n \"source_id\": \"{{lastId}}\",\n \"source_type\": \"{{data.source_type}}\",\n \"target_id\": \"{{lastId}}\",\n \"target_type\": \"{{data.target_type}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/aiKnowledge.routes.js:60" + }, + { + "name": "POSITIVE GET /projects/:project_id/knowledge/relations/source/:source_id", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/projects/:project_id/knowledge/relations/source/:source_id" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/aiKnowledge.routes.js:66" + }, + { + "name": "POSITIVE GET /projects/:project_id/knowledge/relations/target/:target_id", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/projects/:project_id/knowledge/relations/target/:target_id" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/aiKnowledge.routes.js:72" + }, + { + "name": "POSITIVE DELETE /projects/:project_id/knowledge/:id", + "request": { + "method": "DELETE", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/projects/:project_id/knowledge/:id" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/aiKnowledge.routes.js:78" + }, + { + "name": "POSITIVE GET /ai-prompt-templates", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/ai-prompt-templates" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/aiPromptTemplates.routes.js:32" + }, + { + "name": "POSITIVE POST /ai-prompt-templates", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/ai-prompt-templates", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"created_by\": \"{{data.created_by}}\",\n \"project_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/aiPromptTemplates.routes.js:43" + }, + { + "name": "POSITIVE PUT /ai-prompt-templates/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/ai-prompt-templates/:id", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/aiPromptTemplates.routes.js:71" + }, + { + "name": "POSITIVE DELETE /ai-prompt-templates/:id", + "request": { + "method": "DELETE", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/ai-prompt-templates/:id" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/aiPromptTemplates.routes.js:102" + }, + { + "name": "POSITIVE POST /app-types", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/app-types", + "body": { + "mode": "raw", + "raw": "{\n \"is_unified\": true,\n \"name\": \"{{data.name}}\",\n \"project_id\": \"{{lastId}}\",\n \"type\": \"{{data.type}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/appTypes.routes.js:8" + }, + { + "name": "POSITIVE GET /app-types", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/app-types" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/appTypes.routes.js:26" + }, + { + "name": "POSITIVE GET /app-types/:id", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/app-types/:id" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/appTypes.routes.js:40" + }, + { + "name": "POSITIVE PUT /app-types/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/app-types/:id", + "body": { + "mode": "raw", + "raw": "{\n \"is_unified\": true,\n \"name\": \"{{data.name}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/appTypes.routes.js:50" + }, + { + "name": "POSITIVE DELETE /app-types/:id", + "request": { + "method": "DELETE", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/app-types/:id" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/appTypes.routes.js:67" + }, + { + "name": "POSITIVE GET /auth/setup", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/auth/setup" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/auth.routes.js:14" + }, + { + "name": "POSITIVE POST /auth/signup/request-code", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/auth/signup/request-code" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/auth.routes.js:18" + }, + { + "name": "POSITIVE POST /auth/signup/verify", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/auth/signup/verify" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/auth.routes.js:28" + }, + { + "name": "POSITIVE POST /auth/login", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/auth/login" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/auth.routes.js:37" + }, + { + "name": "POSITIVE POST /auth/login/google", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/auth/login/google" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/auth.routes.js:46" + }, + { + "name": "POSITIVE POST /auth/forgot-password/request-code", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/auth/forgot-password/request-code" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/auth.routes.js:54" + }, + { + "name": "POSITIVE POST /auth/forgot-password/verify", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/auth/forgot-password/verify" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/auth.routes.js:63" + }, + { + "name": "POSITIVE GET /auth/session", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/auth/session" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/auth.routes.js:72" + }, + { + "name": "POSITIVE POST /automation-generator/internal/jobs/lease", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/automation-generator/internal/jobs/lease" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/automationGenerator.routes.js:4" + }, + { + "name": "POSITIVE GET /automation-generator/internal/jobs/:id", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/automation-generator/internal/jobs/:id" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/automationGenerator.routes.js:16" + }, + { + "name": "POSITIVE POST /automation-generator/internal/jobs/:id/run", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/automation-generator/internal/jobs/:id/run", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"agent_plan\": \"{{data.agent_plan}}\",\n \"integration_id\": \"{{lastId}}\",\n \"job_id\": \"{{lastId}}\",\n \"llm_model\": \"{{data.llm_model}}\",\n \"start_url\": \"{{data.start_url}}\",\n \"test_case_id\": \"{{lastId}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"test_environment_id\": \"{{lastId}}\",\n \"title\": \"{{data.title}}\",\n \"worker_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/automationGenerator.routes.js:21" + }, + { + "name": "POSITIVE GET /metadata/domain", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/metadata/domain" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/domainMetadata.routes.js:4" + }, + { + "name": "POSITIVE POST /api/engine/runs/claim", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/api/engine/runs/claim", + "body": { + "mode": "raw", + "raw": "{\n \"engine_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/engine.routes.js:4" + }, + { + "name": "POSITIVE GET /api/engine/runs/:runId/snapshot", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/api/engine/runs/:runId/snapshot" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/engine.routes.js:20" + }, + { + "name": "POSITIVE POST /api/engine/runs/:runId/heartbeat", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/api/engine/runs/:runId/heartbeat", + "body": { + "mode": "raw", + "raw": "{\n \"engine_id\": \"{{lastId}}\",\n \"heartbeat_at\": \"{{data.heartbeat_at}}\",\n \"leased_by\": \"{{data.leased_by}}\",\n \"updated_at\": \"{{data.updated_at}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/engine.routes.js:25" + }, + { + "name": "POSITIVE GET /api/runs/:runId/status", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/api/runs/:runId/status" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/engine.routes.js:35" + }, + { + "name": "POSITIVE GET /api/runs/:runId/results", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/api/runs/:runId/results" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/engine.routes.js:40" + }, + { + "name": "POSITIVE GET /api/runs/:runId/logs", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/api/runs/:runId/logs" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/engine.routes.js:45" + }, + { + "name": "POSITIVE GET /api/runs/:runId/artifacts", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/api/runs/:runId/artifacts" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/engine.routes.js:50" + }, + { + "name": "POSITIVE POST /execution-results", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/execution-results", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"defects\": \"{{data.defects}}\",\n \"duration_ms\": \"{{data.duration_ms}}\",\n \"error\": \"{{data.error}}\",\n \"executed_by\": \"{{data.executed_by}}\",\n \"execution_id\": \"{{lastId}}\",\n \"external_references\": \"{{data.external_references}}\",\n \"logs\": \"{{data.logs}}\",\n \"status\": \"{{data.status}}\",\n \"suite_id\": \"{{lastId}}\",\n \"suite_name\": \"{{data.suite_name}}\",\n \"test_case_id\": \"{{lastId}}\",\n \"test_case_title\": \"{{data.test_case_title}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executionResults.routes.js:7" + }, + { + "name": "POSITIVE GET /execution-results", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/execution-results" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executionResults.routes.js:28" + }, + { + "name": "POSITIVE GET /execution-results/:id", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/execution-results/:id" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executionResults.routes.js:42" + }, + { + "name": "POSITIVE PUT /execution-results/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/execution-results/:id", + "body": { + "mode": "raw", + "raw": "{\n \"defects\": \"{{data.defects}}\",\n \"duration_ms\": \"{{data.duration_ms}}\",\n \"error\": \"{{data.error}}\",\n \"executed_by\": \"{{data.executed_by}}\",\n \"external_references\": \"{{data.external_references}}\",\n \"logs\": \"{{data.logs}}\",\n \"status\": \"{{data.status}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executionResults.routes.js:49" + }, + { + "name": "POSITIVE DELETE /execution-results/:id", + "request": { + "method": "DELETE", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/execution-results/:id" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executionResults.routes.js:66" + }, + { + "name": "POSITIVE POST /execution-schedules", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/execution-schedules", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"assigned_to\": \"{{data.assigned_to}}\",\n \"cadence\": \"{{data.cadence}}\",\n \"created_by\": \"{{data.created_by}}\",\n \"is_active\": true,\n \"name\": \"{{data.name}}\",\n \"next_run_at\": \"{{data.next_run_at}}\",\n \"project_id\": \"{{lastId}}\",\n \"suite_ids\": \"{{data.suite_ids}}\",\n \"test_case_ids\": \"{{data.test_case_ids}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"test_environment_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executionSchedules.routes.js:5" + }, + { + "name": "POSITIVE GET /execution-schedules", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/execution-schedules" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executionSchedules.routes.js:28" + }, + { + "name": "POSITIVE GET /execution-schedules/:id", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/execution-schedules/:id" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executionSchedules.routes.js:44" + }, + { + "name": "POSITIVE PUT /execution-schedules/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/execution-schedules/:id", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"assigned_to\": \"{{data.assigned_to}}\",\n \"cadence\": \"{{data.cadence}}\",\n \"name\": \"{{data.name}}\",\n \"next_run_at\": \"{{data.next_run_at}}\",\n \"project_id\": \"{{lastId}}\",\n \"suite_ids\": \"{{data.suite_ids}}\",\n \"test_case_ids\": \"{{data.test_case_ids}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"test_environment_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executionSchedules.routes.js:51" + }, + { + "name": "POSITIVE POST /execution-schedules/:id/run", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/execution-schedules/:id/run" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executionSchedules.routes.js:76" + }, + { + "name": "POSITIVE DELETE /execution-schedules/:id", + "request": { + "method": "DELETE", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/execution-schedules/:id" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executionSchedules.routes.js:83" + }, + { + "name": "POSITIVE POST /executions/smart-plan-preview", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions/smart-plan-preview", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"appType\": \"{{data.appType}}\",\n \"app_type_id\": \"{{lastId}}\",\n \"cases\": \"{{data.cases}}\",\n \"impacted_requirement_ids\": \"{{data.impacted_requirement_ids}}\",\n \"integration_id\": \"{{lastId}}\",\n \"project_id\": \"{{lastId}}\",\n \"release_scope\": \"{{data.release_scope}}\",\n \"testCases\": \"{{data.testCases}}\",\n \"test_cases\": \"{{data.test_cases}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"test_environment_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:11" + }, + { + "name": "POSITIVE POST /executions/manual-run-suggestion", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions/manual-run-suggestion", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"app_type_id\": \"{{lastId}}\",\n \"integration_id\": \"{{lastId}}\",\n \"project_id\": \"{{lastId}}\",\n \"selected_suite_ids\": \"{{data.selected_suite_ids}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"test_environment_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:46" + }, + { + "name": "POSITIVE POST /executions", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"assigned_to\": \"{{data.assigned_to}}\",\n \"created_by\": \"{{data.created_by}}\",\n \"execution_hooks\": \"{{data.execution_hooks}}\",\n \"name\": \"{{data.name}}\",\n \"parallel_count\": 1,\n \"parallel_enabled\": \"{{data.parallel_enabled}}\",\n \"project_id\": \"{{lastId}}\",\n \"status\": \"{{data.status}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_configuration_name\": \"{{data.test_configuration_name}}\",\n \"test_configuration_snapshot\": \"{{data.test_configuration_snapshot}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"test_data_set_name\": \"{{data.test_data_set_name}}\",\n \"test_data_set_snapshot\": \"{{data.test_data_set_snapshot}}\",\n \"test_environment_id\": \"{{lastId}}\",\n \"test_environment_name\": \"{{data.test_environment_name}}\",\n \"test_environment_snapshot\": \"{{data.test_environment_snapshot}}\",\n \"trigger\": \"{{data.trigger}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:80" + }, + { + "name": "POSITIVE POST /executions/local-run", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions/local-run", + "body": { + "mode": "raw", + "raw": "{\n \"created_by\": \"{{data.created_by}}\",\n \"ended_at\": \"{{data.ended_at}}\",\n \"engine_base_url\": \"{{data.engine_base_url}}\",\n \"name\": \"{{data.name}}\",\n \"project_id\": \"{{lastId}}\",\n \"status\": \"{{data.status}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:107" + }, + { + "name": "POSITIVE GET /executions", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:133" + }, + { + "name": "POSITIVE GET /executions/:id", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions/:id" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:157" + }, + { + "name": "POSITIVE PUT /executions/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions/:id", + "body": { + "mode": "raw", + "raw": "{\n \"assigned_to\": \"{{data.assigned_to}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:165" + }, + { + "name": "POSITIVE PUT /executions/:id/cases/:testCaseId/assignment", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions/:id/cases/:testCaseId/assignment", + "body": { + "mode": "raw", + "raw": "{\n \"assigned_to\": \"{{data.assigned_to}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:178" + }, + { + "name": "POSITIVE POST /executions/:id/rerun", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions/:id/rerun", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"assigned_to\": \"{{data.assigned_to}}\",\n \"created_by\": \"{{data.created_by}}\",\n \"name\": \"{{data.name}}\",\n \"project_id\": \"{{lastId}}\",\n \"status\": \"{{data.status}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_configuration_name\": \"{{data.test_configuration_name}}\",\n \"test_configuration_snapshot\": \"{{data.test_configuration_snapshot}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"test_data_set_name\": \"{{data.test_data_set_name}}\",\n \"test_data_set_snapshot\": \"{{data.test_data_set_snapshot}}\",\n \"test_environment_id\": \"{{lastId}}\",\n \"test_environment_name\": \"{{data.test_environment_name}}\",\n \"test_environment_snapshot\": \"{{data.test_environment_snapshot}}\",\n \"trigger\": \"{{data.trigger}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:191" + }, + { + "name": "POSITIVE POST /executions/:id/start", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions/:id/start", + "body": { + "mode": "raw", + "raw": "{\n \"engine_base_url\": \"{{data.engine_base_url}}\",\n \"execution_mode\": \"{{data.execution_mode}}\",\n \"initiated_by\": \"{{data.initiated_by}}\",\n \"skip_testengine_dispatch\": \"{{data.skip_testengine_dispatch}}\",\n \"started_at\": \"{{data.started_at}}\",\n \"status\": \"{{data.status}}\",\n \"trigger\": \"{{data.trigger}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:208" + }, + { + "name": "POSITIVE POST /executions/:id/cases/:testCaseId/steps/:stepId/run", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions/:id/cases/:testCaseId/steps/:stepId/run", + "body": { + "mode": "raw", + "raw": "{\n \"executed_by\": \"{{data.executed_by}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:220" + }, + { + "name": "POSITIVE POST /executions/:id/cases/:testCaseId/ai-analysis", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions/:id/cases/:testCaseId/ai-analysis", + "body": { + "mode": "raw", + "raw": "{\n \"execution\": \"{{data.execution}}\",\n \"requestedBy\": \"{{data.requestedBy}}\",\n \"testCaseId\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:231" + }, + { + "name": "POSITIVE GET /executions/:id/report.pdf", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions/:id/report.pdf" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:244" + }, + { + "name": "POSITIVE GET /executions/:id/report.html", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions/:id/report.html" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:262" + }, + { + "name": "POSITIVE POST /executions/:id/share-report", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions/:id/share-report", + "body": { + "mode": "raw", + "raw": "{\n \"execution_id\": \"{{lastId}}\",\n \"recipients\": \"{{data.recipients}}\",\n \"requested_by\": \"{{data.requested_by}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:273" + }, + { + "name": "POSITIVE POST /executions/:id/complete", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions/:id/complete", + "body": { + "mode": "raw", + "raw": "{\n \"ended_at\": \"{{data.ended_at}}\",\n \"status\": \"{{data.status}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:292" + }, + { + "name": "POSITIVE DELETE /executions/:id", + "request": { + "method": "DELETE", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions/:id" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:308" + }, + { + "name": "POSITIVE POST /feedback", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/feedback", + "body": { + "mode": "raw", + "raw": "{\n \"message\": \"{{data.message}}\",\n \"status\": \"{{data.status}}\",\n \"title\": \"{{data.title}}\",\n \"user_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/feedback.routes.js:5" + }, + { + "name": "POSITIVE GET /feedback", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/feedback" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/feedback.routes.js:17" + }, + { + "name": "POSITIVE GET /feedback/:id", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/feedback/:id" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/feedback.routes.js:23" + }, + { + "name": "POSITIVE PUT /feedback/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/feedback/:id", + "body": { + "mode": "raw", + "raw": "{\n \"message\": \"{{data.message}}\",\n \"status\": \"{{data.status}}\",\n \"title\": \"{{data.title}}\",\n \"user_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/feedback.routes.js:28" + }, + { + "name": "POSITIVE DELETE /feedback/:id", + "request": { + "method": "DELETE", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/feedback/:id" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/feedback.routes.js:40" + }, + { + "name": "POSITIVE POST /integrations", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/integrations", + "body": { + "mode": "raw", + "raw": "{\n \"api_key\": \"{{data.api_key}}\",\n \"base_url\": \"{{data.base_url}}\",\n \"config\": \"{{data.config}}\",\n \"is_active\": true,\n \"model\": \"{{data.model}}\",\n \"name\": \"{{data.name}}\",\n \"project_key\": \"{{data.project_key}}\",\n \"type\": \"{{data.type}}\",\n \"updated_at\": \"{{data.updated_at}}\",\n \"username\": \"{{data.username}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/integrations.routes.js:130" + }, + { + "name": "POSITIVE GET /integrations", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/integrations" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/integrations.routes.js:148" + }, + { + "name": "POSITIVE POST /integrations/test-connection", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/integrations/test-connection", + "body": { + "mode": "raw", + "raw": "{\n \"api_key\": \"{{data.api_key}}\",\n \"base_url\": \"{{data.base_url}}\",\n \"config\": \"{{data.config}}\",\n \"type\": \"{{data.type}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/integrations.routes.js:164" + }, + { + "name": "POSITIVE GET /integrations/:id", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/integrations/:id" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/integrations.routes.js:177" + }, + { + "name": "POSITIVE PUT /integrations/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/integrations/:id", + "body": { + "mode": "raw", + "raw": "{\n \"api_key\": \"{{data.api_key}}\",\n \"base_url\": \"{{data.base_url}}\",\n \"config\": \"{{data.config}}\",\n \"is_active\": true,\n \"model\": \"{{data.model}}\",\n \"name\": \"{{data.name}}\",\n \"project_key\": \"{{data.project_key}}\",\n \"type\": \"{{data.type}}\",\n \"updated_at\": \"{{data.updated_at}}\",\n \"username\": \"{{data.username}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/integrations.routes.js:190" + }, + { + "name": "POSITIVE DELETE /integrations/:id", + "request": { + "method": "DELETE", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/integrations/:id" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/integrations.routes.js:208" + }, + { + "name": "POSITIVE GET /local-agent/status", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/local-agent/status" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/localAgent.routes.js:4" + }, + { + "name": "POSITIVE POST /local-agent/start", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/local-agent/start" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/localAgent.routes.js:9" + }, + { + "name": "POSITIVE DELETE /ops-telemetry/logs", + "request": { + "method": "DELETE", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/ops-telemetry/logs" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/opsTelemetry.routes.js:5" + }, + { + "name": "POSITIVE POST /project-members", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/project-members", + "body": { + "mode": "raw", + "raw": "{\n \"project_id\": \"{{lastId}}\",\n \"role_id\": \"{{lastId}}\",\n \"user_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/projectMembers.routes.js:4" + }, + { + "name": "POSITIVE GET /project-members", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/project-members" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/projectMembers.routes.js:14" + }, + { + "name": "POSITIVE GET /project-members/:id", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/project-members/:id" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/projectMembers.routes.js:19" + }, + { + "name": "POSITIVE PUT /project-members/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/project-members/:id", + "body": { + "mode": "raw", + "raw": "{\n \"project_id\": \"{{lastId}}\",\n \"role_id\": \"{{lastId}}\",\n \"user_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/projectMembers.routes.js:23" + }, + { + "name": "POSITIVE DELETE /project-members/:id", + "request": { + "method": "DELETE", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/project-members/:id" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/projectMembers.routes.js:33" + }, + { + "name": "POSITIVE POST /projects/:id/sync/:provider", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/projects/:id/sync/:provider", + "body": { + "mode": "raw", + "raw": "{\n \"created_by\": \"{{data.created_by}}\",\n \"project_id\": \"{{lastId}}\",\n \"provider\": \"{{data.provider}}\",\n \"trigger_mode\": \"{{data.trigger_mode}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/projectSync.routes.js:5" + }, + { + "name": "POSITIVE POST /projects", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/projects", + "body": { + "mode": "raw", + "raw": "{\n \"created_by\": \"{{data.created_by}}\",\n \"description\": \"{{data.description}}\",\n \"display_id\": \"{{lastId}}\",\n \"name\": \"{{data.name}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/projects.routes.js:5" + }, + { + "name": "POSITIVE GET /projects", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/projects" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/projects.routes.js:14" + }, + { + "name": "POSITIVE GET /projects/:id", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/projects/:id" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/projects.routes.js:20" + }, + { + "name": "POSITIVE PUT /projects/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/projects/:id", + "body": { + "mode": "raw", + "raw": "{\n \"description\": \"{{data.description}}\",\n \"name\": \"{{data.name}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/projects.routes.js:25" + }, + { + "name": "POSITIVE DELETE /projects/:id", + "request": { + "method": "DELETE", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/projects/:id" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/projects.routes.js:32" + }, + { + "name": "POSITIVE GET /requirement-test-cases", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/requirement-test-cases" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/requirementTestCases.routes.js:4" + }, + { + "name": "POSITIVE PUT /requirement-test-cases/replace", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/requirement-test-cases/replace", + "body": { + "mode": "raw", + "raw": "{\n \"requirement_id\": \"{{lastId}}\",\n \"test_case_ids\": \"{{data.test_case_ids}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/requirementTestCases.routes.js:9" + }, + { + "name": "POSITIVE POST /requirements", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/requirements", + "body": { + "mode": "raw", + "raw": "{\n \"created_by\": \"{{data.created_by}}\",\n \"description\": \"{{data.description}}\",\n \"display_id\": \"{{lastId}}\",\n \"external_references\": \"{{data.external_references}}\",\n \"priority\": \"{{data.priority}}\",\n \"project_id\": \"{{lastId}}\",\n \"status\": \"{{data.status}}\",\n \"title\": \"{{data.title}}\",\n \"updated_at\": \"{{data.updated_at}}\",\n \"updated_by\": \"{{data.updated_by}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/requirements.routes.js:8" + }, + { + "name": "POSITIVE POST /requirements/import", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/requirements/import", + "body": { + "mode": "raw", + "raw": "{\n \"project_id\": \"{{lastId}}\",\n \"rows\": \"{{data.rows}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/requirements.routes.js:29" + }, + { + "name": "POSITIVE GET /requirements", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/requirements" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/requirements.routes.js:49" + }, + { + "name": "POSITIVE GET /requirements/:id", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/requirements/:id" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/requirements.routes.js:65" + }, + { + "name": "POSITIVE PUT /requirements/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/requirements/:id", + "body": { + "mode": "raw", + "raw": "{\n \"description\": \"{{data.description}}\",\n \"external_references\": \"{{data.external_references}}\",\n \"priority\": \"{{data.priority}}\",\n \"project_id\": \"{{lastId}}\",\n \"status\": \"{{data.status}}\",\n \"title\": \"{{data.title}}\",\n \"updated_at\": \"{{data.updated_at}}\",\n \"updated_by\": \"{{data.updated_by}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/requirements.routes.js:73" + }, + { + "name": "POSITIVE POST /requirements/:id/ai-optimize-preview", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/requirements/:id/ai-optimize-preview", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"integration_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/requirements.routes.js:95" + }, + { + "name": "POSITIVE POST /requirements/:id/generate-test-cases", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/requirements/:id/generate-test-cases", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"appType\": \"{{data.appType}}\",\n \"app_type_id\": \"{{lastId}}\",\n \"external_links\": \"{{data.external_links}}\",\n \"images\": \"{{data.images}}\",\n \"integration_id\": \"{{lastId}}\",\n \"max_cases\": \"{{data.max_cases}}\",\n \"requirement\": \"{{data.requirement}}\",\n \"status\": \"{{data.status}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/requirements.routes.js:113" + }, + { + "name": "POSITIVE POST /requirements/:id/design-test-cases-preview", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/requirements/:id/design-test-cases-preview", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"appType\": \"{{data.appType}}\",\n \"app_type_id\": \"{{lastId}}\",\n \"external_links\": \"{{data.external_links}}\",\n \"images\": \"{{data.images}}\",\n \"integration_id\": \"{{lastId}}\",\n \"max_cases\": \"{{data.max_cases}}\",\n \"requirement\": \"{{data.requirement}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/requirements.routes.js:147" + }, + { + "name": "POSITIVE POST /requirements/:id/design-test-cases-accept", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/requirements/:id/design-test-cases-accept", + "body": { + "mode": "raw", + "raw": "{\n \"appType\": \"{{data.appType}}\",\n \"app_type_id\": \"{{lastId}}\",\n \"cases\": \"{{data.cases}}\",\n \"requirement\": \"{{data.requirement}}\",\n \"status\": \"{{data.status}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/requirements.routes.js:179" + }, + { + "name": "POSITIVE DELETE /requirements/:id", + "request": { + "method": "DELETE", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/requirements/:id" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/requirements.routes.js:209" + }, + { + "name": "POSITIVE POST /roles", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/roles", + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"{{data.name}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/roles.routes.js:4" + }, + { + "name": "POSITIVE GET /roles", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/roles" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/roles.routes.js:13" + }, + { + "name": "POSITIVE GET /roles/:id", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/roles/:id" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/roles.routes.js:17" + }, + { + "name": "POSITIVE GET /permissions", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/permissions" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/roles.routes.js:21" + }, + { + "name": "POSITIVE GET /roles/:id/permissions", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/roles/:id/permissions" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/roles.routes.js:25" + }, + { + "name": "POSITIVE PUT /roles/:id/permissions", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/roles/:id/permissions", + "body": { + "mode": "raw", + "raw": "{\n \"permission_codes\": \"{{data.permission_codes}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/roles.routes.js:29" + }, + { + "name": "POSITIVE PUT /roles/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/roles/:id", + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"{{data.name}}\",\n \"permission_codes\": \"{{data.permission_codes}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/roles.routes.js:37" + }, + { + "name": "POSITIVE DELETE /roles/:id", + "request": { + "method": "DELETE", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/roles/:id" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/roles.routes.js:46" + }, + { + "name": "POSITIVE GET /settings/localization", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/settings/localization" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/settings.routes.js:4" + }, + { + "name": "POSITIVE PUT /settings/localization", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/settings/localization", + "body": { + "mode": "raw", + "raw": "{\n \"key\": \"{{data.key}}\",\n \"strings\": \"{{data.strings}}\",\n \"updated_at\": \"{{data.updated_at}}\",\n \"value\": \"{{data.value}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/settings.routes.js:11" + }, + { + "name": "POSITIVE GET /settings/workspace-preferences", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/settings/workspace-preferences" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/settings.routes.js:21" + }, + { + "name": "POSITIVE PUT /settings/workspace-preferences", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/settings/workspace-preferences", + "body": { + "mode": "raw", + "raw": "{\n \"key\": \"{{data.key}}\",\n \"preferences\": \"{{data.preferences}}\",\n \"updated_at\": \"{{data.updated_at}}\",\n \"value\": \"{{data.value}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/settings.routes.js:28" + }, + { + "name": "POSITIVE POST /shared-step-groups", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/shared-step-groups", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"created_by\": \"{{data.created_by}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/sharedStepGroups.routes.js:6" + }, + { + "name": "POSITIVE GET /shared-step-groups", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/shared-step-groups" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/sharedStepGroups.routes.js:26" + }, + { + "name": "POSITIVE GET /shared-step-groups/:id", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/shared-step-groups/:id" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/sharedStepGroups.routes.js:37" + }, + { + "name": "POSITIVE PUT /shared-step-groups/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/shared-step-groups/:id", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"description\": \"{{data.description}}\",\n \"name\": \"{{data.name}}\",\n \"parameter_values\": \"{{data.parameter_values}}\",\n \"steps\": \"{{data.steps}}\",\n \"updated_by\": \"{{data.updated_by}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/sharedStepGroups.routes.js:47" + }, + { + "name": "POSITIVE DELETE /shared-step-groups/:id", + "request": { + "method": "DELETE", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/shared-step-groups/:id" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/sharedStepGroups.routes.js:68" + }, + { + "name": "POSITIVE GET /suite-test-cases", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/suite-test-cases" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/suiteTestCases.routes.js:4" + }, + { + "name": "POSITIVE PUT /suite-test-cases/reorder", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/suite-test-cases/reorder", + "body": { + "mode": "raw", + "raw": "{\n \"sort_order\": \"{{data.sort_order}}\",\n \"suite_id\": \"{{lastId}}\",\n \"test_case_ids\": \"{{data.test_case_ids}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/suiteTestCases.routes.js:9" + }, + { + "name": "POSITIVE POST /test-cases", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"created_by\": \"{{data.created_by}}\",\n \"steps\": \"{{data.steps}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:37" + }, + { + "name": "POSITIVE POST /test-cases/import", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/import", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"batches\": \"{{data.batches}}\",\n \"created_by\": \"{{data.created_by}}\",\n \"rows\": \"{{data.rows}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:69" + }, + { + "name": "POSITIVE POST /test-cases/export", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/export", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"created_by\": \"{{data.created_by}}\",\n \"test_case_ids\": \"{{data.test_case_ids}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:111" + }, + { + "name": "POSITIVE GET /test-cases/automation/learning-cache", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/automation/learning-cache" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:129" + }, + { + "name": "POSITIVE GET /test-cases/automation/repository-context", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/automation/repository-context" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:150" + }, + { + "name": "POSITIVE GET /test-cases/automation/learning-cache/export.csv", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/automation/learning-cache/export.csv" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:171" + }, + { + "name": "POSITIVE POST /test-cases/automation/learning-cache/import", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/automation/learning-cache/import", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"entries\": \"{{data.entries}}\",\n \"import_source\": \"{{data.import_source}}\",\n \"project_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:187" + }, + { + "name": "POSITIVE POST /test-cases/automation/learning-cache/extract-fields", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/automation/learning-cache/extract-fields", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"fields\": \"{{data.fields}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:211" + }, + { + "name": "POSITIVE GET /test-cases/automation/learning-cache/:id/usage", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/automation/learning-cache/:id/usage" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:235" + }, + { + "name": "POSITIVE PUT /test-cases/automation/learning-cache/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/automation/learning-cache/:id" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:251" + }, + { + "name": "POSITIVE POST /test-cases/automation/learning-cache", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/automation/learning-cache", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"confidence\": \"{{data.confidence}}\",\n \"dom_structure\": \"{{data.dom_structure}}\",\n \"fallback_strategy\": \"{{data.fallback_strategy}}\",\n \"locator\": \"{{data.locator}}\",\n \"locator_intent\": \"{{data.locator_intent}}\",\n \"locator_kind\": \"{{data.locator_kind}}\",\n \"metadata\": \"{{data.metadata}}\",\n \"object_name\": \"{{data.object_name}}\",\n \"object_role\": \"{{data.object_role}}\",\n \"page_key\": 1,\n \"page_url\": 1,\n \"project_id\": \"{{lastId}}\",\n \"screen_dom_compressed\": \"{{data.screen_dom_compressed}}\",\n \"screen_name\": \"{{data.screen_name}}\",\n \"screen_screenshot_url\": \"{{data.screen_screenshot_url}}\",\n \"screenshot_url\": \"{{data.screenshot_url}}\",\n \"source\": \"{{data.source}}\",\n \"target_criteria\": \"{{data.target_criteria}}\",\n \"test_case_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:303" + }, + { + "name": "POSITIVE DELETE /test-cases/automation/learning-cache/:id", + "request": { + "method": "DELETE", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/automation/learning-cache/:id" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:337" + }, + { + "name": "POSITIVE DELETE /test-cases/automation/learning-cache/screens/:screenName", + "request": { + "method": "DELETE", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/automation/learning-cache/screens/:screenName" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:355" + }, + { + "name": "POSITIVE GET /test-cases/automation/learning-cache/screens/:screenName/usage", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/automation/learning-cache/screens/:screenName/usage" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:373" + }, + { + "name": "POSITIVE PUT /test-cases/automation/learning-cache/screens/:screenName", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/automation/learning-cache/screens/:screenName", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"new_name\": \"{{data.new_name}}\",\n \"screen_name\": \"{{data.screen_name}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:390" + }, + { + "name": "POSITIVE POST /test-cases/automation/learning-cache/:id/ai-improve", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/automation/learning-cache/:id/ai-improve", + "body": { + "mode": "raw", + "raw": "{\n \"guidance\": \"{{data.guidance}}\",\n \"integration_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:412" + }, + { + "name": "POSITIVE POST /test-cases/automation/build-batch", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/automation/build-batch", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"created_by\": \"{{data.created_by}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:438" + }, + { + "name": "POSITIVE GET /test-cases", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:462" + }, + { + "name": "POSITIVE GET /test-cases/:id", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/:id" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:475" + }, + { + "name": "POSITIVE POST /test-cases/:id/automation/build", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/:id/automation/build", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"captured_actions\": \"{{data.captured_actions}}\",\n \"captured_network\": \"{{data.captured_network}}\",\n \"created_by\": \"{{data.created_by}}\",\n \"integration_id\": \"{{lastId}}\",\n \"start_url\": \"{{data.start_url}}\",\n \"test_case_id\": \"{{lastId}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"test_environment_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:486" + }, + { + "name": "POSITIVE POST /test-cases/:id/automation/generator-jobs", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/:id/automation/generator-jobs", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"created_by\": \"{{data.created_by}}\",\n \"integration_id\": \"{{lastId}}\",\n \"start_url\": \"{{data.start_url}}\",\n \"test_case_id\": \"{{lastId}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"test_environment_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:521" + }, + { + "name": "POSITIVE POST /test-cases/:id/automation/recorder-session", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/:id/automation/recorder-session", + "body": { + "mode": "raw", + "raw": "{\n \"created_by\": \"{{data.created_by}}\",\n \"engine_base_url\": \"{{data.engine_base_url}}\",\n \"recorder_mode\": \"{{data.recorder_mode}}\",\n \"recorder_public_base_url\": \"{{data.recorder_public_base_url}}\",\n \"recorder_target\": \"{{data.recorder_target}}\",\n \"reuse_existing\": \"{{data.reuse_existing}}\",\n \"start_url\": \"{{data.start_url}}\",\n \"target_step_id\": \"{{lastId}}\",\n \"test_case_id\": \"{{lastId}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"test_environment_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:552" + }, + { + "name": "POSITIVE POST /test-cases/:id/automation/recorder-session/:sessionId/finish", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/:id/automation/recorder-session/:sessionId/finish", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"created_by\": \"{{data.created_by}}\",\n \"engine_base_url\": \"{{data.engine_base_url}}\",\n \"integration_id\": \"{{lastId}}\",\n \"recorder_mode\": \"{{data.recorder_mode}}\",\n \"recorder_session_id\": \"{{lastId}}\",\n \"recorder_target\": \"{{data.recorder_target}}\",\n \"target_step_id\": \"{{lastId}}\",\n \"test_case_id\": \"{{lastId}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"test_environment_id\": \"{{lastId}}\",\n \"transaction_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:591" + }, + { + "name": "POSITIVE POST /test-cases/design-test-cases-preview", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/design-test-cases-preview", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"appType\": \"{{data.appType}}\",\n \"app_type_id\": \"{{lastId}}\",\n \"external_links\": \"{{data.external_links}}\",\n \"images\": \"{{data.images}}\",\n \"integration_id\": \"{{lastId}}\",\n \"max_cases\": \"{{data.max_cases}}\",\n \"requirement_ids\": \"{{data.requirement_ids}}\",\n \"requirements\": \"{{data.requirements}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:631" + }, + { + "name": "POSITIVE POST /test-cases/ai-authoring-preview", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/ai-authoring-preview", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"appType\": \"{{data.appType}}\",\n \"app_type_id\": \"{{lastId}}\",\n \"integration_id\": \"{{lastId}}\",\n \"requirement\": \"{{data.requirement}}\",\n \"requirement_id\": \"{{lastId}}\",\n \"test_case\": \"{{data.test_case}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:659" + }, + { + "name": "POSITIVE POST /test-cases/ai-step-rephrase", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/ai-step-rephrase", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"appType\": \"{{data.appType}}\",\n \"app_type_id\": \"{{lastId}}\",\n \"integration_id\": \"{{lastId}}\",\n \"project_id\": \"{{lastId}}\",\n \"requirement\": \"{{data.requirement}}\",\n \"requirement_id\": \"{{lastId}}\",\n \"step\": \"{{data.step}}\",\n \"test_case\": \"{{data.test_case}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:683" + }, + { + "name": "POSITIVE POST /test-cases/design-test-cases-accept", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/design-test-cases-accept", + "body": { + "mode": "raw", + "raw": "{\n \"appType\": \"{{data.appType}}\",\n \"app_type_id\": \"{{lastId}}\",\n \"cases\": \"{{data.cases}}\",\n \"requirement_ids\": \"{{data.requirement_ids}}\",\n \"requirements\": \"{{data.requirements}}\",\n \"status\": \"{{data.status}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:715" + }, + { + "name": "POSITIVE GET /test-cases/ai-generation-jobs", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/ai-generation-jobs" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:741" + }, + { + "name": "POSITIVE POST /test-cases/ai-generation-jobs", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/ai-generation-jobs", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"created_by\": \"{{data.created_by}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:756" + }, + { + "name": "POSITIVE PUT /test-cases/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/:id", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"automated\": \"{{data.automated}}\",\n \"automation_status\": \"{{data.automation_status}}\",\n \"description\": \"{{data.description}}\",\n \"external_references\": \"{{data.external_references}}\",\n \"parameter_values\": \"{{data.parameter_values}}\",\n \"priority\": \"{{data.priority}}\",\n \"requirement_id\": \"{{lastId}}\",\n \"requirement_ids\": \"{{data.requirement_ids}}\",\n \"steps\": \"{{data.steps}}\",\n \"suite_id\": \"{{lastId}}\",\n \"suite_ids\": \"{{data.suite_ids}}\",\n \"title\": \"{{data.title}}\",\n \"updated_by\": \"{{data.updated_by}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:782" + }, + { + "name": "POSITIVE POST /test-cases/:id/accept-generated", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/:id/accept-generated" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:819" + }, + { + "name": "POSITIVE DELETE /test-cases/:id/reject-generated", + "request": { + "method": "DELETE", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/:id/reject-generated" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:832" + }, + { + "name": "POSITIVE DELETE /test-cases/:id", + "request": { + "method": "DELETE", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/:id" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:845" + }, + { + "name": "POSITIVE POST /test-configurations", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-configurations", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"browser\": \"{{data.browser}}\",\n \"description\": \"{{data.description}}\",\n \"mobile_os\": \"{{data.mobile_os}}\",\n \"name\": \"{{data.name}}\",\n \"platform_version\": \"{{data.platform_version}}\",\n \"project_id\": \"{{lastId}}\",\n \"variables\": \"{{data.variables}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testConfigurations.routes.js:6" + }, + { + "name": "POSITIVE GET /test-configurations", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-configurations" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testConfigurations.routes.js:33" + }, + { + "name": "POSITIVE GET /test-configurations/:id", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-configurations/:id" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testConfigurations.routes.js:47" + }, + { + "name": "POSITIVE PUT /test-configurations/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-configurations/:id", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"browser\": \"{{data.browser}}\",\n \"description\": \"{{data.description}}\",\n \"mobile_os\": \"{{data.mobile_os}}\",\n \"name\": \"{{data.name}}\",\n \"platform_version\": \"{{data.platform_version}}\",\n \"project_id\": \"{{lastId}}\",\n \"variables\": \"{{data.variables}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testConfigurations.routes.js:54" + }, + { + "name": "POSITIVE DELETE /test-configurations/:id", + "request": { + "method": "DELETE", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-configurations/:id" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testConfigurations.routes.js:78" + }, + { + "name": "POSITIVE POST /test-data-sets", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-data-sets", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"columns\": \"{{data.columns}}\",\n \"description\": \"{{data.description}}\",\n \"mode\": \"{{data.mode}}\",\n \"name\": \"{{data.name}}\",\n \"project_id\": \"{{lastId}}\",\n \"rows\": \"{{data.rows}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testDataSets.routes.js:7" + }, + { + "name": "POSITIVE GET /test-data-sets", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-data-sets" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testDataSets.routes.js:33" + }, + { + "name": "POSITIVE GET /test-data-sets/:id", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-data-sets/:id" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testDataSets.routes.js:47" + }, + { + "name": "POSITIVE PUT /test-data-sets/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-data-sets/:id", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"columns\": \"{{data.columns}}\",\n \"description\": \"{{data.description}}\",\n \"mode\": \"{{data.mode}}\",\n \"name\": \"{{data.name}}\",\n \"project_id\": \"{{lastId}}\",\n \"rows\": \"{{data.rows}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testDataSets.routes.js:54" + }, + { + "name": "POSITIVE DELETE /test-data-sets/:id", + "request": { + "method": "DELETE", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-data-sets/:id" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testDataSets.routes.js:77" + }, + { + "name": "POSITIVE POST /api/testengine/callbacks/runs", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/api/testengine/callbacks/runs", + "body": { + "mode": "raw", + "raw": "{\n \"artifact_bundle\": \"{{data.artifact_bundle}}\",\n \"case_result\": \"{{data.case_result}}\",\n \"deterministic_attempted\": \"{{data.deterministic_attempted}}\",\n \"emitted_at\": \"{{data.emitted_at}}\",\n \"engine_run_id\": \"{{lastId}}\",\n \"event\": \"{{data.event}}\",\n \"healing_attempted\": \"{{data.healing_attempted}}\",\n \"healing_succeeded\": \"{{data.healing_succeeded}}\",\n \"patch_proposals\": \"{{data.patch_proposals}}\",\n \"payload\": \"{{data.payload}}\",\n \"qaira_execution_id\": \"{{lastId}}\",\n \"qaira_run_id\": \"{{lastId}}\",\n \"qaira_test_case_id\": \"{{lastId}}\",\n \"rawPayload\": \"{{data.rawPayload}}\",\n \"state\": \"{{data.state}}\",\n \"step_outcomes\": \"{{data.step_outcomes}}\",\n \"summary\": \"{{data.summary}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testEngineCallbacks.routes.js:20" + }, + { + "name": "POSITIVE POST /testengine/internal/jobs/lease", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/testengine/internal/jobs/lease" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testEngineInternal.routes.js:4" + }, + { + "name": "POSITIVE GET /testengine/internal/jobs/queue-stats", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/testengine/internal/jobs/queue-stats" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testEngineInternal.routes.js:18" + }, + { + "name": "POSITIVE GET /testengine/internal/jobs/:id", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/testengine/internal/jobs/:id" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testEngineInternal.routes.js:23" + }, + { + "name": "POSITIVE POST /testengine/internal/jobs/:id/start", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/testengine/internal/jobs/:id/start", + "body": { + "mode": "raw", + "raw": "{\n \"job_id\": \"{{lastId}}\",\n \"worker_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testEngineInternal.routes.js:28" + }, + { + "name": "POSITIVE POST /testengine/internal/jobs/:id/steps/:stepId/execute", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/testengine/internal/jobs/:id/steps/:stepId/execute", + "body": { + "mode": "raw", + "raw": "{\n \"job_id\": \"{{lastId}}\",\n \"step_id\": \"{{lastId}}\",\n \"steps\": \"{{data.steps}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testEngineInternal.routes.js:41" + }, + { + "name": "POSITIVE POST /testengine/internal/jobs/:id/steps/:stepId/report", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/testengine/internal/jobs/:id/steps/:stepId/report", + "body": { + "mode": "raw", + "raw": "{\n \"api_detail\": \"{{data.api_detail}}\",\n \"automation_detail\": \"{{data.automation_detail}}\",\n \"captures\": \"{{data.captures}}\",\n \"evidence\": \"{{data.evidence}}\",\n \"job_id\": \"{{lastId}}\",\n \"note\": \"{{data.note}}\",\n \"recovery_attempted\": \"{{data.recovery_attempted}}\",\n \"recovery_succeeded\": \"{{data.recovery_succeeded}}\",\n \"step_id\": \"{{lastId}}\",\n \"steps\": \"{{data.steps}}\",\n \"web_detail\": \"{{data.web_detail}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testEngineInternal.routes.js:50" + }, + { + "name": "POSITIVE POST /testengine/internal/jobs/:id/complete", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/testengine/internal/jobs/:id/complete", + "body": { + "mode": "raw", + "raw": "{\n \"artifact_bundle\": \"{{data.artifact_bundle}}\",\n \"deterministic_attempted\": \"{{data.deterministic_attempted}}\",\n \"error\": \"{{data.error}}\",\n \"healing_attempted\": \"{{data.healing_attempted}}\",\n \"healing_succeeded\": \"{{data.healing_succeeded}}\",\n \"job_id\": \"{{lastId}}\",\n \"patch_proposals\": \"{{data.patch_proposals}}\",\n \"steps\": \"{{data.steps}}\",\n \"summary\": \"{{data.summary}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testEngineInternal.routes.js:80" + }, + { + "name": "POSITIVE POST /testengine/internal/jobs/:id/fail", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/testengine/internal/jobs/:id/fail", + "body": { + "mode": "raw", + "raw": "{\n \"job_id\": \"{{lastId}}\",\n \"message\": \"{{data.message}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testEngineInternal.routes.js:107" + }, + { + "name": "POSITIVE POST /test-environments", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-environments", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"base_url\": \"{{data.base_url}}\",\n \"browser\": \"{{data.browser}}\",\n \"description\": \"{{data.description}}\",\n \"name\": \"{{data.name}}\",\n \"notes\": \"{{data.notes}}\",\n \"project_id\": \"{{lastId}}\",\n \"variables\": \"{{data.variables}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testEnvironments.routes.js:6" + }, + { + "name": "POSITIVE GET /test-environments", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-environments" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testEnvironments.routes.js:33" + }, + { + "name": "POSITIVE GET /test-environments/:id", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-environments/:id" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testEnvironments.routes.js:47" + }, + { + "name": "POSITIVE PUT /test-environments/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-environments/:id", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"base_url\": \"{{data.base_url}}\",\n \"browser\": \"{{data.browser}}\",\n \"description\": \"{{data.description}}\",\n \"name\": \"{{data.name}}\",\n \"notes\": \"{{data.notes}}\",\n \"project_id\": \"{{lastId}}\",\n \"variables\": \"{{data.variables}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testEnvironments.routes.js:54" + }, + { + "name": "POSITIVE DELETE /test-environments/:id", + "request": { + "method": "DELETE", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-environments/:id" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testEnvironments.routes.js:78" + }, + { + "name": "POSITIVE POST /test-steps", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-steps" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testSteps.routes.js:5" + }, + { + "name": "POSITIVE GET /test-steps", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-steps" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testSteps.routes.js:24" + }, + { + "name": "POSITIVE POST /test-steps/run-api-request", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-steps/run-api-request", + "body": { + "mode": "raw", + "raw": "{\n \"api_request\": \"{{data.api_request}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testSteps.routes.js:30" + }, + { + "name": "POSITIVE GET /test-steps/:id", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-steps/:id" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testSteps.routes.js:39" + }, + { + "name": "POSITIVE PUT /test-steps/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-steps/:id", + "body": { + "mode": "raw", + "raw": "{\n \"action\": \"{{data.action}}\",\n \"api_request\": \"{{data.api_request}}\",\n \"automation_code\": \"{{data.automation_code}}\",\n \"expected_result\": \"{{data.expected_result}}\",\n \"group_id\": \"{{lastId}}\",\n \"group_kind\": \"{{data.group_kind}}\",\n \"group_name\": \"{{data.group_name}}\",\n \"reusable_group_id\": \"{{lastId}}\",\n \"step_order\": \"{{data.step_order}}\",\n \"step_type\": \"{{data.step_type}}\",\n \"test_case_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testSteps.routes.js:44" + }, + { + "name": "POSITIVE POST /test-steps/duplicate", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-steps/duplicate" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testSteps.routes.js:63" + }, + { + "name": "POSITIVE POST /test-steps/group", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-steps/group" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testSteps.routes.js:74" + }, + { + "name": "POSITIVE POST /test-steps/ungroup", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-steps/ungroup" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testSteps.routes.js:88" + }, + { + "name": "POSITIVE POST /test-steps/insert-shared-group", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-steps/insert-shared-group" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testSteps.routes.js:98" + }, + { + "name": "POSITIVE PUT /test-cases/:id/test-steps/reorder", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/:id/test-steps/reorder", + "body": { + "mode": "raw", + "raw": "{\n \"entries\": \"{{data.entries}}\",\n \"indexOf\": \"{{data.indexOf}}\",\n \"step_ids\": \"{{data.step_ids}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testSteps.routes.js:109" + }, + { + "name": "POSITIVE PUT /test-steps/reorder", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-steps/reorder", + "body": { + "mode": "raw", + "raw": "{\n \"entries\": \"{{data.entries}}\",\n \"indexOf\": \"{{data.indexOf}}\",\n \"step_ids\": \"{{data.step_ids}}\",\n \"test_case_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testSteps.routes.js:118" + }, + { + "name": "POSITIVE DELETE /test-steps/:id", + "request": { + "method": "DELETE", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-steps/:id" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testSteps.routes.js:128" + }, + { + "name": "POSITIVE POST /test-suites", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-suites", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"created_by\": \"{{data.created_by}}\",\n \"display_id\": \"{{lastId}}\",\n \"name\": \"{{data.name}}\",\n \"parallel_count\": 1,\n \"parallel_enabled\": \"{{data.parallel_enabled}}\",\n \"parameter_values\": \"{{data.parameter_values}}\",\n \"parent_id\": \"{{lastId}}\",\n \"updated_at\": \"{{data.updated_at}}\",\n \"updated_by\": \"{{data.updated_by}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testSuites.routes.js:6" + }, + { + "name": "POSITIVE GET /test-suites", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-suites" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testSuites.routes.js:28" + }, + { + "name": "POSITIVE GET /test-suites/:id", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-suites/:id" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testSuites.routes.js:41" + }, + { + "name": "POSITIVE PUT /test-suites/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-suites/:id", + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"{{data.name}}\",\n \"parallel_count\": 1,\n \"parallel_enabled\": \"{{data.parallel_enabled}}\",\n \"parameter_values\": \"{{data.parameter_values}}\",\n \"parent_id\": \"{{lastId}}\",\n \"updated_at\": \"{{data.updated_at}}\",\n \"updated_by\": \"{{data.updated_by}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testSuites.routes.js:49" + }, + { + "name": "POSITIVE POST /test-suites/:id/assign-test-cases", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-suites/:id/assign-test-cases", + "body": { + "mode": "raw", + "raw": "{\n \"test_case_ids\": \"{{data.test_case_ids}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testSuites.routes.js:70" + }, + { + "name": "POSITIVE DELETE /test-suites/:id", + "request": { + "method": "DELETE", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-suites/:id" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testSuites.routes.js:84" + }, + { + "name": "POSITIVE POST /users", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/users", + "body": { + "mode": "raw", + "raw": "{\n \"email\": \"{{data.email}}\",\n \"is_workspace_admin\": true,\n \"name\": \"{{data.name}}\",\n \"password\": \"{{data.password}}\",\n \"password_hash\": \"{{data.password}}\",\n \"project_id\": \"{{lastId}}\",\n \"role_id\": \"{{lastId}}\",\n \"user_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/users.js:12" + }, + { + "name": "POSITIVE POST /users/import", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/users/import", + "body": { + "mode": "raw", + "raw": "{\n \"rows\": \"{{data.rows}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/users.js:28" + }, + { + "name": "POSITIVE GET /users", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/users" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/users.js:44" + }, + { + "name": "POSITIVE GET /users/:id", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/users/:id" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/users.js:48" + }, + { + "name": "POSITIVE PUT /users/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/users/:id", + "body": { + "mode": "raw", + "raw": "{\n \"avatar_data_url\": \"{{data.avatar_data_url}}\",\n \"email\": \"{{data.email}}\",\n \"is_workspace_admin\": true,\n \"name\": \"{{data.name}}\",\n \"password\": \"{{data.password}}\",\n \"password_hash\": \"{{data.password}}\",\n \"role_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/users.js:52" + }, + { + "name": "POSITIVE PUT /users/:id/password", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/users/:id/password", + "body": { + "mode": "raw", + "raw": "{\n \"current_password\": \"{{data.password}}\",\n \"new_password\": \"{{data.password}}\",\n \"password_hash\": \"{{data.password}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/users.js:76" + }, + { + "name": "POSITIVE DELETE /users/:id", + "request": { + "method": "DELETE", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/users/:id" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/users.js:93" + }, + { + "name": "POSITIVE GET /workspace-transactions", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/workspace-transactions" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/workspaceTransactions.routes.js:12" + }, + { + "name": "POSITIVE GET /workspace-transactions/:id/events", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/workspace-transactions/:id/events" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/workspaceTransactions.routes.js:42" + }, + { + "name": "POSITIVE GET /workspace-transactions/:id/artifacts", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/workspace-transactions/:id/artifacts" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/workspaceTransactions.routes.js:56" + }, + { + "name": "POSITIVE GET /workspace-transactions/:id/artifacts/:artifactId/download", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/workspace-transactions/:id/artifacts/:artifactId/download" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/workspaceTransactions.routes.js:70" + }, + { + "name": "POSITIVE DELETE /workspace-transactions/:id", + "request": { + "method": "DELETE", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/workspace-transactions/:id" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/workspaceTransactions.routes.js:103" + }, + { + "name": "POSITIVE GET /health", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/health" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/plugins/observability.js:195" + }, + { + "name": "POSITIVE GET /health/ready", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/health/ready" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/plugins/observability.js:204" + }, + { + "name": "POSITIVE GET /metrics", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/metrics" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/plugins/observability.js:226" + }, + { + "name": "POSITIVE GET /health", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/health" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: local-run/mobile-engine/src/server.js:407" + }, + { + "name": "POSITIVE GET /api/v1/capabilities", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/api/v1/capabilities" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: local-run/mobile-engine/src/server.js:413" + }, + { + "name": "POSITIVE POST /api/v1/mobile/execute", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/api/v1/mobile/execute", + "body": { + "mode": "raw", + "raw": "{\n \"objectRepository\": \"{{data.objectRepository}}\",\n \"object_repository\": \"{{data.object_repository}}\",\n \"steps\": \"{{data.steps}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: local-run/mobile-engine/src/server.js:422" + }, + { + "name": "POSITIVE POST /api/v1/mobile/recorder/sessions", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/api/v1/mobile/recorder/sessions", + "body": { + "mode": "raw", + "raw": "{\n \"recorder_mode\": \"{{data.recorder_mode}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: local-run/mobile-engine/src/server.js:464" + }, + { + "name": "POSITIVE GET /api/v1/mobile/recorder/sessions/:id", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/api/v1/mobile/recorder/sessions/:id" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: local-run/mobile-engine/src/server.js:503" + }, + { + "name": "POSITIVE GET /api/v1/mobile/recorder/sessions/:id/live", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/api/v1/mobile/recorder/sessions/:id/live" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: local-run/mobile-engine/src/server.js:513" + }, + { + "name": "POSITIVE GET /api/v1/mobile/recorder/sessions/:id/screenshot", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/api/v1/mobile/recorder/sessions/:id/screenshot" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: local-run/mobile-engine/src/server.js:535" + }, + { + "name": "POSITIVE POST /api/v1/mobile/recorder/sessions/:id/input", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/api/v1/mobile/recorder/sessions/:id/input", + "body": { + "mode": "raw", + "raw": "{\n \"height\": \"{{data.height}}\",\n \"type\": \"{{data.type}}\",\n \"value\": \"{{data.value}}\",\n \"width\": \"{{data.width}}\",\n \"x\": \"{{data.x}}\",\n \"y\": \"{{data.y}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: local-run/mobile-engine/src/server.js:555" + }, + { + "name": "POSITIVE POST /api/v1/mobile/recorder/sessions/:id/stop", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/api/v1/mobile/recorder/sessions/:id/stop" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: local-run/mobile-engine/src/server.js:593" + }, + { + "name": "POSITIVE GET /health", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/health" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: testengine/backend/src/server.ts:94" + }, + { + "name": "POSITIVE GET /api/v1/capabilities", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/api/v1/capabilities" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: testengine/backend/src/server.ts:104" + }, + { + "name": "POSITIVE GET /api/v1/live-session/screenshot", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/api/v1/live-session/screenshot" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: testengine/backend/src/server.ts:106" + }, + { + "name": "POSITIVE GET /api/v1/live-session", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/api/v1/live-session" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: testengine/backend/src/server.ts:120" + }, + { + "name": "POSITIVE GET /api/v1/runs", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/api/v1/runs" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: testengine/backend/src/server.ts:191" + }, + { + "name": "POSITIVE GET /api/v1/runs/:id", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/api/v1/runs/:id" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: testengine/backend/src/server.ts:195" + }, + { + "name": "POSITIVE POST /api/v1/runs", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/api/v1/runs", + "body": { + "mode": "raw", + "raw": "{\n \"automated\": \"{{data.automated}}\",\n \"callback\": \"{{data.callback}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: testengine/backend/src/server.ts:207" + }, + { + "name": "POSITIVE POST /api/v1/runs/:id/retry", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/api/v1/runs/:id/retry" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: testengine/backend/src/server.ts:235" + }, + { + "name": "POSITIVE GET /api/v1/recorder/sessions", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/api/v1/recorder/sessions" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: testengine/backend/src/lib/recorder.ts:1598" + }, + { + "name": "POSITIVE GET /api/v1/recorder/sessions/:id", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/api/v1/recorder/sessions/:id" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: testengine/backend/src/lib/recorder.ts:1602" + }, + { + "name": "POSITIVE GET /api/v1/recorder/sessions/:id/tabs", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/api/v1/recorder/sessions/:id/tabs" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: testengine/backend/src/lib/recorder.ts:1614" + }, + { + "name": "POSITIVE POST /api/v1/recorder/sessions/:id/inspect/start", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/api/v1/recorder/sessions/:id/inspect/start" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: testengine/backend/src/lib/recorder.ts:1637" + }, + { + "name": "POSITIVE POST /api/v1/recorder/sessions/:id/inspect/stop", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/api/v1/recorder/sessions/:id/inspect/stop" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: testengine/backend/src/lib/recorder.ts:1671" + }, + { + "name": "POSITIVE POST /api/v1/recorder/sessions/:id/highlight", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/api/v1/recorder/sessions/:id/highlight" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: testengine/backend/src/lib/recorder.ts:1699" + }, + { + "name": "POSITIVE GET /api/v1/recorder/sessions/:id/inspect/result", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/api/v1/recorder/sessions/:id/inspect/result" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: testengine/backend/src/lib/recorder.ts:1738" + }, + { + "name": "POSITIVE GET /api/v1/recorder/sessions/:id/live", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/api/v1/recorder/sessions/:id/live" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: testengine/backend/src/lib/recorder.ts:1863" + }, + { + "name": "POSITIVE GET /api/v1/recorder/sessions/:id/stream", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/api/v1/recorder/sessions/:id/stream" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: testengine/backend/src/lib/recorder.ts:1884" + }, + { + "name": "POSITIVE GET /api/v1/recorder/sessions/:id/screenshot", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/api/v1/recorder/sessions/:id/screenshot" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: testengine/backend/src/lib/recorder.ts:2013" + }, + { + "name": "POSITIVE POST /api/v1/recorder/sessions/:id/input", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/api/v1/recorder/sessions/:id/input" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: testengine/backend/src/lib/recorder.ts:2049" + }, + { + "name": "POSITIVE POST /api/v1/recorder/sessions", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/api/v1/recorder/sessions", + "body": { + "mode": "raw", + "raw": "{\n \"locator\": \"{{data.locator}}\",\n \"source\": \"{{data.source}}\",\n \"text\": \"{{data.text}}\",\n \"timestamp\": \"{{data.timestamp}}\",\n \"type\": \"{{data.type}}\",\n \"url\": \"{{data.url}}\",\n \"value\": \"{{data.value}}\",\n \"x\": \"{{data.x}}\",\n \"y\": \"{{data.y}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: testengine/backend/src/lib/recorder.ts:2188" + }, + { + "name": "POSITIVE POST /api/v1/recorder/sessions/:id/stop", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/api/v1/recorder/sessions/:id/stop" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: testengine/backend/src/lib/recorder.ts:2358" + } + ] +} \ No newline at end of file diff --git a/qaira-generated/generated/qaira_tests.json b/qaira-generated/generated/qaira_tests.json new file mode 100644 index 0000000..7423a7c --- /dev/null +++ b/qaira-generated/generated/qaira_tests.json @@ -0,0 +1,20642 @@ +{ + "tests": [ + { + "name": "POSITIVE GET /projects/:project_id/knowledge", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/projects/:project_id/knowledge" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/aiKnowledge.routes.js:5" + }, + { + "name": "POSITIVE POST /projects/:project_id/knowledge", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/projects/:project_id/knowledge", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"asset_type\": \"{{data.asset_type}}\",\n \"content\": \"{{data.content}}\",\n \"content_type\": \"{{data.content_type}}\",\n \"description\": \"{{data.description}}\",\n \"embedding\": \"{{data.embedding}}\",\n \"feature_name\": \"{{data.feature_name}}\",\n \"is_active\": true,\n \"item_status\": \"{{data.item_status}}\",\n \"item_version\": \"{{data.item_version}}\",\n \"linked_test_cases\": \"{{data.linked_test_cases}}\",\n \"metadata\": \"{{data.metadata}}\",\n \"module_name\": \"{{data.module_name}}\",\n \"priority\": \"{{data.priority}}\",\n \"source\": \"{{data.source}}\",\n \"source_uri\": \"{{data.source_uri}}\",\n \"title\": \"{{data.title}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/aiKnowledge.routes.js:12" + }, + { + "name": "POSITIVE PUT /projects/:project_id/knowledge/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/projects/:project_id/knowledge/:id", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"asset_type\": \"{{data.asset_type}}\",\n \"content\": \"{{data.content}}\",\n \"content_type\": \"{{data.content_type}}\",\n \"description\": \"{{data.description}}\",\n \"embedding\": \"{{data.embedding}}\",\n \"feature_name\": \"{{data.feature_name}}\",\n \"is_active\": true,\n \"item_status\": \"{{data.item_status}}\",\n \"item_version\": \"{{data.item_version}}\",\n \"linked_test_cases\": \"{{data.linked_test_cases}}\",\n \"metadata\": \"{{data.metadata}}\",\n \"module_name\": \"{{data.module_name}}\",\n \"priority\": \"{{data.priority}}\",\n \"source\": \"{{data.source}}\",\n \"source_uri\": \"{{data.source_uri}}\",\n \"title\": \"{{data.title}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/aiKnowledge.routes.js:19" + }, + { + "name": "POSITIVE GET /projects/:project_id/knowledge/search", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/projects/:project_id/knowledge/search" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/aiKnowledge.routes.js:26" + }, + { + "name": "POSITIVE GET /projects/:project_id/knowledge/context-package", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/projects/:project_id/knowledge/context-package" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/aiKnowledge.routes.js:44" + }, + { + "name": "POSITIVE POST /projects/:project_id/knowledge/relations", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/projects/:project_id/knowledge/relations", + "body": { + "mode": "raw", + "raw": "{\n \"metadata\": \"{{data.metadata}}\",\n \"relation_type\": \"{{data.relation_type}}\",\n \"source_id\": \"{{lastId}}\",\n \"source_type\": \"{{data.source_type}}\",\n \"target_id\": \"{{lastId}}\",\n \"target_type\": \"{{data.target_type}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/aiKnowledge.routes.js:60" + }, + { + "name": "POSITIVE GET /projects/:project_id/knowledge/relations/source/:source_id", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/projects/:project_id/knowledge/relations/source/:source_id" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/aiKnowledge.routes.js:66" + }, + { + "name": "POSITIVE GET /projects/:project_id/knowledge/relations/target/:target_id", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/projects/:project_id/knowledge/relations/target/:target_id" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/aiKnowledge.routes.js:72" + }, + { + "name": "POSITIVE DELETE /projects/:project_id/knowledge/:id", + "request": { + "method": "DELETE", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/projects/:project_id/knowledge/:id" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/aiKnowledge.routes.js:78" + }, + { + "name": "POSITIVE GET /ai-prompt-templates", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/ai-prompt-templates" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/aiPromptTemplates.routes.js:32" + }, + { + "name": "POSITIVE POST /ai-prompt-templates", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/ai-prompt-templates", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"created_by\": \"{{data.created_by}}\",\n \"project_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/aiPromptTemplates.routes.js:43" + }, + { + "name": "POSITIVE PUT /ai-prompt-templates/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/ai-prompt-templates/:id", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/aiPromptTemplates.routes.js:71" + }, + { + "name": "POSITIVE DELETE /ai-prompt-templates/:id", + "request": { + "method": "DELETE", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/ai-prompt-templates/:id" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/aiPromptTemplates.routes.js:102" + }, + { + "name": "POSITIVE POST /app-types", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/app-types", + "body": { + "mode": "raw", + "raw": "{\n \"is_unified\": true,\n \"name\": \"{{data.name}}\",\n \"project_id\": \"{{lastId}}\",\n \"type\": \"{{data.type}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/appTypes.routes.js:8" + }, + { + "name": "POSITIVE GET /app-types", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/app-types" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/appTypes.routes.js:26" + }, + { + "name": "POSITIVE GET /app-types/:id", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/app-types/:id" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/appTypes.routes.js:40" + }, + { + "name": "POSITIVE PUT /app-types/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/app-types/:id", + "body": { + "mode": "raw", + "raw": "{\n \"is_unified\": true,\n \"name\": \"{{data.name}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/appTypes.routes.js:50" + }, + { + "name": "POSITIVE DELETE /app-types/:id", + "request": { + "method": "DELETE", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/app-types/:id" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/appTypes.routes.js:67" + }, + { + "name": "POSITIVE GET /auth/setup", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/auth/setup" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/auth.routes.js:14" + }, + { + "name": "POSITIVE POST /auth/signup/request-code", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/auth/signup/request-code" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/auth.routes.js:18" + }, + { + "name": "POSITIVE POST /auth/signup/verify", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/auth/signup/verify" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/auth.routes.js:28" + }, + { + "name": "POSITIVE POST /auth/login", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/auth/login" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/auth.routes.js:37" + }, + { + "name": "POSITIVE POST /auth/login/google", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/auth/login/google" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/auth.routes.js:46" + }, + { + "name": "POSITIVE POST /auth/forgot-password/request-code", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/auth/forgot-password/request-code" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/auth.routes.js:54" + }, + { + "name": "POSITIVE POST /auth/forgot-password/verify", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/auth/forgot-password/verify" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/auth.routes.js:63" + }, + { + "name": "POSITIVE GET /auth/session", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/auth/session" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/auth.routes.js:72" + }, + { + "name": "POSITIVE POST /automation-generator/internal/jobs/lease", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/automation-generator/internal/jobs/lease" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/automationGenerator.routes.js:4" + }, + { + "name": "POSITIVE GET /automation-generator/internal/jobs/:id", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/automation-generator/internal/jobs/:id" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/automationGenerator.routes.js:16" + }, + { + "name": "POSITIVE POST /automation-generator/internal/jobs/:id/run", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/automation-generator/internal/jobs/:id/run", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"agent_plan\": \"{{data.agent_plan}}\",\n \"integration_id\": \"{{lastId}}\",\n \"job_id\": \"{{lastId}}\",\n \"llm_model\": \"{{data.llm_model}}\",\n \"start_url\": \"{{data.start_url}}\",\n \"test_case_id\": \"{{lastId}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"test_environment_id\": \"{{lastId}}\",\n \"title\": \"{{data.title}}\",\n \"worker_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/automationGenerator.routes.js:21" + }, + { + "name": "POSITIVE GET /metadata/domain", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/metadata/domain" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/domainMetadata.routes.js:4" + }, + { + "name": "POSITIVE POST /api/engine/runs/claim", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/api/engine/runs/claim", + "body": { + "mode": "raw", + "raw": "{\n \"engine_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/engine.routes.js:4" + }, + { + "name": "POSITIVE GET /api/engine/runs/:runId/snapshot", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/api/engine/runs/:runId/snapshot" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/engine.routes.js:20" + }, + { + "name": "POSITIVE POST /api/engine/runs/:runId/heartbeat", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/api/engine/runs/:runId/heartbeat", + "body": { + "mode": "raw", + "raw": "{\n \"engine_id\": \"{{lastId}}\",\n \"heartbeat_at\": \"{{data.heartbeat_at}}\",\n \"leased_by\": \"{{data.leased_by}}\",\n \"updated_at\": \"{{data.updated_at}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/engine.routes.js:25" + }, + { + "name": "POSITIVE GET /api/runs/:runId/status", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/api/runs/:runId/status" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/engine.routes.js:35" + }, + { + "name": "POSITIVE GET /api/runs/:runId/results", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/api/runs/:runId/results" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/engine.routes.js:40" + }, + { + "name": "POSITIVE GET /api/runs/:runId/logs", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/api/runs/:runId/logs" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/engine.routes.js:45" + }, + { + "name": "POSITIVE GET /api/runs/:runId/artifacts", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/api/runs/:runId/artifacts" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/engine.routes.js:50" + }, + { + "name": "POSITIVE POST /execution-results", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/execution-results", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"defects\": \"{{data.defects}}\",\n \"duration_ms\": \"{{data.duration_ms}}\",\n \"error\": \"{{data.error}}\",\n \"executed_by\": \"{{data.executed_by}}\",\n \"execution_id\": \"{{lastId}}\",\n \"external_references\": \"{{data.external_references}}\",\n \"logs\": \"{{data.logs}}\",\n \"status\": \"{{data.status}}\",\n \"suite_id\": \"{{lastId}}\",\n \"suite_name\": \"{{data.suite_name}}\",\n \"test_case_id\": \"{{lastId}}\",\n \"test_case_title\": \"{{data.test_case_title}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executionResults.routes.js:7" + }, + { + "name": "POSITIVE GET /execution-results", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/execution-results" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executionResults.routes.js:28" + }, + { + "name": "POSITIVE GET /execution-results/:id", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/execution-results/:id" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executionResults.routes.js:42" + }, + { + "name": "POSITIVE PUT /execution-results/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/execution-results/:id", + "body": { + "mode": "raw", + "raw": "{\n \"defects\": \"{{data.defects}}\",\n \"duration_ms\": \"{{data.duration_ms}}\",\n \"error\": \"{{data.error}}\",\n \"executed_by\": \"{{data.executed_by}}\",\n \"external_references\": \"{{data.external_references}}\",\n \"logs\": \"{{data.logs}}\",\n \"status\": \"{{data.status}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executionResults.routes.js:49" + }, + { + "name": "POSITIVE DELETE /execution-results/:id", + "request": { + "method": "DELETE", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/execution-results/:id" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executionResults.routes.js:66" + }, + { + "name": "POSITIVE POST /execution-schedules", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/execution-schedules", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"assigned_to\": \"{{data.assigned_to}}\",\n \"cadence\": \"{{data.cadence}}\",\n \"created_by\": \"{{data.created_by}}\",\n \"is_active\": true,\n \"name\": \"{{data.name}}\",\n \"next_run_at\": \"{{data.next_run_at}}\",\n \"project_id\": \"{{lastId}}\",\n \"suite_ids\": \"{{data.suite_ids}}\",\n \"test_case_ids\": \"{{data.test_case_ids}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"test_environment_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executionSchedules.routes.js:5" + }, + { + "name": "POSITIVE GET /execution-schedules", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/execution-schedules" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executionSchedules.routes.js:28" + }, + { + "name": "POSITIVE GET /execution-schedules/:id", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/execution-schedules/:id" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executionSchedules.routes.js:44" + }, + { + "name": "POSITIVE PUT /execution-schedules/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/execution-schedules/:id", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"assigned_to\": \"{{data.assigned_to}}\",\n \"cadence\": \"{{data.cadence}}\",\n \"name\": \"{{data.name}}\",\n \"next_run_at\": \"{{data.next_run_at}}\",\n \"project_id\": \"{{lastId}}\",\n \"suite_ids\": \"{{data.suite_ids}}\",\n \"test_case_ids\": \"{{data.test_case_ids}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"test_environment_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executionSchedules.routes.js:51" + }, + { + "name": "POSITIVE POST /execution-schedules/:id/run", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/execution-schedules/:id/run" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executionSchedules.routes.js:76" + }, + { + "name": "POSITIVE DELETE /execution-schedules/:id", + "request": { + "method": "DELETE", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/execution-schedules/:id" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executionSchedules.routes.js:83" + }, + { + "name": "POSITIVE POST /executions/smart-plan-preview", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions/smart-plan-preview", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"appType\": \"{{data.appType}}\",\n \"app_type_id\": \"{{lastId}}\",\n \"cases\": \"{{data.cases}}\",\n \"impacted_requirement_ids\": \"{{data.impacted_requirement_ids}}\",\n \"integration_id\": \"{{lastId}}\",\n \"project_id\": \"{{lastId}}\",\n \"release_scope\": \"{{data.release_scope}}\",\n \"testCases\": \"{{data.testCases}}\",\n \"test_cases\": \"{{data.test_cases}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"test_environment_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:11" + }, + { + "name": "POSITIVE POST /executions/manual-run-suggestion", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions/manual-run-suggestion", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"app_type_id\": \"{{lastId}}\",\n \"integration_id\": \"{{lastId}}\",\n \"project_id\": \"{{lastId}}\",\n \"selected_suite_ids\": \"{{data.selected_suite_ids}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"test_environment_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:46" + }, + { + "name": "POSITIVE POST /executions", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"assigned_to\": \"{{data.assigned_to}}\",\n \"created_by\": \"{{data.created_by}}\",\n \"execution_hooks\": \"{{data.execution_hooks}}\",\n \"name\": \"{{data.name}}\",\n \"parallel_count\": 1,\n \"parallel_enabled\": \"{{data.parallel_enabled}}\",\n \"project_id\": \"{{lastId}}\",\n \"status\": \"{{data.status}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_configuration_name\": \"{{data.test_configuration_name}}\",\n \"test_configuration_snapshot\": \"{{data.test_configuration_snapshot}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"test_data_set_name\": \"{{data.test_data_set_name}}\",\n \"test_data_set_snapshot\": \"{{data.test_data_set_snapshot}}\",\n \"test_environment_id\": \"{{lastId}}\",\n \"test_environment_name\": \"{{data.test_environment_name}}\",\n \"test_environment_snapshot\": \"{{data.test_environment_snapshot}}\",\n \"trigger\": \"{{data.trigger}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:80" + }, + { + "name": "POSITIVE POST /executions/local-run", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions/local-run", + "body": { + "mode": "raw", + "raw": "{\n \"created_by\": \"{{data.created_by}}\",\n \"ended_at\": \"{{data.ended_at}}\",\n \"engine_base_url\": \"{{data.engine_base_url}}\",\n \"name\": \"{{data.name}}\",\n \"project_id\": \"{{lastId}}\",\n \"status\": \"{{data.status}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:107" + }, + { + "name": "POSITIVE GET /executions", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:133" + }, + { + "name": "POSITIVE GET /executions/:id", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions/:id" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:157" + }, + { + "name": "POSITIVE PUT /executions/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions/:id", + "body": { + "mode": "raw", + "raw": "{\n \"assigned_to\": \"{{data.assigned_to}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:165" + }, + { + "name": "POSITIVE PUT /executions/:id/cases/:testCaseId/assignment", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions/:id/cases/:testCaseId/assignment", + "body": { + "mode": "raw", + "raw": "{\n \"assigned_to\": \"{{data.assigned_to}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:178" + }, + { + "name": "POSITIVE POST /executions/:id/rerun", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions/:id/rerun", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"assigned_to\": \"{{data.assigned_to}}\",\n \"created_by\": \"{{data.created_by}}\",\n \"name\": \"{{data.name}}\",\n \"project_id\": \"{{lastId}}\",\n \"status\": \"{{data.status}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_configuration_name\": \"{{data.test_configuration_name}}\",\n \"test_configuration_snapshot\": \"{{data.test_configuration_snapshot}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"test_data_set_name\": \"{{data.test_data_set_name}}\",\n \"test_data_set_snapshot\": \"{{data.test_data_set_snapshot}}\",\n \"test_environment_id\": \"{{lastId}}\",\n \"test_environment_name\": \"{{data.test_environment_name}}\",\n \"test_environment_snapshot\": \"{{data.test_environment_snapshot}}\",\n \"trigger\": \"{{data.trigger}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:191" + }, + { + "name": "POSITIVE POST /executions/:id/start", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions/:id/start", + "body": { + "mode": "raw", + "raw": "{\n \"engine_base_url\": \"{{data.engine_base_url}}\",\n \"execution_mode\": \"{{data.execution_mode}}\",\n \"initiated_by\": \"{{data.initiated_by}}\",\n \"skip_testengine_dispatch\": \"{{data.skip_testengine_dispatch}}\",\n \"started_at\": \"{{data.started_at}}\",\n \"status\": \"{{data.status}}\",\n \"trigger\": \"{{data.trigger}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:208" + }, + { + "name": "POSITIVE POST /executions/:id/cases/:testCaseId/steps/:stepId/run", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions/:id/cases/:testCaseId/steps/:stepId/run", + "body": { + "mode": "raw", + "raw": "{\n \"executed_by\": \"{{data.executed_by}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:220" + }, + { + "name": "POSITIVE POST /executions/:id/cases/:testCaseId/ai-analysis", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions/:id/cases/:testCaseId/ai-analysis", + "body": { + "mode": "raw", + "raw": "{\n \"execution\": \"{{data.execution}}\",\n \"requestedBy\": \"{{data.requestedBy}}\",\n \"testCaseId\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:231" + }, + { + "name": "POSITIVE GET /executions/:id/report.pdf", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions/:id/report.pdf" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:244" + }, + { + "name": "POSITIVE GET /executions/:id/report.html", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions/:id/report.html" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:262" + }, + { + "name": "POSITIVE POST /executions/:id/share-report", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions/:id/share-report", + "body": { + "mode": "raw", + "raw": "{\n \"execution_id\": \"{{lastId}}\",\n \"recipients\": \"{{data.recipients}}\",\n \"requested_by\": \"{{data.requested_by}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:273" + }, + { + "name": "POSITIVE POST /executions/:id/complete", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions/:id/complete", + "body": { + "mode": "raw", + "raw": "{\n \"ended_at\": \"{{data.ended_at}}\",\n \"status\": \"{{data.status}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:292" + }, + { + "name": "POSITIVE DELETE /executions/:id", + "request": { + "method": "DELETE", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions/:id" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:308" + }, + { + "name": "POSITIVE POST /feedback", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/feedback", + "body": { + "mode": "raw", + "raw": "{\n \"message\": \"{{data.message}}\",\n \"status\": \"{{data.status}}\",\n \"title\": \"{{data.title}}\",\n \"user_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/feedback.routes.js:5" + }, + { + "name": "POSITIVE GET /feedback", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/feedback" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/feedback.routes.js:17" + }, + { + "name": "POSITIVE GET /feedback/:id", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/feedback/:id" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/feedback.routes.js:23" + }, + { + "name": "POSITIVE PUT /feedback/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/feedback/:id", + "body": { + "mode": "raw", + "raw": "{\n \"message\": \"{{data.message}}\",\n \"status\": \"{{data.status}}\",\n \"title\": \"{{data.title}}\",\n \"user_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/feedback.routes.js:28" + }, + { + "name": "POSITIVE DELETE /feedback/:id", + "request": { + "method": "DELETE", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/feedback/:id" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/feedback.routes.js:40" + }, + { + "name": "POSITIVE POST /integrations", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/integrations", + "body": { + "mode": "raw", + "raw": "{\n \"api_key\": \"{{data.api_key}}\",\n \"base_url\": \"{{data.base_url}}\",\n \"config\": \"{{data.config}}\",\n \"is_active\": true,\n \"model\": \"{{data.model}}\",\n \"name\": \"{{data.name}}\",\n \"project_key\": \"{{data.project_key}}\",\n \"type\": \"{{data.type}}\",\n \"updated_at\": \"{{data.updated_at}}\",\n \"username\": \"{{data.username}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/integrations.routes.js:130" + }, + { + "name": "POSITIVE GET /integrations", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/integrations" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/integrations.routes.js:148" + }, + { + "name": "POSITIVE POST /integrations/test-connection", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/integrations/test-connection", + "body": { + "mode": "raw", + "raw": "{\n \"api_key\": \"{{data.api_key}}\",\n \"base_url\": \"{{data.base_url}}\",\n \"config\": \"{{data.config}}\",\n \"type\": \"{{data.type}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/integrations.routes.js:164" + }, + { + "name": "POSITIVE GET /integrations/:id", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/integrations/:id" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/integrations.routes.js:177" + }, + { + "name": "POSITIVE PUT /integrations/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/integrations/:id", + "body": { + "mode": "raw", + "raw": "{\n \"api_key\": \"{{data.api_key}}\",\n \"base_url\": \"{{data.base_url}}\",\n \"config\": \"{{data.config}}\",\n \"is_active\": true,\n \"model\": \"{{data.model}}\",\n \"name\": \"{{data.name}}\",\n \"project_key\": \"{{data.project_key}}\",\n \"type\": \"{{data.type}}\",\n \"updated_at\": \"{{data.updated_at}}\",\n \"username\": \"{{data.username}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/integrations.routes.js:190" + }, + { + "name": "POSITIVE DELETE /integrations/:id", + "request": { + "method": "DELETE", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/integrations/:id" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/integrations.routes.js:208" + }, + { + "name": "POSITIVE GET /local-agent/status", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/local-agent/status" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/localAgent.routes.js:4" + }, + { + "name": "POSITIVE POST /local-agent/start", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/local-agent/start" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/localAgent.routes.js:9" + }, + { + "name": "POSITIVE DELETE /ops-telemetry/logs", + "request": { + "method": "DELETE", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/ops-telemetry/logs" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/opsTelemetry.routes.js:5" + }, + { + "name": "POSITIVE POST /project-members", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/project-members", + "body": { + "mode": "raw", + "raw": "{\n \"project_id\": \"{{lastId}}\",\n \"role_id\": \"{{lastId}}\",\n \"user_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/projectMembers.routes.js:4" + }, + { + "name": "POSITIVE GET /project-members", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/project-members" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/projectMembers.routes.js:14" + }, + { + "name": "POSITIVE GET /project-members/:id", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/project-members/:id" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/projectMembers.routes.js:19" + }, + { + "name": "POSITIVE PUT /project-members/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/project-members/:id", + "body": { + "mode": "raw", + "raw": "{\n \"project_id\": \"{{lastId}}\",\n \"role_id\": \"{{lastId}}\",\n \"user_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/projectMembers.routes.js:23" + }, + { + "name": "POSITIVE DELETE /project-members/:id", + "request": { + "method": "DELETE", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/project-members/:id" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/projectMembers.routes.js:33" + }, + { + "name": "POSITIVE POST /projects/:id/sync/:provider", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/projects/:id/sync/:provider", + "body": { + "mode": "raw", + "raw": "{\n \"created_by\": \"{{data.created_by}}\",\n \"project_id\": \"{{lastId}}\",\n \"provider\": \"{{data.provider}}\",\n \"trigger_mode\": \"{{data.trigger_mode}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/projectSync.routes.js:5" + }, + { + "name": "POSITIVE POST /projects", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/projects", + "body": { + "mode": "raw", + "raw": "{\n \"created_by\": \"{{data.created_by}}\",\n \"description\": \"{{data.description}}\",\n \"display_id\": \"{{lastId}}\",\n \"name\": \"{{data.name}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/projects.routes.js:5" + }, + { + "name": "POSITIVE GET /projects", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/projects" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/projects.routes.js:14" + }, + { + "name": "POSITIVE GET /projects/:id", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/projects/:id" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/projects.routes.js:20" + }, + { + "name": "POSITIVE PUT /projects/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/projects/:id", + "body": { + "mode": "raw", + "raw": "{\n \"description\": \"{{data.description}}\",\n \"name\": \"{{data.name}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/projects.routes.js:25" + }, + { + "name": "POSITIVE DELETE /projects/:id", + "request": { + "method": "DELETE", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/projects/:id" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/projects.routes.js:32" + }, + { + "name": "POSITIVE GET /requirement-test-cases", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/requirement-test-cases" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/requirementTestCases.routes.js:4" + }, + { + "name": "POSITIVE PUT /requirement-test-cases/replace", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/requirement-test-cases/replace", + "body": { + "mode": "raw", + "raw": "{\n \"requirement_id\": \"{{lastId}}\",\n \"test_case_ids\": \"{{data.test_case_ids}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/requirementTestCases.routes.js:9" + }, + { + "name": "POSITIVE POST /requirements", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/requirements", + "body": { + "mode": "raw", + "raw": "{\n \"created_by\": \"{{data.created_by}}\",\n \"description\": \"{{data.description}}\",\n \"display_id\": \"{{lastId}}\",\n \"external_references\": \"{{data.external_references}}\",\n \"priority\": \"{{data.priority}}\",\n \"project_id\": \"{{lastId}}\",\n \"status\": \"{{data.status}}\",\n \"title\": \"{{data.title}}\",\n \"updated_at\": \"{{data.updated_at}}\",\n \"updated_by\": \"{{data.updated_by}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/requirements.routes.js:8" + }, + { + "name": "POSITIVE POST /requirements/import", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/requirements/import", + "body": { + "mode": "raw", + "raw": "{\n \"project_id\": \"{{lastId}}\",\n \"rows\": \"{{data.rows}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/requirements.routes.js:29" + }, + { + "name": "POSITIVE GET /requirements", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/requirements" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/requirements.routes.js:49" + }, + { + "name": "POSITIVE GET /requirements/:id", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/requirements/:id" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/requirements.routes.js:65" + }, + { + "name": "POSITIVE PUT /requirements/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/requirements/:id", + "body": { + "mode": "raw", + "raw": "{\n \"description\": \"{{data.description}}\",\n \"external_references\": \"{{data.external_references}}\",\n \"priority\": \"{{data.priority}}\",\n \"project_id\": \"{{lastId}}\",\n \"status\": \"{{data.status}}\",\n \"title\": \"{{data.title}}\",\n \"updated_at\": \"{{data.updated_at}}\",\n \"updated_by\": \"{{data.updated_by}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/requirements.routes.js:73" + }, + { + "name": "POSITIVE POST /requirements/:id/ai-optimize-preview", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/requirements/:id/ai-optimize-preview", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"integration_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/requirements.routes.js:95" + }, + { + "name": "POSITIVE POST /requirements/:id/generate-test-cases", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/requirements/:id/generate-test-cases", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"appType\": \"{{data.appType}}\",\n \"app_type_id\": \"{{lastId}}\",\n \"external_links\": \"{{data.external_links}}\",\n \"images\": \"{{data.images}}\",\n \"integration_id\": \"{{lastId}}\",\n \"max_cases\": \"{{data.max_cases}}\",\n \"requirement\": \"{{data.requirement}}\",\n \"status\": \"{{data.status}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/requirements.routes.js:113" + }, + { + "name": "POSITIVE POST /requirements/:id/design-test-cases-preview", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/requirements/:id/design-test-cases-preview", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"appType\": \"{{data.appType}}\",\n \"app_type_id\": \"{{lastId}}\",\n \"external_links\": \"{{data.external_links}}\",\n \"images\": \"{{data.images}}\",\n \"integration_id\": \"{{lastId}}\",\n \"max_cases\": \"{{data.max_cases}}\",\n \"requirement\": \"{{data.requirement}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/requirements.routes.js:147" + }, + { + "name": "POSITIVE POST /requirements/:id/design-test-cases-accept", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/requirements/:id/design-test-cases-accept", + "body": { + "mode": "raw", + "raw": "{\n \"appType\": \"{{data.appType}}\",\n \"app_type_id\": \"{{lastId}}\",\n \"cases\": \"{{data.cases}}\",\n \"requirement\": \"{{data.requirement}}\",\n \"status\": \"{{data.status}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/requirements.routes.js:179" + }, + { + "name": "POSITIVE DELETE /requirements/:id", + "request": { + "method": "DELETE", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/requirements/:id" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/requirements.routes.js:209" + }, + { + "name": "POSITIVE POST /roles", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/roles", + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"{{data.name}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/roles.routes.js:4" + }, + { + "name": "POSITIVE GET /roles", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/roles" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/roles.routes.js:13" + }, + { + "name": "POSITIVE GET /roles/:id", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/roles/:id" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/roles.routes.js:17" + }, + { + "name": "POSITIVE GET /permissions", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/permissions" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/roles.routes.js:21" + }, + { + "name": "POSITIVE GET /roles/:id/permissions", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/roles/:id/permissions" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/roles.routes.js:25" + }, + { + "name": "POSITIVE PUT /roles/:id/permissions", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/roles/:id/permissions", + "body": { + "mode": "raw", + "raw": "{\n \"permission_codes\": \"{{data.permission_codes}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/roles.routes.js:29" + }, + { + "name": "POSITIVE PUT /roles/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/roles/:id", + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"{{data.name}}\",\n \"permission_codes\": \"{{data.permission_codes}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/roles.routes.js:37" + }, + { + "name": "POSITIVE DELETE /roles/:id", + "request": { + "method": "DELETE", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/roles/:id" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/roles.routes.js:46" + }, + { + "name": "POSITIVE GET /settings/localization", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/settings/localization" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/settings.routes.js:4" + }, + { + "name": "POSITIVE PUT /settings/localization", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/settings/localization", + "body": { + "mode": "raw", + "raw": "{\n \"key\": \"{{data.key}}\",\n \"strings\": \"{{data.strings}}\",\n \"updated_at\": \"{{data.updated_at}}\",\n \"value\": \"{{data.value}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/settings.routes.js:11" + }, + { + "name": "POSITIVE GET /settings/workspace-preferences", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/settings/workspace-preferences" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/settings.routes.js:21" + }, + { + "name": "POSITIVE PUT /settings/workspace-preferences", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/settings/workspace-preferences", + "body": { + "mode": "raw", + "raw": "{\n \"key\": \"{{data.key}}\",\n \"preferences\": \"{{data.preferences}}\",\n \"updated_at\": \"{{data.updated_at}}\",\n \"value\": \"{{data.value}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/settings.routes.js:28" + }, + { + "name": "POSITIVE POST /shared-step-groups", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/shared-step-groups", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"created_by\": \"{{data.created_by}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/sharedStepGroups.routes.js:6" + }, + { + "name": "POSITIVE GET /shared-step-groups", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/shared-step-groups" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/sharedStepGroups.routes.js:26" + }, + { + "name": "POSITIVE GET /shared-step-groups/:id", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/shared-step-groups/:id" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/sharedStepGroups.routes.js:37" + }, + { + "name": "POSITIVE PUT /shared-step-groups/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/shared-step-groups/:id", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"description\": \"{{data.description}}\",\n \"name\": \"{{data.name}}\",\n \"parameter_values\": \"{{data.parameter_values}}\",\n \"steps\": \"{{data.steps}}\",\n \"updated_by\": \"{{data.updated_by}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/sharedStepGroups.routes.js:47" + }, + { + "name": "POSITIVE DELETE /shared-step-groups/:id", + "request": { + "method": "DELETE", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/shared-step-groups/:id" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/sharedStepGroups.routes.js:68" + }, + { + "name": "POSITIVE GET /suite-test-cases", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/suite-test-cases" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/suiteTestCases.routes.js:4" + }, + { + "name": "POSITIVE PUT /suite-test-cases/reorder", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/suite-test-cases/reorder", + "body": { + "mode": "raw", + "raw": "{\n \"sort_order\": \"{{data.sort_order}}\",\n \"suite_id\": \"{{lastId}}\",\n \"test_case_ids\": \"{{data.test_case_ids}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/suiteTestCases.routes.js:9" + }, + { + "name": "POSITIVE POST /test-cases", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"created_by\": \"{{data.created_by}}\",\n \"steps\": \"{{data.steps}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:37" + }, + { + "name": "POSITIVE POST /test-cases/import", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/import", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"batches\": \"{{data.batches}}\",\n \"created_by\": \"{{data.created_by}}\",\n \"rows\": \"{{data.rows}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:69" + }, + { + "name": "POSITIVE POST /test-cases/export", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/export", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"created_by\": \"{{data.created_by}}\",\n \"test_case_ids\": \"{{data.test_case_ids}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:111" + }, + { + "name": "POSITIVE GET /test-cases/automation/learning-cache", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/automation/learning-cache" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:129" + }, + { + "name": "POSITIVE GET /test-cases/automation/repository-context", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/automation/repository-context" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:150" + }, + { + "name": "POSITIVE GET /test-cases/automation/learning-cache/export.csv", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/automation/learning-cache/export.csv" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:171" + }, + { + "name": "POSITIVE POST /test-cases/automation/learning-cache/import", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/automation/learning-cache/import", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"entries\": \"{{data.entries}}\",\n \"import_source\": \"{{data.import_source}}\",\n \"project_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:187" + }, + { + "name": "POSITIVE POST /test-cases/automation/learning-cache/extract-fields", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/automation/learning-cache/extract-fields", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"fields\": \"{{data.fields}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:211" + }, + { + "name": "POSITIVE GET /test-cases/automation/learning-cache/:id/usage", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/automation/learning-cache/:id/usage" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:235" + }, + { + "name": "POSITIVE PUT /test-cases/automation/learning-cache/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/automation/learning-cache/:id" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:251" + }, + { + "name": "POSITIVE POST /test-cases/automation/learning-cache", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/automation/learning-cache", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"confidence\": \"{{data.confidence}}\",\n \"dom_structure\": \"{{data.dom_structure}}\",\n \"fallback_strategy\": \"{{data.fallback_strategy}}\",\n \"locator\": \"{{data.locator}}\",\n \"locator_intent\": \"{{data.locator_intent}}\",\n \"locator_kind\": \"{{data.locator_kind}}\",\n \"metadata\": \"{{data.metadata}}\",\n \"object_name\": \"{{data.object_name}}\",\n \"object_role\": \"{{data.object_role}}\",\n \"page_key\": 1,\n \"page_url\": 1,\n \"project_id\": \"{{lastId}}\",\n \"screen_dom_compressed\": \"{{data.screen_dom_compressed}}\",\n \"screen_name\": \"{{data.screen_name}}\",\n \"screen_screenshot_url\": \"{{data.screen_screenshot_url}}\",\n \"screenshot_url\": \"{{data.screenshot_url}}\",\n \"source\": \"{{data.source}}\",\n \"target_criteria\": \"{{data.target_criteria}}\",\n \"test_case_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:303" + }, + { + "name": "POSITIVE DELETE /test-cases/automation/learning-cache/:id", + "request": { + "method": "DELETE", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/automation/learning-cache/:id" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:337" + }, + { + "name": "POSITIVE DELETE /test-cases/automation/learning-cache/screens/:screenName", + "request": { + "method": "DELETE", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/automation/learning-cache/screens/:screenName" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:355" + }, + { + "name": "POSITIVE GET /test-cases/automation/learning-cache/screens/:screenName/usage", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/automation/learning-cache/screens/:screenName/usage" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:373" + }, + { + "name": "POSITIVE PUT /test-cases/automation/learning-cache/screens/:screenName", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/automation/learning-cache/screens/:screenName", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"new_name\": \"{{data.new_name}}\",\n \"screen_name\": \"{{data.screen_name}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:390" + }, + { + "name": "POSITIVE POST /test-cases/automation/learning-cache/:id/ai-improve", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/automation/learning-cache/:id/ai-improve", + "body": { + "mode": "raw", + "raw": "{\n \"guidance\": \"{{data.guidance}}\",\n \"integration_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:412" + }, + { + "name": "POSITIVE POST /test-cases/automation/build-batch", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/automation/build-batch", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"created_by\": \"{{data.created_by}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:438" + }, + { + "name": "POSITIVE GET /test-cases", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:462" + }, + { + "name": "POSITIVE GET /test-cases/:id", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/:id" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:475" + }, + { + "name": "POSITIVE POST /test-cases/:id/automation/build", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/:id/automation/build", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"captured_actions\": \"{{data.captured_actions}}\",\n \"captured_network\": \"{{data.captured_network}}\",\n \"created_by\": \"{{data.created_by}}\",\n \"integration_id\": \"{{lastId}}\",\n \"start_url\": \"{{data.start_url}}\",\n \"test_case_id\": \"{{lastId}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"test_environment_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:486" + }, + { + "name": "POSITIVE POST /test-cases/:id/automation/generator-jobs", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/:id/automation/generator-jobs", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"created_by\": \"{{data.created_by}}\",\n \"integration_id\": \"{{lastId}}\",\n \"start_url\": \"{{data.start_url}}\",\n \"test_case_id\": \"{{lastId}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"test_environment_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:521" + }, + { + "name": "POSITIVE POST /test-cases/:id/automation/recorder-session", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/:id/automation/recorder-session", + "body": { + "mode": "raw", + "raw": "{\n \"created_by\": \"{{data.created_by}}\",\n \"engine_base_url\": \"{{data.engine_base_url}}\",\n \"recorder_mode\": \"{{data.recorder_mode}}\",\n \"recorder_public_base_url\": \"{{data.recorder_public_base_url}}\",\n \"recorder_target\": \"{{data.recorder_target}}\",\n \"reuse_existing\": \"{{data.reuse_existing}}\",\n \"start_url\": \"{{data.start_url}}\",\n \"target_step_id\": \"{{lastId}}\",\n \"test_case_id\": \"{{lastId}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"test_environment_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:552" + }, + { + "name": "POSITIVE POST /test-cases/:id/automation/recorder-session/:sessionId/finish", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/:id/automation/recorder-session/:sessionId/finish", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"created_by\": \"{{data.created_by}}\",\n \"engine_base_url\": \"{{data.engine_base_url}}\",\n \"integration_id\": \"{{lastId}}\",\n \"recorder_mode\": \"{{data.recorder_mode}}\",\n \"recorder_session_id\": \"{{lastId}}\",\n \"recorder_target\": \"{{data.recorder_target}}\",\n \"target_step_id\": \"{{lastId}}\",\n \"test_case_id\": \"{{lastId}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"test_environment_id\": \"{{lastId}}\",\n \"transaction_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:591" + }, + { + "name": "POSITIVE POST /test-cases/design-test-cases-preview", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/design-test-cases-preview", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"appType\": \"{{data.appType}}\",\n \"app_type_id\": \"{{lastId}}\",\n \"external_links\": \"{{data.external_links}}\",\n \"images\": \"{{data.images}}\",\n \"integration_id\": \"{{lastId}}\",\n \"max_cases\": \"{{data.max_cases}}\",\n \"requirement_ids\": \"{{data.requirement_ids}}\",\n \"requirements\": \"{{data.requirements}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:631" + }, + { + "name": "POSITIVE POST /test-cases/ai-authoring-preview", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/ai-authoring-preview", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"appType\": \"{{data.appType}}\",\n \"app_type_id\": \"{{lastId}}\",\n \"integration_id\": \"{{lastId}}\",\n \"requirement\": \"{{data.requirement}}\",\n \"requirement_id\": \"{{lastId}}\",\n \"test_case\": \"{{data.test_case}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:659" + }, + { + "name": "POSITIVE POST /test-cases/ai-step-rephrase", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/ai-step-rephrase", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"appType\": \"{{data.appType}}\",\n \"app_type_id\": \"{{lastId}}\",\n \"integration_id\": \"{{lastId}}\",\n \"project_id\": \"{{lastId}}\",\n \"requirement\": \"{{data.requirement}}\",\n \"requirement_id\": \"{{lastId}}\",\n \"step\": \"{{data.step}}\",\n \"test_case\": \"{{data.test_case}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:683" + }, + { + "name": "POSITIVE POST /test-cases/design-test-cases-accept", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/design-test-cases-accept", + "body": { + "mode": "raw", + "raw": "{\n \"appType\": \"{{data.appType}}\",\n \"app_type_id\": \"{{lastId}}\",\n \"cases\": \"{{data.cases}}\",\n \"requirement_ids\": \"{{data.requirement_ids}}\",\n \"requirements\": \"{{data.requirements}}\",\n \"status\": \"{{data.status}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:715" + }, + { + "name": "POSITIVE GET /test-cases/ai-generation-jobs", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/ai-generation-jobs" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:741" + }, + { + "name": "POSITIVE POST /test-cases/ai-generation-jobs", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/ai-generation-jobs", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"created_by\": \"{{data.created_by}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:756" + }, + { + "name": "POSITIVE PUT /test-cases/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/:id", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"automated\": \"{{data.automated}}\",\n \"automation_status\": \"{{data.automation_status}}\",\n \"description\": \"{{data.description}}\",\n \"external_references\": \"{{data.external_references}}\",\n \"parameter_values\": \"{{data.parameter_values}}\",\n \"priority\": \"{{data.priority}}\",\n \"requirement_id\": \"{{lastId}}\",\n \"requirement_ids\": \"{{data.requirement_ids}}\",\n \"steps\": \"{{data.steps}}\",\n \"suite_id\": \"{{lastId}}\",\n \"suite_ids\": \"{{data.suite_ids}}\",\n \"title\": \"{{data.title}}\",\n \"updated_by\": \"{{data.updated_by}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:782" + }, + { + "name": "POSITIVE POST /test-cases/:id/accept-generated", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/:id/accept-generated" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:819" + }, + { + "name": "POSITIVE DELETE /test-cases/:id/reject-generated", + "request": { + "method": "DELETE", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/:id/reject-generated" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:832" + }, + { + "name": "POSITIVE DELETE /test-cases/:id", + "request": { + "method": "DELETE", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/:id" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:845" + }, + { + "name": "POSITIVE POST /test-configurations", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-configurations", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"browser\": \"{{data.browser}}\",\n \"description\": \"{{data.description}}\",\n \"mobile_os\": \"{{data.mobile_os}}\",\n \"name\": \"{{data.name}}\",\n \"platform_version\": \"{{data.platform_version}}\",\n \"project_id\": \"{{lastId}}\",\n \"variables\": \"{{data.variables}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testConfigurations.routes.js:6" + }, + { + "name": "POSITIVE GET /test-configurations", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-configurations" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testConfigurations.routes.js:33" + }, + { + "name": "POSITIVE GET /test-configurations/:id", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-configurations/:id" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testConfigurations.routes.js:47" + }, + { + "name": "POSITIVE PUT /test-configurations/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-configurations/:id", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"browser\": \"{{data.browser}}\",\n \"description\": \"{{data.description}}\",\n \"mobile_os\": \"{{data.mobile_os}}\",\n \"name\": \"{{data.name}}\",\n \"platform_version\": \"{{data.platform_version}}\",\n \"project_id\": \"{{lastId}}\",\n \"variables\": \"{{data.variables}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testConfigurations.routes.js:54" + }, + { + "name": "POSITIVE DELETE /test-configurations/:id", + "request": { + "method": "DELETE", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-configurations/:id" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testConfigurations.routes.js:78" + }, + { + "name": "POSITIVE POST /test-data-sets", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-data-sets", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"columns\": \"{{data.columns}}\",\n \"description\": \"{{data.description}}\",\n \"mode\": \"{{data.mode}}\",\n \"name\": \"{{data.name}}\",\n \"project_id\": \"{{lastId}}\",\n \"rows\": \"{{data.rows}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testDataSets.routes.js:7" + }, + { + "name": "POSITIVE GET /test-data-sets", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-data-sets" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testDataSets.routes.js:33" + }, + { + "name": "POSITIVE GET /test-data-sets/:id", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-data-sets/:id" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testDataSets.routes.js:47" + }, + { + "name": "POSITIVE PUT /test-data-sets/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-data-sets/:id", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"columns\": \"{{data.columns}}\",\n \"description\": \"{{data.description}}\",\n \"mode\": \"{{data.mode}}\",\n \"name\": \"{{data.name}}\",\n \"project_id\": \"{{lastId}}\",\n \"rows\": \"{{data.rows}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testDataSets.routes.js:54" + }, + { + "name": "POSITIVE DELETE /test-data-sets/:id", + "request": { + "method": "DELETE", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-data-sets/:id" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testDataSets.routes.js:77" + }, + { + "name": "POSITIVE POST /api/testengine/callbacks/runs", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/api/testengine/callbacks/runs", + "body": { + "mode": "raw", + "raw": "{\n \"artifact_bundle\": \"{{data.artifact_bundle}}\",\n \"case_result\": \"{{data.case_result}}\",\n \"deterministic_attempted\": \"{{data.deterministic_attempted}}\",\n \"emitted_at\": \"{{data.emitted_at}}\",\n \"engine_run_id\": \"{{lastId}}\",\n \"event\": \"{{data.event}}\",\n \"healing_attempted\": \"{{data.healing_attempted}}\",\n \"healing_succeeded\": \"{{data.healing_succeeded}}\",\n \"patch_proposals\": \"{{data.patch_proposals}}\",\n \"payload\": \"{{data.payload}}\",\n \"qaira_execution_id\": \"{{lastId}}\",\n \"qaira_run_id\": \"{{lastId}}\",\n \"qaira_test_case_id\": \"{{lastId}}\",\n \"rawPayload\": \"{{data.rawPayload}}\",\n \"state\": \"{{data.state}}\",\n \"step_outcomes\": \"{{data.step_outcomes}}\",\n \"summary\": \"{{data.summary}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testEngineCallbacks.routes.js:20" + }, + { + "name": "POSITIVE POST /testengine/internal/jobs/lease", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/testengine/internal/jobs/lease" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testEngineInternal.routes.js:4" + }, + { + "name": "POSITIVE GET /testengine/internal/jobs/queue-stats", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/testengine/internal/jobs/queue-stats" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testEngineInternal.routes.js:18" + }, + { + "name": "POSITIVE GET /testengine/internal/jobs/:id", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/testengine/internal/jobs/:id" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testEngineInternal.routes.js:23" + }, + { + "name": "POSITIVE POST /testengine/internal/jobs/:id/start", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/testengine/internal/jobs/:id/start", + "body": { + "mode": "raw", + "raw": "{\n \"job_id\": \"{{lastId}}\",\n \"worker_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testEngineInternal.routes.js:28" + }, + { + "name": "POSITIVE POST /testengine/internal/jobs/:id/steps/:stepId/execute", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/testengine/internal/jobs/:id/steps/:stepId/execute", + "body": { + "mode": "raw", + "raw": "{\n \"job_id\": \"{{lastId}}\",\n \"step_id\": \"{{lastId}}\",\n \"steps\": \"{{data.steps}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testEngineInternal.routes.js:41" + }, + { + "name": "POSITIVE POST /testengine/internal/jobs/:id/steps/:stepId/report", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/testengine/internal/jobs/:id/steps/:stepId/report", + "body": { + "mode": "raw", + "raw": "{\n \"api_detail\": \"{{data.api_detail}}\",\n \"automation_detail\": \"{{data.automation_detail}}\",\n \"captures\": \"{{data.captures}}\",\n \"evidence\": \"{{data.evidence}}\",\n \"job_id\": \"{{lastId}}\",\n \"note\": \"{{data.note}}\",\n \"recovery_attempted\": \"{{data.recovery_attempted}}\",\n \"recovery_succeeded\": \"{{data.recovery_succeeded}}\",\n \"step_id\": \"{{lastId}}\",\n \"steps\": \"{{data.steps}}\",\n \"web_detail\": \"{{data.web_detail}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testEngineInternal.routes.js:50" + }, + { + "name": "POSITIVE POST /testengine/internal/jobs/:id/complete", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/testengine/internal/jobs/:id/complete", + "body": { + "mode": "raw", + "raw": "{\n \"artifact_bundle\": \"{{data.artifact_bundle}}\",\n \"deterministic_attempted\": \"{{data.deterministic_attempted}}\",\n \"error\": \"{{data.error}}\",\n \"healing_attempted\": \"{{data.healing_attempted}}\",\n \"healing_succeeded\": \"{{data.healing_succeeded}}\",\n \"job_id\": \"{{lastId}}\",\n \"patch_proposals\": \"{{data.patch_proposals}}\",\n \"steps\": \"{{data.steps}}\",\n \"summary\": \"{{data.summary}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testEngineInternal.routes.js:80" + }, + { + "name": "POSITIVE POST /testengine/internal/jobs/:id/fail", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/testengine/internal/jobs/:id/fail", + "body": { + "mode": "raw", + "raw": "{\n \"job_id\": \"{{lastId}}\",\n \"message\": \"{{data.message}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testEngineInternal.routes.js:107" + }, + { + "name": "POSITIVE POST /test-environments", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-environments", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"base_url\": \"{{data.base_url}}\",\n \"browser\": \"{{data.browser}}\",\n \"description\": \"{{data.description}}\",\n \"name\": \"{{data.name}}\",\n \"notes\": \"{{data.notes}}\",\n \"project_id\": \"{{lastId}}\",\n \"variables\": \"{{data.variables}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testEnvironments.routes.js:6" + }, + { + "name": "POSITIVE GET /test-environments", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-environments" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testEnvironments.routes.js:33" + }, + { + "name": "POSITIVE GET /test-environments/:id", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-environments/:id" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testEnvironments.routes.js:47" + }, + { + "name": "POSITIVE PUT /test-environments/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-environments/:id", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"base_url\": \"{{data.base_url}}\",\n \"browser\": \"{{data.browser}}\",\n \"description\": \"{{data.description}}\",\n \"name\": \"{{data.name}}\",\n \"notes\": \"{{data.notes}}\",\n \"project_id\": \"{{lastId}}\",\n \"variables\": \"{{data.variables}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testEnvironments.routes.js:54" + }, + { + "name": "POSITIVE DELETE /test-environments/:id", + "request": { + "method": "DELETE", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-environments/:id" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testEnvironments.routes.js:78" + }, + { + "name": "POSITIVE POST /test-steps", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-steps" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testSteps.routes.js:5" + }, + { + "name": "POSITIVE GET /test-steps", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-steps" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testSteps.routes.js:24" + }, + { + "name": "POSITIVE POST /test-steps/run-api-request", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-steps/run-api-request", + "body": { + "mode": "raw", + "raw": "{\n \"api_request\": \"{{data.api_request}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testSteps.routes.js:30" + }, + { + "name": "POSITIVE GET /test-steps/:id", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-steps/:id" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testSteps.routes.js:39" + }, + { + "name": "POSITIVE PUT /test-steps/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-steps/:id", + "body": { + "mode": "raw", + "raw": "{\n \"action\": \"{{data.action}}\",\n \"api_request\": \"{{data.api_request}}\",\n \"automation_code\": \"{{data.automation_code}}\",\n \"expected_result\": \"{{data.expected_result}}\",\n \"group_id\": \"{{lastId}}\",\n \"group_kind\": \"{{data.group_kind}}\",\n \"group_name\": \"{{data.group_name}}\",\n \"reusable_group_id\": \"{{lastId}}\",\n \"step_order\": \"{{data.step_order}}\",\n \"step_type\": \"{{data.step_type}}\",\n \"test_case_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testSteps.routes.js:44" + }, + { + "name": "POSITIVE POST /test-steps/duplicate", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-steps/duplicate" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testSteps.routes.js:63" + }, + { + "name": "POSITIVE POST /test-steps/group", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-steps/group" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testSteps.routes.js:74" + }, + { + "name": "POSITIVE POST /test-steps/ungroup", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-steps/ungroup" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testSteps.routes.js:88" + }, + { + "name": "POSITIVE POST /test-steps/insert-shared-group", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-steps/insert-shared-group" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testSteps.routes.js:98" + }, + { + "name": "POSITIVE PUT /test-cases/:id/test-steps/reorder", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/:id/test-steps/reorder", + "body": { + "mode": "raw", + "raw": "{\n \"entries\": \"{{data.entries}}\",\n \"indexOf\": \"{{data.indexOf}}\",\n \"step_ids\": \"{{data.step_ids}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testSteps.routes.js:109" + }, + { + "name": "POSITIVE PUT /test-steps/reorder", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-steps/reorder", + "body": { + "mode": "raw", + "raw": "{\n \"entries\": \"{{data.entries}}\",\n \"indexOf\": \"{{data.indexOf}}\",\n \"step_ids\": \"{{data.step_ids}}\",\n \"test_case_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testSteps.routes.js:118" + }, + { + "name": "POSITIVE DELETE /test-steps/:id", + "request": { + "method": "DELETE", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-steps/:id" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testSteps.routes.js:128" + }, + { + "name": "POSITIVE POST /test-suites", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-suites", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"created_by\": \"{{data.created_by}}\",\n \"display_id\": \"{{lastId}}\",\n \"name\": \"{{data.name}}\",\n \"parallel_count\": 1,\n \"parallel_enabled\": \"{{data.parallel_enabled}}\",\n \"parameter_values\": \"{{data.parameter_values}}\",\n \"parent_id\": \"{{lastId}}\",\n \"updated_at\": \"{{data.updated_at}}\",\n \"updated_by\": \"{{data.updated_by}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testSuites.routes.js:6" + }, + { + "name": "POSITIVE GET /test-suites", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-suites" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testSuites.routes.js:28" + }, + { + "name": "POSITIVE GET /test-suites/:id", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-suites/:id" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testSuites.routes.js:41" + }, + { + "name": "POSITIVE PUT /test-suites/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-suites/:id", + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"{{data.name}}\",\n \"parallel_count\": 1,\n \"parallel_enabled\": \"{{data.parallel_enabled}}\",\n \"parameter_values\": \"{{data.parameter_values}}\",\n \"parent_id\": \"{{lastId}}\",\n \"updated_at\": \"{{data.updated_at}}\",\n \"updated_by\": \"{{data.updated_by}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testSuites.routes.js:49" + }, + { + "name": "POSITIVE POST /test-suites/:id/assign-test-cases", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-suites/:id/assign-test-cases", + "body": { + "mode": "raw", + "raw": "{\n \"test_case_ids\": \"{{data.test_case_ids}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testSuites.routes.js:70" + }, + { + "name": "POSITIVE DELETE /test-suites/:id", + "request": { + "method": "DELETE", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-suites/:id" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testSuites.routes.js:84" + }, + { + "name": "POSITIVE POST /users", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/users", + "body": { + "mode": "raw", + "raw": "{\n \"email\": \"{{data.email}}\",\n \"is_workspace_admin\": true,\n \"name\": \"{{data.name}}\",\n \"password\": \"{{data.password}}\",\n \"password_hash\": \"{{data.password}}\",\n \"project_id\": \"{{lastId}}\",\n \"role_id\": \"{{lastId}}\",\n \"user_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/users.js:12" + }, + { + "name": "POSITIVE POST /users/import", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/users/import", + "body": { + "mode": "raw", + "raw": "{\n \"rows\": \"{{data.rows}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/users.js:28" + }, + { + "name": "POSITIVE GET /users", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/users" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/users.js:44" + }, + { + "name": "POSITIVE GET /users/:id", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/users/:id" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/users.js:48" + }, + { + "name": "POSITIVE PUT /users/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/users/:id", + "body": { + "mode": "raw", + "raw": "{\n \"avatar_data_url\": \"{{data.avatar_data_url}}\",\n \"email\": \"{{data.email}}\",\n \"is_workspace_admin\": true,\n \"name\": \"{{data.name}}\",\n \"password\": \"{{data.password}}\",\n \"password_hash\": \"{{data.password}}\",\n \"role_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/users.js:52" + }, + { + "name": "POSITIVE PUT /users/:id/password", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/users/:id/password", + "body": { + "mode": "raw", + "raw": "{\n \"current_password\": \"{{data.password}}\",\n \"new_password\": \"{{data.password}}\",\n \"password_hash\": \"{{data.password}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/users.js:76" + }, + { + "name": "POSITIVE DELETE /users/:id", + "request": { + "method": "DELETE", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/users/:id" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/users.js:93" + }, + { + "name": "POSITIVE GET /workspace-transactions", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/workspace-transactions" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/workspaceTransactions.routes.js:12" + }, + { + "name": "POSITIVE GET /workspace-transactions/:id/events", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/workspace-transactions/:id/events" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/workspaceTransactions.routes.js:42" + }, + { + "name": "POSITIVE GET /workspace-transactions/:id/artifacts", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/workspace-transactions/:id/artifacts" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/workspaceTransactions.routes.js:56" + }, + { + "name": "POSITIVE GET /workspace-transactions/:id/artifacts/:artifactId/download", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/workspace-transactions/:id/artifacts/:artifactId/download" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/workspaceTransactions.routes.js:70" + }, + { + "name": "POSITIVE DELETE /workspace-transactions/:id", + "request": { + "method": "DELETE", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/workspace-transactions/:id" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/routes/workspaceTransactions.routes.js:103" + }, + { + "name": "POSITIVE GET /health", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/health" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/plugins/observability.js:195" + }, + { + "name": "POSITIVE GET /health/ready", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/health/ready" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/plugins/observability.js:204" + }, + { + "name": "POSITIVE GET /metrics", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/metrics" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: backend/api/src/plugins/observability.js:226" + }, + { + "name": "POSITIVE GET /health", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/health" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: local-run/mobile-engine/src/server.js:407" + }, + { + "name": "POSITIVE GET /api/v1/capabilities", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/api/v1/capabilities" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: local-run/mobile-engine/src/server.js:413" + }, + { + "name": "POSITIVE POST /api/v1/mobile/execute", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/api/v1/mobile/execute", + "body": { + "mode": "raw", + "raw": "{\n \"objectRepository\": \"{{data.objectRepository}}\",\n \"object_repository\": \"{{data.object_repository}}\",\n \"steps\": \"{{data.steps}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: local-run/mobile-engine/src/server.js:422" + }, + { + "name": "POSITIVE POST /api/v1/mobile/recorder/sessions", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/api/v1/mobile/recorder/sessions", + "body": { + "mode": "raw", + "raw": "{\n \"recorder_mode\": \"{{data.recorder_mode}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: local-run/mobile-engine/src/server.js:464" + }, + { + "name": "POSITIVE GET /api/v1/mobile/recorder/sessions/:id", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/api/v1/mobile/recorder/sessions/:id" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: local-run/mobile-engine/src/server.js:503" + }, + { + "name": "POSITIVE GET /api/v1/mobile/recorder/sessions/:id/live", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/api/v1/mobile/recorder/sessions/:id/live" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: local-run/mobile-engine/src/server.js:513" + }, + { + "name": "POSITIVE GET /api/v1/mobile/recorder/sessions/:id/screenshot", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/api/v1/mobile/recorder/sessions/:id/screenshot" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: local-run/mobile-engine/src/server.js:535" + }, + { + "name": "POSITIVE POST /api/v1/mobile/recorder/sessions/:id/input", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/api/v1/mobile/recorder/sessions/:id/input", + "body": { + "mode": "raw", + "raw": "{\n \"height\": \"{{data.height}}\",\n \"type\": \"{{data.type}}\",\n \"value\": \"{{data.value}}\",\n \"width\": \"{{data.width}}\",\n \"x\": \"{{data.x}}\",\n \"y\": \"{{data.y}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: local-run/mobile-engine/src/server.js:555" + }, + { + "name": "POSITIVE POST /api/v1/mobile/recorder/sessions/:id/stop", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/api/v1/mobile/recorder/sessions/:id/stop" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: local-run/mobile-engine/src/server.js:593" + }, + { + "name": "POSITIVE GET /health", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/health" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: testengine/backend/src/server.ts:94" + }, + { + "name": "POSITIVE GET /api/v1/capabilities", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/api/v1/capabilities" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: testengine/backend/src/server.ts:104" + }, + { + "name": "POSITIVE GET /api/v1/live-session/screenshot", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/api/v1/live-session/screenshot" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: testengine/backend/src/server.ts:106" + }, + { + "name": "POSITIVE GET /api/v1/live-session", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/api/v1/live-session" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: testengine/backend/src/server.ts:120" + }, + { + "name": "POSITIVE GET /api/v1/runs", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/api/v1/runs" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: testengine/backend/src/server.ts:191" + }, + { + "name": "POSITIVE GET /api/v1/runs/:id", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/api/v1/runs/:id" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: testengine/backend/src/server.ts:195" + }, + { + "name": "POSITIVE POST /api/v1/runs", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/api/v1/runs", + "body": { + "mode": "raw", + "raw": "{\n \"automated\": \"{{data.automated}}\",\n \"callback\": \"{{data.callback}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: testengine/backend/src/server.ts:207" + }, + { + "name": "POSITIVE POST /api/v1/runs/:id/retry", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/api/v1/runs/:id/retry" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: testengine/backend/src/server.ts:235" + }, + { + "name": "POSITIVE GET /api/v1/recorder/sessions", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/api/v1/recorder/sessions" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: testengine/backend/src/lib/recorder.ts:1598" + }, + { + "name": "POSITIVE GET /api/v1/recorder/sessions/:id", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/api/v1/recorder/sessions/:id" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: testengine/backend/src/lib/recorder.ts:1602" + }, + { + "name": "POSITIVE GET /api/v1/recorder/sessions/:id/tabs", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/api/v1/recorder/sessions/:id/tabs" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: testengine/backend/src/lib/recorder.ts:1614" + }, + { + "name": "POSITIVE POST /api/v1/recorder/sessions/:id/inspect/start", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/api/v1/recorder/sessions/:id/inspect/start" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: testengine/backend/src/lib/recorder.ts:1637" + }, + { + "name": "POSITIVE POST /api/v1/recorder/sessions/:id/inspect/stop", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/api/v1/recorder/sessions/:id/inspect/stop" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: testengine/backend/src/lib/recorder.ts:1671" + }, + { + "name": "POSITIVE POST /api/v1/recorder/sessions/:id/highlight", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/api/v1/recorder/sessions/:id/highlight" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: testengine/backend/src/lib/recorder.ts:1699" + }, + { + "name": "POSITIVE GET /api/v1/recorder/sessions/:id/inspect/result", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/api/v1/recorder/sessions/:id/inspect/result" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: testengine/backend/src/lib/recorder.ts:1738" + }, + { + "name": "POSITIVE GET /api/v1/recorder/sessions/:id/live", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/api/v1/recorder/sessions/:id/live" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: testengine/backend/src/lib/recorder.ts:1863" + }, + { + "name": "POSITIVE GET /api/v1/recorder/sessions/:id/stream", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/api/v1/recorder/sessions/:id/stream" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: testengine/backend/src/lib/recorder.ts:1884" + }, + { + "name": "POSITIVE GET /api/v1/recorder/sessions/:id/screenshot", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/api/v1/recorder/sessions/:id/screenshot" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: testengine/backend/src/lib/recorder.ts:2013" + }, + { + "name": "POSITIVE POST /api/v1/recorder/sessions/:id/input", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/api/v1/recorder/sessions/:id/input" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: testengine/backend/src/lib/recorder.ts:2049" + }, + { + "name": "POSITIVE POST /api/v1/recorder/sessions", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/api/v1/recorder/sessions", + "body": { + "mode": "raw", + "raw": "{\n \"locator\": \"{{data.locator}}\",\n \"source\": \"{{data.source}}\",\n \"text\": \"{{data.text}}\",\n \"timestamp\": \"{{data.timestamp}}\",\n \"type\": \"{{data.type}}\",\n \"url\": \"{{data.url}}\",\n \"value\": \"{{data.value}}\",\n \"x\": \"{{data.x}}\",\n \"y\": \"{{data.y}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: testengine/backend/src/lib/recorder.ts:2188" + }, + { + "name": "POSITIVE POST /api/v1/recorder/sessions/:id/stop", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/api/v1/recorder/sessions/:id/stop" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for positive', function () { pm.expect([200, 201, 204]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('response body is object or empty success', function () { pm.expect(['object','undefined']).to.include(typeof jsonData); });", + "if (jsonData && jsonData.id) { pm.collectionVariables.set('lastId', jsonData.id); }", + "if (jsonData && jsonData.token) { pm.collectionVariables.set('authToken', jsonData.token); }" + ] + } + } + ], + "description": "Source: testengine/backend/src/lib/recorder.ts:2358" + } + ], + "negativeTests": [ + { + "name": "NEGATIVE_MISSING_REQUIRED POST /projects/:project_id/knowledge", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/projects/:project_id/knowledge", + "body": { + "mode": "raw", + "raw": "{\n \"asset_type\": \"{{data.asset_type}}\",\n \"content\": \"{{data.content}}\",\n \"content_type\": \"{{data.content_type}}\",\n \"description\": \"{{data.description}}\",\n \"embedding\": \"{{data.embedding}}\",\n \"feature_name\": \"{{data.feature_name}}\",\n \"is_active\": true,\n \"item_status\": \"{{data.item_status}}\",\n \"item_version\": \"{{data.item_version}}\",\n \"linked_test_cases\": \"{{data.linked_test_cases}}\",\n \"metadata\": \"{{data.metadata}}\",\n \"module_name\": \"{{data.module_name}}\",\n \"priority\": \"{{data.priority}}\",\n \"source\": \"{{data.source}}\",\n \"source_uri\": \"{{data.source_uri}}\",\n \"title\": \"{{data.title}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing app_type_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/aiKnowledge.routes.js:12" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /projects/:project_id/knowledge", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/projects/:project_id/knowledge", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"asset_type\": \"{{data.asset_type}}\",\n \"content\": \"{{data.content}}\",\n \"content_type\": \"{{data.content_type}}\",\n \"description\": \"{{data.description}}\",\n \"embedding\": \"{{data.embedding}}\",\n \"feature_name\": \"{{data.feature_name}}\",\n \"is_active\": true,\n \"item_status\": \"{{data.item_status}}\",\n \"item_version\": \"{{data.item_version}}\",\n \"linked_test_cases\": \"{{data.linked_test_cases}}\",\n \"metadata\": \"{{data.metadata}}\",\n \"module_name\": \"{{data.module_name}}\",\n \"priority\": \"{{data.priority}}\",\n \"source\": \"{{data.source}}\",\n \"source_uri\": \"{{data.source_uri}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing title', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/aiKnowledge.routes.js:12" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED PUT /projects/:project_id/knowledge/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/projects/:project_id/knowledge/:id", + "body": { + "mode": "raw", + "raw": "{\n \"asset_type\": \"{{data.asset_type}}\",\n \"content\": \"{{data.content}}\",\n \"content_type\": \"{{data.content_type}}\",\n \"description\": \"{{data.description}}\",\n \"embedding\": \"{{data.embedding}}\",\n \"feature_name\": \"{{data.feature_name}}\",\n \"is_active\": true,\n \"item_status\": \"{{data.item_status}}\",\n \"item_version\": \"{{data.item_version}}\",\n \"linked_test_cases\": \"{{data.linked_test_cases}}\",\n \"metadata\": \"{{data.metadata}}\",\n \"module_name\": \"{{data.module_name}}\",\n \"priority\": \"{{data.priority}}\",\n \"source\": \"{{data.source}}\",\n \"source_uri\": \"{{data.source_uri}}\",\n \"title\": \"{{data.title}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing app_type_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/aiKnowledge.routes.js:19" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED PUT /projects/:project_id/knowledge/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/projects/:project_id/knowledge/:id", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"asset_type\": \"{{data.asset_type}}\",\n \"content\": \"{{data.content}}\",\n \"content_type\": \"{{data.content_type}}\",\n \"description\": \"{{data.description}}\",\n \"embedding\": \"{{data.embedding}}\",\n \"feature_name\": \"{{data.feature_name}}\",\n \"is_active\": true,\n \"item_status\": \"{{data.item_status}}\",\n \"item_version\": \"{{data.item_version}}\",\n \"linked_test_cases\": \"{{data.linked_test_cases}}\",\n \"metadata\": \"{{data.metadata}}\",\n \"module_name\": \"{{data.module_name}}\",\n \"priority\": \"{{data.priority}}\",\n \"source\": \"{{data.source}}\",\n \"source_uri\": \"{{data.source_uri}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing title', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/aiKnowledge.routes.js:19" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /projects/:project_id/knowledge/relations", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/projects/:project_id/knowledge/relations", + "body": { + "mode": "raw", + "raw": "{\n \"metadata\": \"{{data.metadata}}\",\n \"relation_type\": \"{{data.relation_type}}\",\n \"source_type\": \"{{data.source_type}}\",\n \"target_id\": \"{{lastId}}\",\n \"target_type\": \"{{data.target_type}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing source_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/aiKnowledge.routes.js:60" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /projects/:project_id/knowledge/relations", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/projects/:project_id/knowledge/relations", + "body": { + "mode": "raw", + "raw": "{\n \"metadata\": \"{{data.metadata}}\",\n \"relation_type\": \"{{data.relation_type}}\",\n \"source_id\": \"{{lastId}}\",\n \"source_type\": \"{{data.source_type}}\",\n \"target_type\": \"{{data.target_type}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing target_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/aiKnowledge.routes.js:60" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /ai-prompt-templates", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/ai-prompt-templates", + "body": { + "mode": "raw", + "raw": "{\n \"created_by\": \"{{data.created_by}}\",\n \"project_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing app_type_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/aiPromptTemplates.routes.js:43" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /ai-prompt-templates", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/ai-prompt-templates", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"created_by\": \"{{data.created_by}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing project_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/aiPromptTemplates.routes.js:43" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED PUT /ai-prompt-templates/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/ai-prompt-templates/:id" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing app_type_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/aiPromptTemplates.routes.js:71" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /app-types", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/app-types", + "body": { + "mode": "raw", + "raw": "{\n \"is_unified\": true,\n \"project_id\": \"{{lastId}}\",\n \"type\": \"{{data.type}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing name', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/appTypes.routes.js:8" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /app-types", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/app-types", + "body": { + "mode": "raw", + "raw": "{\n \"is_unified\": true,\n \"name\": \"{{data.name}}\",\n \"type\": \"{{data.type}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing project_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/appTypes.routes.js:8" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /app-types", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/app-types", + "body": { + "mode": "raw", + "raw": "{\n \"is_unified\": true,\n \"name\": \"{{data.name}}\",\n \"project_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing type', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/appTypes.routes.js:8" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED PUT /app-types/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/app-types/:id", + "body": { + "mode": "raw", + "raw": "{\n \"is_unified\": true\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing name', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/appTypes.routes.js:50" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /automation-generator/internal/jobs/:id/run", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/automation-generator/internal/jobs/:id/run", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"agent_plan\": \"{{data.agent_plan}}\",\n \"job_id\": \"{{lastId}}\",\n \"llm_model\": \"{{data.llm_model}}\",\n \"start_url\": \"{{data.start_url}}\",\n \"test_case_id\": \"{{lastId}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"test_environment_id\": \"{{lastId}}\",\n \"title\": \"{{data.title}}\",\n \"worker_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing integration_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/automationGenerator.routes.js:21" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /automation-generator/internal/jobs/:id/run", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/automation-generator/internal/jobs/:id/run", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"agent_plan\": \"{{data.agent_plan}}\",\n \"integration_id\": \"{{lastId}}\",\n \"llm_model\": \"{{data.llm_model}}\",\n \"start_url\": \"{{data.start_url}}\",\n \"test_case_id\": \"{{lastId}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"test_environment_id\": \"{{lastId}}\",\n \"title\": \"{{data.title}}\",\n \"worker_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing job_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/automationGenerator.routes.js:21" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /automation-generator/internal/jobs/:id/run", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/automation-generator/internal/jobs/:id/run", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"agent_plan\": \"{{data.agent_plan}}\",\n \"integration_id\": \"{{lastId}}\",\n \"job_id\": \"{{lastId}}\",\n \"llm_model\": \"{{data.llm_model}}\",\n \"start_url\": \"{{data.start_url}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"test_environment_id\": \"{{lastId}}\",\n \"title\": \"{{data.title}}\",\n \"worker_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing test_case_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/automationGenerator.routes.js:21" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /automation-generator/internal/jobs/:id/run", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/automation-generator/internal/jobs/:id/run", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"agent_plan\": \"{{data.agent_plan}}\",\n \"integration_id\": \"{{lastId}}\",\n \"job_id\": \"{{lastId}}\",\n \"llm_model\": \"{{data.llm_model}}\",\n \"start_url\": \"{{data.start_url}}\",\n \"test_case_id\": \"{{lastId}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"test_environment_id\": \"{{lastId}}\",\n \"title\": \"{{data.title}}\",\n \"worker_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing test_configuration_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/automationGenerator.routes.js:21" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /automation-generator/internal/jobs/:id/run", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/automation-generator/internal/jobs/:id/run", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"agent_plan\": \"{{data.agent_plan}}\",\n \"integration_id\": \"{{lastId}}\",\n \"job_id\": \"{{lastId}}\",\n \"llm_model\": \"{{data.llm_model}}\",\n \"start_url\": \"{{data.start_url}}\",\n \"test_case_id\": \"{{lastId}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_environment_id\": \"{{lastId}}\",\n \"title\": \"{{data.title}}\",\n \"worker_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing test_data_set_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/automationGenerator.routes.js:21" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /automation-generator/internal/jobs/:id/run", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/automation-generator/internal/jobs/:id/run", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"agent_plan\": \"{{data.agent_plan}}\",\n \"integration_id\": \"{{lastId}}\",\n \"job_id\": \"{{lastId}}\",\n \"llm_model\": \"{{data.llm_model}}\",\n \"start_url\": \"{{data.start_url}}\",\n \"test_case_id\": \"{{lastId}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"title\": \"{{data.title}}\",\n \"worker_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing test_environment_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/automationGenerator.routes.js:21" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /automation-generator/internal/jobs/:id/run", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/automation-generator/internal/jobs/:id/run", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"agent_plan\": \"{{data.agent_plan}}\",\n \"integration_id\": \"{{lastId}}\",\n \"job_id\": \"{{lastId}}\",\n \"llm_model\": \"{{data.llm_model}}\",\n \"start_url\": \"{{data.start_url}}\",\n \"test_case_id\": \"{{lastId}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"test_environment_id\": \"{{lastId}}\",\n \"worker_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing title', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/automationGenerator.routes.js:21" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /automation-generator/internal/jobs/:id/run", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/automation-generator/internal/jobs/:id/run", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"agent_plan\": \"{{data.agent_plan}}\",\n \"integration_id\": \"{{lastId}}\",\n \"job_id\": \"{{lastId}}\",\n \"llm_model\": \"{{data.llm_model}}\",\n \"start_url\": \"{{data.start_url}}\",\n \"test_case_id\": \"{{lastId}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"test_environment_id\": \"{{lastId}}\",\n \"title\": \"{{data.title}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing worker_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/automationGenerator.routes.js:21" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /api/engine/runs/claim", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/api/engine/runs/claim" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing engine_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/engine.routes.js:4" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /api/engine/runs/:runId/heartbeat", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/api/engine/runs/:runId/heartbeat", + "body": { + "mode": "raw", + "raw": "{\n \"heartbeat_at\": \"{{data.heartbeat_at}}\",\n \"leased_by\": \"{{data.leased_by}}\",\n \"updated_at\": \"{{data.updated_at}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing engine_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/engine.routes.js:25" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /execution-results", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/execution-results", + "body": { + "mode": "raw", + "raw": "{\n \"defects\": \"{{data.defects}}\",\n \"duration_ms\": \"{{data.duration_ms}}\",\n \"error\": \"{{data.error}}\",\n \"executed_by\": \"{{data.executed_by}}\",\n \"execution_id\": \"{{lastId}}\",\n \"external_references\": \"{{data.external_references}}\",\n \"logs\": \"{{data.logs}}\",\n \"status\": \"{{data.status}}\",\n \"suite_id\": \"{{lastId}}\",\n \"suite_name\": \"{{data.suite_name}}\",\n \"test_case_id\": \"{{lastId}}\",\n \"test_case_title\": \"{{data.test_case_title}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing app_type_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executionResults.routes.js:7" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /execution-results", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/execution-results", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"defects\": \"{{data.defects}}\",\n \"duration_ms\": \"{{data.duration_ms}}\",\n \"error\": \"{{data.error}}\",\n \"executed_by\": \"{{data.executed_by}}\",\n \"external_references\": \"{{data.external_references}}\",\n \"logs\": \"{{data.logs}}\",\n \"status\": \"{{data.status}}\",\n \"suite_id\": \"{{lastId}}\",\n \"suite_name\": \"{{data.suite_name}}\",\n \"test_case_id\": \"{{lastId}}\",\n \"test_case_title\": \"{{data.test_case_title}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing execution_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executionResults.routes.js:7" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /execution-results", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/execution-results", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"defects\": \"{{data.defects}}\",\n \"duration_ms\": \"{{data.duration_ms}}\",\n \"error\": \"{{data.error}}\",\n \"executed_by\": \"{{data.executed_by}}\",\n \"execution_id\": \"{{lastId}}\",\n \"external_references\": \"{{data.external_references}}\",\n \"logs\": \"{{data.logs}}\",\n \"suite_id\": \"{{lastId}}\",\n \"suite_name\": \"{{data.suite_name}}\",\n \"test_case_id\": \"{{lastId}}\",\n \"test_case_title\": \"{{data.test_case_title}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing status', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executionResults.routes.js:7" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /execution-results", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/execution-results", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"defects\": \"{{data.defects}}\",\n \"duration_ms\": \"{{data.duration_ms}}\",\n \"error\": \"{{data.error}}\",\n \"executed_by\": \"{{data.executed_by}}\",\n \"execution_id\": \"{{lastId}}\",\n \"external_references\": \"{{data.external_references}}\",\n \"logs\": \"{{data.logs}}\",\n \"status\": \"{{data.status}}\",\n \"suite_name\": \"{{data.suite_name}}\",\n \"test_case_id\": \"{{lastId}}\",\n \"test_case_title\": \"{{data.test_case_title}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing suite_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executionResults.routes.js:7" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /execution-results", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/execution-results", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"defects\": \"{{data.defects}}\",\n \"duration_ms\": \"{{data.duration_ms}}\",\n \"error\": \"{{data.error}}\",\n \"executed_by\": \"{{data.executed_by}}\",\n \"execution_id\": \"{{lastId}}\",\n \"external_references\": \"{{data.external_references}}\",\n \"logs\": \"{{data.logs}}\",\n \"status\": \"{{data.status}}\",\n \"suite_id\": \"{{lastId}}\",\n \"suite_name\": \"{{data.suite_name}}\",\n \"test_case_title\": \"{{data.test_case_title}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing test_case_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executionResults.routes.js:7" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED PUT /execution-results/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/execution-results/:id", + "body": { + "mode": "raw", + "raw": "{\n \"defects\": \"{{data.defects}}\",\n \"duration_ms\": \"{{data.duration_ms}}\",\n \"error\": \"{{data.error}}\",\n \"executed_by\": \"{{data.executed_by}}\",\n \"external_references\": \"{{data.external_references}}\",\n \"logs\": \"{{data.logs}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing status', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executionResults.routes.js:49" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /execution-schedules", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/execution-schedules", + "body": { + "mode": "raw", + "raw": "{\n \"assigned_to\": \"{{data.assigned_to}}\",\n \"cadence\": \"{{data.cadence}}\",\n \"created_by\": \"{{data.created_by}}\",\n \"is_active\": true,\n \"name\": \"{{data.name}}\",\n \"next_run_at\": \"{{data.next_run_at}}\",\n \"project_id\": \"{{lastId}}\",\n \"suite_ids\": \"{{data.suite_ids}}\",\n \"test_case_ids\": \"{{data.test_case_ids}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"test_environment_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing app_type_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executionSchedules.routes.js:5" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /execution-schedules", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/execution-schedules", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"assigned_to\": \"{{data.assigned_to}}\",\n \"cadence\": \"{{data.cadence}}\",\n \"created_by\": \"{{data.created_by}}\",\n \"is_active\": true,\n \"next_run_at\": \"{{data.next_run_at}}\",\n \"project_id\": \"{{lastId}}\",\n \"suite_ids\": \"{{data.suite_ids}}\",\n \"test_case_ids\": \"{{data.test_case_ids}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"test_environment_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing name', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executionSchedules.routes.js:5" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /execution-schedules", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/execution-schedules", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"assigned_to\": \"{{data.assigned_to}}\",\n \"cadence\": \"{{data.cadence}}\",\n \"created_by\": \"{{data.created_by}}\",\n \"is_active\": true,\n \"name\": \"{{data.name}}\",\n \"next_run_at\": \"{{data.next_run_at}}\",\n \"suite_ids\": \"{{data.suite_ids}}\",\n \"test_case_ids\": \"{{data.test_case_ids}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"test_environment_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing project_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executionSchedules.routes.js:5" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /execution-schedules", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/execution-schedules", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"assigned_to\": \"{{data.assigned_to}}\",\n \"cadence\": \"{{data.cadence}}\",\n \"created_by\": \"{{data.created_by}}\",\n \"is_active\": true,\n \"name\": \"{{data.name}}\",\n \"next_run_at\": \"{{data.next_run_at}}\",\n \"project_id\": \"{{lastId}}\",\n \"suite_ids\": \"{{data.suite_ids}}\",\n \"test_case_ids\": \"{{data.test_case_ids}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"test_environment_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing test_configuration_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executionSchedules.routes.js:5" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /execution-schedules", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/execution-schedules", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"assigned_to\": \"{{data.assigned_to}}\",\n \"cadence\": \"{{data.cadence}}\",\n \"created_by\": \"{{data.created_by}}\",\n \"is_active\": true,\n \"name\": \"{{data.name}}\",\n \"next_run_at\": \"{{data.next_run_at}}\",\n \"project_id\": \"{{lastId}}\",\n \"suite_ids\": \"{{data.suite_ids}}\",\n \"test_case_ids\": \"{{data.test_case_ids}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_environment_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing test_data_set_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executionSchedules.routes.js:5" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /execution-schedules", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/execution-schedules", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"assigned_to\": \"{{data.assigned_to}}\",\n \"cadence\": \"{{data.cadence}}\",\n \"created_by\": \"{{data.created_by}}\",\n \"is_active\": true,\n \"name\": \"{{data.name}}\",\n \"next_run_at\": \"{{data.next_run_at}}\",\n \"project_id\": \"{{lastId}}\",\n \"suite_ids\": \"{{data.suite_ids}}\",\n \"test_case_ids\": \"{{data.test_case_ids}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_data_set_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing test_environment_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executionSchedules.routes.js:5" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED PUT /execution-schedules/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/execution-schedules/:id", + "body": { + "mode": "raw", + "raw": "{\n \"assigned_to\": \"{{data.assigned_to}}\",\n \"cadence\": \"{{data.cadence}}\",\n \"name\": \"{{data.name}}\",\n \"next_run_at\": \"{{data.next_run_at}}\",\n \"project_id\": \"{{lastId}}\",\n \"suite_ids\": \"{{data.suite_ids}}\",\n \"test_case_ids\": \"{{data.test_case_ids}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"test_environment_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing app_type_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executionSchedules.routes.js:51" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED PUT /execution-schedules/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/execution-schedules/:id", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"assigned_to\": \"{{data.assigned_to}}\",\n \"cadence\": \"{{data.cadence}}\",\n \"next_run_at\": \"{{data.next_run_at}}\",\n \"project_id\": \"{{lastId}}\",\n \"suite_ids\": \"{{data.suite_ids}}\",\n \"test_case_ids\": \"{{data.test_case_ids}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"test_environment_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing name', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executionSchedules.routes.js:51" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED PUT /execution-schedules/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/execution-schedules/:id", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"assigned_to\": \"{{data.assigned_to}}\",\n \"cadence\": \"{{data.cadence}}\",\n \"name\": \"{{data.name}}\",\n \"next_run_at\": \"{{data.next_run_at}}\",\n \"suite_ids\": \"{{data.suite_ids}}\",\n \"test_case_ids\": \"{{data.test_case_ids}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"test_environment_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing project_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executionSchedules.routes.js:51" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED PUT /execution-schedules/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/execution-schedules/:id", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"assigned_to\": \"{{data.assigned_to}}\",\n \"cadence\": \"{{data.cadence}}\",\n \"name\": \"{{data.name}}\",\n \"next_run_at\": \"{{data.next_run_at}}\",\n \"project_id\": \"{{lastId}}\",\n \"suite_ids\": \"{{data.suite_ids}}\",\n \"test_case_ids\": \"{{data.test_case_ids}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"test_environment_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing test_configuration_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executionSchedules.routes.js:51" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED PUT /execution-schedules/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/execution-schedules/:id", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"assigned_to\": \"{{data.assigned_to}}\",\n \"cadence\": \"{{data.cadence}}\",\n \"name\": \"{{data.name}}\",\n \"next_run_at\": \"{{data.next_run_at}}\",\n \"project_id\": \"{{lastId}}\",\n \"suite_ids\": \"{{data.suite_ids}}\",\n \"test_case_ids\": \"{{data.test_case_ids}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_environment_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing test_data_set_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executionSchedules.routes.js:51" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED PUT /execution-schedules/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/execution-schedules/:id", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"assigned_to\": \"{{data.assigned_to}}\",\n \"cadence\": \"{{data.cadence}}\",\n \"name\": \"{{data.name}}\",\n \"next_run_at\": \"{{data.next_run_at}}\",\n \"project_id\": \"{{lastId}}\",\n \"suite_ids\": \"{{data.suite_ids}}\",\n \"test_case_ids\": \"{{data.test_case_ids}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_data_set_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing test_environment_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executionSchedules.routes.js:51" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /executions/smart-plan-preview", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions/smart-plan-preview", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"appType\": \"{{data.appType}}\",\n \"cases\": \"{{data.cases}}\",\n \"impacted_requirement_ids\": \"{{data.impacted_requirement_ids}}\",\n \"integration_id\": \"{{lastId}}\",\n \"project_id\": \"{{lastId}}\",\n \"release_scope\": \"{{data.release_scope}}\",\n \"testCases\": \"{{data.testCases}}\",\n \"test_cases\": \"{{data.test_cases}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"test_environment_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing app_type_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:11" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /executions/smart-plan-preview", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions/smart-plan-preview", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"appType\": \"{{data.appType}}\",\n \"app_type_id\": \"{{lastId}}\",\n \"cases\": \"{{data.cases}}\",\n \"impacted_requirement_ids\": \"{{data.impacted_requirement_ids}}\",\n \"project_id\": \"{{lastId}}\",\n \"release_scope\": \"{{data.release_scope}}\",\n \"testCases\": \"{{data.testCases}}\",\n \"test_cases\": \"{{data.test_cases}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"test_environment_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing integration_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:11" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /executions/smart-plan-preview", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions/smart-plan-preview", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"appType\": \"{{data.appType}}\",\n \"app_type_id\": \"{{lastId}}\",\n \"cases\": \"{{data.cases}}\",\n \"impacted_requirement_ids\": \"{{data.impacted_requirement_ids}}\",\n \"integration_id\": \"{{lastId}}\",\n \"release_scope\": \"{{data.release_scope}}\",\n \"testCases\": \"{{data.testCases}}\",\n \"test_cases\": \"{{data.test_cases}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"test_environment_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing project_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:11" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /executions/smart-plan-preview", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions/smart-plan-preview", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"appType\": \"{{data.appType}}\",\n \"app_type_id\": \"{{lastId}}\",\n \"cases\": \"{{data.cases}}\",\n \"impacted_requirement_ids\": \"{{data.impacted_requirement_ids}}\",\n \"integration_id\": \"{{lastId}}\",\n \"project_id\": \"{{lastId}}\",\n \"release_scope\": \"{{data.release_scope}}\",\n \"testCases\": \"{{data.testCases}}\",\n \"test_cases\": \"{{data.test_cases}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"test_environment_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing test_configuration_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:11" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /executions/smart-plan-preview", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions/smart-plan-preview", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"appType\": \"{{data.appType}}\",\n \"app_type_id\": \"{{lastId}}\",\n \"cases\": \"{{data.cases}}\",\n \"impacted_requirement_ids\": \"{{data.impacted_requirement_ids}}\",\n \"integration_id\": \"{{lastId}}\",\n \"project_id\": \"{{lastId}}\",\n \"release_scope\": \"{{data.release_scope}}\",\n \"testCases\": \"{{data.testCases}}\",\n \"test_cases\": \"{{data.test_cases}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_environment_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing test_data_set_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:11" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /executions/smart-plan-preview", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions/smart-plan-preview", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"appType\": \"{{data.appType}}\",\n \"app_type_id\": \"{{lastId}}\",\n \"cases\": \"{{data.cases}}\",\n \"impacted_requirement_ids\": \"{{data.impacted_requirement_ids}}\",\n \"integration_id\": \"{{lastId}}\",\n \"project_id\": \"{{lastId}}\",\n \"release_scope\": \"{{data.release_scope}}\",\n \"testCases\": \"{{data.testCases}}\",\n \"test_cases\": \"{{data.test_cases}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_data_set_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing test_environment_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:11" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /executions/manual-run-suggestion", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions/manual-run-suggestion", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"integration_id\": \"{{lastId}}\",\n \"project_id\": \"{{lastId}}\",\n \"selected_suite_ids\": \"{{data.selected_suite_ids}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"test_environment_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing app_type_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:46" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /executions/manual-run-suggestion", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions/manual-run-suggestion", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"app_type_id\": \"{{lastId}}\",\n \"project_id\": \"{{lastId}}\",\n \"selected_suite_ids\": \"{{data.selected_suite_ids}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"test_environment_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing integration_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:46" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /executions/manual-run-suggestion", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions/manual-run-suggestion", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"app_type_id\": \"{{lastId}}\",\n \"integration_id\": \"{{lastId}}\",\n \"selected_suite_ids\": \"{{data.selected_suite_ids}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"test_environment_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing project_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:46" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /executions/manual-run-suggestion", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions/manual-run-suggestion", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"app_type_id\": \"{{lastId}}\",\n \"integration_id\": \"{{lastId}}\",\n \"project_id\": \"{{lastId}}\",\n \"selected_suite_ids\": \"{{data.selected_suite_ids}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"test_environment_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing test_configuration_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:46" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /executions/manual-run-suggestion", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions/manual-run-suggestion", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"app_type_id\": \"{{lastId}}\",\n \"integration_id\": \"{{lastId}}\",\n \"project_id\": \"{{lastId}}\",\n \"selected_suite_ids\": \"{{data.selected_suite_ids}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_environment_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing test_data_set_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:46" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /executions/manual-run-suggestion", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions/manual-run-suggestion", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"app_type_id\": \"{{lastId}}\",\n \"integration_id\": \"{{lastId}}\",\n \"project_id\": \"{{lastId}}\",\n \"selected_suite_ids\": \"{{data.selected_suite_ids}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_data_set_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing test_environment_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:46" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /executions", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions", + "body": { + "mode": "raw", + "raw": "{\n \"assigned_to\": \"{{data.assigned_to}}\",\n \"created_by\": \"{{data.created_by}}\",\n \"execution_hooks\": \"{{data.execution_hooks}}\",\n \"name\": \"{{data.name}}\",\n \"parallel_count\": 1,\n \"parallel_enabled\": \"{{data.parallel_enabled}}\",\n \"project_id\": \"{{lastId}}\",\n \"status\": \"{{data.status}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_configuration_name\": \"{{data.test_configuration_name}}\",\n \"test_configuration_snapshot\": \"{{data.test_configuration_snapshot}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"test_data_set_name\": \"{{data.test_data_set_name}}\",\n \"test_data_set_snapshot\": \"{{data.test_data_set_snapshot}}\",\n \"test_environment_id\": \"{{lastId}}\",\n \"test_environment_name\": \"{{data.test_environment_name}}\",\n \"test_environment_snapshot\": \"{{data.test_environment_snapshot}}\",\n \"trigger\": \"{{data.trigger}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing app_type_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:80" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /executions", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"assigned_to\": \"{{data.assigned_to}}\",\n \"created_by\": \"{{data.created_by}}\",\n \"execution_hooks\": \"{{data.execution_hooks}}\",\n \"parallel_count\": 1,\n \"parallel_enabled\": \"{{data.parallel_enabled}}\",\n \"project_id\": \"{{lastId}}\",\n \"status\": \"{{data.status}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_configuration_name\": \"{{data.test_configuration_name}}\",\n \"test_configuration_snapshot\": \"{{data.test_configuration_snapshot}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"test_data_set_name\": \"{{data.test_data_set_name}}\",\n \"test_data_set_snapshot\": \"{{data.test_data_set_snapshot}}\",\n \"test_environment_id\": \"{{lastId}}\",\n \"test_environment_name\": \"{{data.test_environment_name}}\",\n \"test_environment_snapshot\": \"{{data.test_environment_snapshot}}\",\n \"trigger\": \"{{data.trigger}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing name', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:80" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /executions", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"assigned_to\": \"{{data.assigned_to}}\",\n \"created_by\": \"{{data.created_by}}\",\n \"execution_hooks\": \"{{data.execution_hooks}}\",\n \"name\": \"{{data.name}}\",\n \"parallel_count\": 1,\n \"parallel_enabled\": \"{{data.parallel_enabled}}\",\n \"status\": \"{{data.status}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_configuration_name\": \"{{data.test_configuration_name}}\",\n \"test_configuration_snapshot\": \"{{data.test_configuration_snapshot}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"test_data_set_name\": \"{{data.test_data_set_name}}\",\n \"test_data_set_snapshot\": \"{{data.test_data_set_snapshot}}\",\n \"test_environment_id\": \"{{lastId}}\",\n \"test_environment_name\": \"{{data.test_environment_name}}\",\n \"test_environment_snapshot\": \"{{data.test_environment_snapshot}}\",\n \"trigger\": \"{{data.trigger}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing project_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:80" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /executions", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"assigned_to\": \"{{data.assigned_to}}\",\n \"created_by\": \"{{data.created_by}}\",\n \"execution_hooks\": \"{{data.execution_hooks}}\",\n \"name\": \"{{data.name}}\",\n \"parallel_count\": 1,\n \"parallel_enabled\": \"{{data.parallel_enabled}}\",\n \"project_id\": \"{{lastId}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_configuration_name\": \"{{data.test_configuration_name}}\",\n \"test_configuration_snapshot\": \"{{data.test_configuration_snapshot}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"test_data_set_name\": \"{{data.test_data_set_name}}\",\n \"test_data_set_snapshot\": \"{{data.test_data_set_snapshot}}\",\n \"test_environment_id\": \"{{lastId}}\",\n \"test_environment_name\": \"{{data.test_environment_name}}\",\n \"test_environment_snapshot\": \"{{data.test_environment_snapshot}}\",\n \"trigger\": \"{{data.trigger}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing status', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:80" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /executions", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"assigned_to\": \"{{data.assigned_to}}\",\n \"created_by\": \"{{data.created_by}}\",\n \"execution_hooks\": \"{{data.execution_hooks}}\",\n \"name\": \"{{data.name}}\",\n \"parallel_count\": 1,\n \"parallel_enabled\": \"{{data.parallel_enabled}}\",\n \"project_id\": \"{{lastId}}\",\n \"status\": \"{{data.status}}\",\n \"test_configuration_name\": \"{{data.test_configuration_name}}\",\n \"test_configuration_snapshot\": \"{{data.test_configuration_snapshot}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"test_data_set_name\": \"{{data.test_data_set_name}}\",\n \"test_data_set_snapshot\": \"{{data.test_data_set_snapshot}}\",\n \"test_environment_id\": \"{{lastId}}\",\n \"test_environment_name\": \"{{data.test_environment_name}}\",\n \"test_environment_snapshot\": \"{{data.test_environment_snapshot}}\",\n \"trigger\": \"{{data.trigger}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing test_configuration_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:80" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /executions", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"assigned_to\": \"{{data.assigned_to}}\",\n \"created_by\": \"{{data.created_by}}\",\n \"execution_hooks\": \"{{data.execution_hooks}}\",\n \"name\": \"{{data.name}}\",\n \"parallel_count\": 1,\n \"parallel_enabled\": \"{{data.parallel_enabled}}\",\n \"project_id\": \"{{lastId}}\",\n \"status\": \"{{data.status}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_configuration_name\": \"{{data.test_configuration_name}}\",\n \"test_configuration_snapshot\": \"{{data.test_configuration_snapshot}}\",\n \"test_data_set_name\": \"{{data.test_data_set_name}}\",\n \"test_data_set_snapshot\": \"{{data.test_data_set_snapshot}}\",\n \"test_environment_id\": \"{{lastId}}\",\n \"test_environment_name\": \"{{data.test_environment_name}}\",\n \"test_environment_snapshot\": \"{{data.test_environment_snapshot}}\",\n \"trigger\": \"{{data.trigger}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing test_data_set_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:80" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /executions", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"assigned_to\": \"{{data.assigned_to}}\",\n \"created_by\": \"{{data.created_by}}\",\n \"execution_hooks\": \"{{data.execution_hooks}}\",\n \"name\": \"{{data.name}}\",\n \"parallel_count\": 1,\n \"parallel_enabled\": \"{{data.parallel_enabled}}\",\n \"project_id\": \"{{lastId}}\",\n \"status\": \"{{data.status}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_configuration_name\": \"{{data.test_configuration_name}}\",\n \"test_configuration_snapshot\": \"{{data.test_configuration_snapshot}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"test_data_set_name\": \"{{data.test_data_set_name}}\",\n \"test_data_set_snapshot\": \"{{data.test_data_set_snapshot}}\",\n \"test_environment_name\": \"{{data.test_environment_name}}\",\n \"test_environment_snapshot\": \"{{data.test_environment_snapshot}}\",\n \"trigger\": \"{{data.trigger}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing test_environment_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:80" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /executions/local-run", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions/local-run", + "body": { + "mode": "raw", + "raw": "{\n \"created_by\": \"{{data.created_by}}\",\n \"ended_at\": \"{{data.ended_at}}\",\n \"engine_base_url\": \"{{data.engine_base_url}}\",\n \"project_id\": \"{{lastId}}\",\n \"status\": \"{{data.status}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing name', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:107" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /executions/local-run", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions/local-run", + "body": { + "mode": "raw", + "raw": "{\n \"created_by\": \"{{data.created_by}}\",\n \"ended_at\": \"{{data.ended_at}}\",\n \"engine_base_url\": \"{{data.engine_base_url}}\",\n \"name\": \"{{data.name}}\",\n \"status\": \"{{data.status}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing project_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:107" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /executions/local-run", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions/local-run", + "body": { + "mode": "raw", + "raw": "{\n \"created_by\": \"{{data.created_by}}\",\n \"ended_at\": \"{{data.ended_at}}\",\n \"engine_base_url\": \"{{data.engine_base_url}}\",\n \"name\": \"{{data.name}}\",\n \"project_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing status', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:107" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /executions/:id/rerun", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions/:id/rerun", + "body": { + "mode": "raw", + "raw": "{\n \"assigned_to\": \"{{data.assigned_to}}\",\n \"created_by\": \"{{data.created_by}}\",\n \"name\": \"{{data.name}}\",\n \"project_id\": \"{{lastId}}\",\n \"status\": \"{{data.status}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_configuration_name\": \"{{data.test_configuration_name}}\",\n \"test_configuration_snapshot\": \"{{data.test_configuration_snapshot}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"test_data_set_name\": \"{{data.test_data_set_name}}\",\n \"test_data_set_snapshot\": \"{{data.test_data_set_snapshot}}\",\n \"test_environment_id\": \"{{lastId}}\",\n \"test_environment_name\": \"{{data.test_environment_name}}\",\n \"test_environment_snapshot\": \"{{data.test_environment_snapshot}}\",\n \"trigger\": \"{{data.trigger}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing app_type_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:191" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /executions/:id/rerun", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions/:id/rerun", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"assigned_to\": \"{{data.assigned_to}}\",\n \"created_by\": \"{{data.created_by}}\",\n \"project_id\": \"{{lastId}}\",\n \"status\": \"{{data.status}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_configuration_name\": \"{{data.test_configuration_name}}\",\n \"test_configuration_snapshot\": \"{{data.test_configuration_snapshot}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"test_data_set_name\": \"{{data.test_data_set_name}}\",\n \"test_data_set_snapshot\": \"{{data.test_data_set_snapshot}}\",\n \"test_environment_id\": \"{{lastId}}\",\n \"test_environment_name\": \"{{data.test_environment_name}}\",\n \"test_environment_snapshot\": \"{{data.test_environment_snapshot}}\",\n \"trigger\": \"{{data.trigger}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing name', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:191" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /executions/:id/rerun", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions/:id/rerun", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"assigned_to\": \"{{data.assigned_to}}\",\n \"created_by\": \"{{data.created_by}}\",\n \"name\": \"{{data.name}}\",\n \"status\": \"{{data.status}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_configuration_name\": \"{{data.test_configuration_name}}\",\n \"test_configuration_snapshot\": \"{{data.test_configuration_snapshot}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"test_data_set_name\": \"{{data.test_data_set_name}}\",\n \"test_data_set_snapshot\": \"{{data.test_data_set_snapshot}}\",\n \"test_environment_id\": \"{{lastId}}\",\n \"test_environment_name\": \"{{data.test_environment_name}}\",\n \"test_environment_snapshot\": \"{{data.test_environment_snapshot}}\",\n \"trigger\": \"{{data.trigger}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing project_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:191" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /executions/:id/rerun", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions/:id/rerun", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"assigned_to\": \"{{data.assigned_to}}\",\n \"created_by\": \"{{data.created_by}}\",\n \"name\": \"{{data.name}}\",\n \"project_id\": \"{{lastId}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_configuration_name\": \"{{data.test_configuration_name}}\",\n \"test_configuration_snapshot\": \"{{data.test_configuration_snapshot}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"test_data_set_name\": \"{{data.test_data_set_name}}\",\n \"test_data_set_snapshot\": \"{{data.test_data_set_snapshot}}\",\n \"test_environment_id\": \"{{lastId}}\",\n \"test_environment_name\": \"{{data.test_environment_name}}\",\n \"test_environment_snapshot\": \"{{data.test_environment_snapshot}}\",\n \"trigger\": \"{{data.trigger}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing status', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:191" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /executions/:id/rerun", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions/:id/rerun", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"assigned_to\": \"{{data.assigned_to}}\",\n \"created_by\": \"{{data.created_by}}\",\n \"name\": \"{{data.name}}\",\n \"project_id\": \"{{lastId}}\",\n \"status\": \"{{data.status}}\",\n \"test_configuration_name\": \"{{data.test_configuration_name}}\",\n \"test_configuration_snapshot\": \"{{data.test_configuration_snapshot}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"test_data_set_name\": \"{{data.test_data_set_name}}\",\n \"test_data_set_snapshot\": \"{{data.test_data_set_snapshot}}\",\n \"test_environment_id\": \"{{lastId}}\",\n \"test_environment_name\": \"{{data.test_environment_name}}\",\n \"test_environment_snapshot\": \"{{data.test_environment_snapshot}}\",\n \"trigger\": \"{{data.trigger}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing test_configuration_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:191" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /executions/:id/rerun", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions/:id/rerun", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"assigned_to\": \"{{data.assigned_to}}\",\n \"created_by\": \"{{data.created_by}}\",\n \"name\": \"{{data.name}}\",\n \"project_id\": \"{{lastId}}\",\n \"status\": \"{{data.status}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_configuration_name\": \"{{data.test_configuration_name}}\",\n \"test_configuration_snapshot\": \"{{data.test_configuration_snapshot}}\",\n \"test_data_set_name\": \"{{data.test_data_set_name}}\",\n \"test_data_set_snapshot\": \"{{data.test_data_set_snapshot}}\",\n \"test_environment_id\": \"{{lastId}}\",\n \"test_environment_name\": \"{{data.test_environment_name}}\",\n \"test_environment_snapshot\": \"{{data.test_environment_snapshot}}\",\n \"trigger\": \"{{data.trigger}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing test_data_set_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:191" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /executions/:id/rerun", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions/:id/rerun", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"assigned_to\": \"{{data.assigned_to}}\",\n \"created_by\": \"{{data.created_by}}\",\n \"name\": \"{{data.name}}\",\n \"project_id\": \"{{lastId}}\",\n \"status\": \"{{data.status}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_configuration_name\": \"{{data.test_configuration_name}}\",\n \"test_configuration_snapshot\": \"{{data.test_configuration_snapshot}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"test_data_set_name\": \"{{data.test_data_set_name}}\",\n \"test_data_set_snapshot\": \"{{data.test_data_set_snapshot}}\",\n \"test_environment_name\": \"{{data.test_environment_name}}\",\n \"test_environment_snapshot\": \"{{data.test_environment_snapshot}}\",\n \"trigger\": \"{{data.trigger}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing test_environment_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:191" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /executions/:id/start", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions/:id/start", + "body": { + "mode": "raw", + "raw": "{\n \"engine_base_url\": \"{{data.engine_base_url}}\",\n \"execution_mode\": \"{{data.execution_mode}}\",\n \"initiated_by\": \"{{data.initiated_by}}\",\n \"skip_testengine_dispatch\": \"{{data.skip_testengine_dispatch}}\",\n \"started_at\": \"{{data.started_at}}\",\n \"trigger\": \"{{data.trigger}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing status', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:208" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /executions/:id/cases/:testCaseId/ai-analysis", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions/:id/cases/:testCaseId/ai-analysis", + "body": { + "mode": "raw", + "raw": "{\n \"execution\": \"{{data.execution}}\",\n \"requestedBy\": \"{{data.requestedBy}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing testCaseId', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:231" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /executions/:id/share-report", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions/:id/share-report", + "body": { + "mode": "raw", + "raw": "{\n \"recipients\": \"{{data.recipients}}\",\n \"requested_by\": \"{{data.requested_by}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing execution_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:273" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /executions/:id/complete", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions/:id/complete", + "body": { + "mode": "raw", + "raw": "{\n \"ended_at\": \"{{data.ended_at}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing status', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:292" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /feedback", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/feedback", + "body": { + "mode": "raw", + "raw": "{\n \"message\": \"{{data.message}}\",\n \"title\": \"{{data.title}}\",\n \"user_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing status', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/feedback.routes.js:5" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /feedback", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/feedback", + "body": { + "mode": "raw", + "raw": "{\n \"message\": \"{{data.message}}\",\n \"status\": \"{{data.status}}\",\n \"user_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing title', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/feedback.routes.js:5" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /feedback", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/feedback", + "body": { + "mode": "raw", + "raw": "{\n \"message\": \"{{data.message}}\",\n \"status\": \"{{data.status}}\",\n \"title\": \"{{data.title}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing user_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/feedback.routes.js:5" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED PUT /feedback/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/feedback/:id", + "body": { + "mode": "raw", + "raw": "{\n \"message\": \"{{data.message}}\",\n \"title\": \"{{data.title}}\",\n \"user_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing status', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/feedback.routes.js:28" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED PUT /feedback/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/feedback/:id", + "body": { + "mode": "raw", + "raw": "{\n \"message\": \"{{data.message}}\",\n \"status\": \"{{data.status}}\",\n \"user_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing title', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/feedback.routes.js:28" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED PUT /feedback/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/feedback/:id", + "body": { + "mode": "raw", + "raw": "{\n \"message\": \"{{data.message}}\",\n \"status\": \"{{data.status}}\",\n \"title\": \"{{data.title}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing user_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/feedback.routes.js:28" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /integrations", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/integrations", + "body": { + "mode": "raw", + "raw": "{\n \"api_key\": \"{{data.api_key}}\",\n \"base_url\": \"{{data.base_url}}\",\n \"config\": \"{{data.config}}\",\n \"is_active\": true,\n \"model\": \"{{data.model}}\",\n \"project_key\": \"{{data.project_key}}\",\n \"type\": \"{{data.type}}\",\n \"updated_at\": \"{{data.updated_at}}\",\n \"username\": \"{{data.username}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing name', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/integrations.routes.js:130" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /integrations", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/integrations", + "body": { + "mode": "raw", + "raw": "{\n \"api_key\": \"{{data.api_key}}\",\n \"base_url\": \"{{data.base_url}}\",\n \"config\": \"{{data.config}}\",\n \"is_active\": true,\n \"model\": \"{{data.model}}\",\n \"name\": \"{{data.name}}\",\n \"project_key\": \"{{data.project_key}}\",\n \"updated_at\": \"{{data.updated_at}}\",\n \"username\": \"{{data.username}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing type', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/integrations.routes.js:130" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /integrations", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/integrations", + "body": { + "mode": "raw", + "raw": "{\n \"api_key\": \"{{data.api_key}}\",\n \"base_url\": \"{{data.base_url}}\",\n \"config\": \"{{data.config}}\",\n \"is_active\": true,\n \"model\": \"{{data.model}}\",\n \"name\": \"{{data.name}}\",\n \"project_key\": \"{{data.project_key}}\",\n \"type\": \"{{data.type}}\",\n \"updated_at\": \"{{data.updated_at}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing username', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/integrations.routes.js:130" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /integrations/test-connection", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/integrations/test-connection", + "body": { + "mode": "raw", + "raw": "{\n \"api_key\": \"{{data.api_key}}\",\n \"base_url\": \"{{data.base_url}}\",\n \"config\": \"{{data.config}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing type', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/integrations.routes.js:164" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED PUT /integrations/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/integrations/:id", + "body": { + "mode": "raw", + "raw": "{\n \"api_key\": \"{{data.api_key}}\",\n \"base_url\": \"{{data.base_url}}\",\n \"config\": \"{{data.config}}\",\n \"is_active\": true,\n \"model\": \"{{data.model}}\",\n \"project_key\": \"{{data.project_key}}\",\n \"type\": \"{{data.type}}\",\n \"updated_at\": \"{{data.updated_at}}\",\n \"username\": \"{{data.username}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing name', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/integrations.routes.js:190" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED PUT /integrations/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/integrations/:id", + "body": { + "mode": "raw", + "raw": "{\n \"api_key\": \"{{data.api_key}}\",\n \"base_url\": \"{{data.base_url}}\",\n \"config\": \"{{data.config}}\",\n \"is_active\": true,\n \"model\": \"{{data.model}}\",\n \"name\": \"{{data.name}}\",\n \"project_key\": \"{{data.project_key}}\",\n \"updated_at\": \"{{data.updated_at}}\",\n \"username\": \"{{data.username}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing type', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/integrations.routes.js:190" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED PUT /integrations/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/integrations/:id", + "body": { + "mode": "raw", + "raw": "{\n \"api_key\": \"{{data.api_key}}\",\n \"base_url\": \"{{data.base_url}}\",\n \"config\": \"{{data.config}}\",\n \"is_active\": true,\n \"model\": \"{{data.model}}\",\n \"name\": \"{{data.name}}\",\n \"project_key\": \"{{data.project_key}}\",\n \"type\": \"{{data.type}}\",\n \"updated_at\": \"{{data.updated_at}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing username', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/integrations.routes.js:190" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /project-members", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/project-members", + "body": { + "mode": "raw", + "raw": "{\n \"role_id\": \"{{lastId}}\",\n \"user_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing project_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/projectMembers.routes.js:4" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /project-members", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/project-members", + "body": { + "mode": "raw", + "raw": "{\n \"project_id\": \"{{lastId}}\",\n \"user_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing role_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/projectMembers.routes.js:4" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /project-members", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/project-members", + "body": { + "mode": "raw", + "raw": "{\n \"project_id\": \"{{lastId}}\",\n \"role_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing user_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/projectMembers.routes.js:4" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED PUT /project-members/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/project-members/:id", + "body": { + "mode": "raw", + "raw": "{\n \"role_id\": \"{{lastId}}\",\n \"user_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing project_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/projectMembers.routes.js:23" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED PUT /project-members/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/project-members/:id", + "body": { + "mode": "raw", + "raw": "{\n \"project_id\": \"{{lastId}}\",\n \"user_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing role_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/projectMembers.routes.js:23" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED PUT /project-members/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/project-members/:id", + "body": { + "mode": "raw", + "raw": "{\n \"project_id\": \"{{lastId}}\",\n \"role_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing user_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/projectMembers.routes.js:23" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /projects/:id/sync/:provider", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/projects/:id/sync/:provider", + "body": { + "mode": "raw", + "raw": "{\n \"created_by\": \"{{data.created_by}}\",\n \"provider\": \"{{data.provider}}\",\n \"trigger_mode\": \"{{data.trigger_mode}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing project_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/projectSync.routes.js:5" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /projects", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/projects", + "body": { + "mode": "raw", + "raw": "{\n \"created_by\": \"{{data.created_by}}\",\n \"description\": \"{{data.description}}\",\n \"name\": \"{{data.name}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing display_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/projects.routes.js:5" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /projects", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/projects", + "body": { + "mode": "raw", + "raw": "{\n \"created_by\": \"{{data.created_by}}\",\n \"description\": \"{{data.description}}\",\n \"display_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing name', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/projects.routes.js:5" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED PUT /projects/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/projects/:id", + "body": { + "mode": "raw", + "raw": "{\n \"description\": \"{{data.description}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing name', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/projects.routes.js:25" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED PUT /requirement-test-cases/replace", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/requirement-test-cases/replace", + "body": { + "mode": "raw", + "raw": "{\n \"test_case_ids\": \"{{data.test_case_ids}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing requirement_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/requirementTestCases.routes.js:9" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /requirements", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/requirements", + "body": { + "mode": "raw", + "raw": "{\n \"created_by\": \"{{data.created_by}}\",\n \"description\": \"{{data.description}}\",\n \"external_references\": \"{{data.external_references}}\",\n \"priority\": \"{{data.priority}}\",\n \"project_id\": \"{{lastId}}\",\n \"status\": \"{{data.status}}\",\n \"title\": \"{{data.title}}\",\n \"updated_at\": \"{{data.updated_at}}\",\n \"updated_by\": \"{{data.updated_by}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing display_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/requirements.routes.js:8" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /requirements", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/requirements", + "body": { + "mode": "raw", + "raw": "{\n \"created_by\": \"{{data.created_by}}\",\n \"description\": \"{{data.description}}\",\n \"display_id\": \"{{lastId}}\",\n \"external_references\": \"{{data.external_references}}\",\n \"priority\": \"{{data.priority}}\",\n \"status\": \"{{data.status}}\",\n \"title\": \"{{data.title}}\",\n \"updated_at\": \"{{data.updated_at}}\",\n \"updated_by\": \"{{data.updated_by}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing project_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/requirements.routes.js:8" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /requirements", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/requirements", + "body": { + "mode": "raw", + "raw": "{\n \"created_by\": \"{{data.created_by}}\",\n \"description\": \"{{data.description}}\",\n \"display_id\": \"{{lastId}}\",\n \"external_references\": \"{{data.external_references}}\",\n \"priority\": \"{{data.priority}}\",\n \"project_id\": \"{{lastId}}\",\n \"title\": \"{{data.title}}\",\n \"updated_at\": \"{{data.updated_at}}\",\n \"updated_by\": \"{{data.updated_by}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing status', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/requirements.routes.js:8" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /requirements", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/requirements", + "body": { + "mode": "raw", + "raw": "{\n \"created_by\": \"{{data.created_by}}\",\n \"description\": \"{{data.description}}\",\n \"display_id\": \"{{lastId}}\",\n \"external_references\": \"{{data.external_references}}\",\n \"priority\": \"{{data.priority}}\",\n \"project_id\": \"{{lastId}}\",\n \"status\": \"{{data.status}}\",\n \"updated_at\": \"{{data.updated_at}}\",\n \"updated_by\": \"{{data.updated_by}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing title', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/requirements.routes.js:8" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /requirements/import", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/requirements/import", + "body": { + "mode": "raw", + "raw": "{\n \"rows\": \"{{data.rows}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing project_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/requirements.routes.js:29" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED PUT /requirements/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/requirements/:id", + "body": { + "mode": "raw", + "raw": "{\n \"description\": \"{{data.description}}\",\n \"external_references\": \"{{data.external_references}}\",\n \"priority\": \"{{data.priority}}\",\n \"status\": \"{{data.status}}\",\n \"title\": \"{{data.title}}\",\n \"updated_at\": \"{{data.updated_at}}\",\n \"updated_by\": \"{{data.updated_by}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing project_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/requirements.routes.js:73" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED PUT /requirements/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/requirements/:id", + "body": { + "mode": "raw", + "raw": "{\n \"description\": \"{{data.description}}\",\n \"external_references\": \"{{data.external_references}}\",\n \"priority\": \"{{data.priority}}\",\n \"project_id\": \"{{lastId}}\",\n \"title\": \"{{data.title}}\",\n \"updated_at\": \"{{data.updated_at}}\",\n \"updated_by\": \"{{data.updated_by}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing status', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/requirements.routes.js:73" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED PUT /requirements/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/requirements/:id", + "body": { + "mode": "raw", + "raw": "{\n \"description\": \"{{data.description}}\",\n \"external_references\": \"{{data.external_references}}\",\n \"priority\": \"{{data.priority}}\",\n \"project_id\": \"{{lastId}}\",\n \"status\": \"{{data.status}}\",\n \"updated_at\": \"{{data.updated_at}}\",\n \"updated_by\": \"{{data.updated_by}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing title', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/requirements.routes.js:73" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /requirements/:id/ai-optimize-preview", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/requirements/:id/ai-optimize-preview", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing integration_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/requirements.routes.js:95" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /requirements/:id/generate-test-cases", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/requirements/:id/generate-test-cases", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"appType\": \"{{data.appType}}\",\n \"external_links\": \"{{data.external_links}}\",\n \"images\": \"{{data.images}}\",\n \"integration_id\": \"{{lastId}}\",\n \"max_cases\": \"{{data.max_cases}}\",\n \"requirement\": \"{{data.requirement}}\",\n \"status\": \"{{data.status}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing app_type_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/requirements.routes.js:113" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /requirements/:id/generate-test-cases", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/requirements/:id/generate-test-cases", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"appType\": \"{{data.appType}}\",\n \"app_type_id\": \"{{lastId}}\",\n \"external_links\": \"{{data.external_links}}\",\n \"images\": \"{{data.images}}\",\n \"max_cases\": \"{{data.max_cases}}\",\n \"requirement\": \"{{data.requirement}}\",\n \"status\": \"{{data.status}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing integration_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/requirements.routes.js:113" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /requirements/:id/generate-test-cases", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/requirements/:id/generate-test-cases", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"appType\": \"{{data.appType}}\",\n \"app_type_id\": \"{{lastId}}\",\n \"external_links\": \"{{data.external_links}}\",\n \"images\": \"{{data.images}}\",\n \"integration_id\": \"{{lastId}}\",\n \"max_cases\": \"{{data.max_cases}}\",\n \"requirement\": \"{{data.requirement}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing status', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/requirements.routes.js:113" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /requirements/:id/design-test-cases-preview", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/requirements/:id/design-test-cases-preview", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"appType\": \"{{data.appType}}\",\n \"external_links\": \"{{data.external_links}}\",\n \"images\": \"{{data.images}}\",\n \"integration_id\": \"{{lastId}}\",\n \"max_cases\": \"{{data.max_cases}}\",\n \"requirement\": \"{{data.requirement}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing app_type_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/requirements.routes.js:147" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /requirements/:id/design-test-cases-preview", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/requirements/:id/design-test-cases-preview", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"appType\": \"{{data.appType}}\",\n \"app_type_id\": \"{{lastId}}\",\n \"external_links\": \"{{data.external_links}}\",\n \"images\": \"{{data.images}}\",\n \"max_cases\": \"{{data.max_cases}}\",\n \"requirement\": \"{{data.requirement}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing integration_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/requirements.routes.js:147" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /requirements/:id/design-test-cases-accept", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/requirements/:id/design-test-cases-accept", + "body": { + "mode": "raw", + "raw": "{\n \"appType\": \"{{data.appType}}\",\n \"cases\": \"{{data.cases}}\",\n \"requirement\": \"{{data.requirement}}\",\n \"status\": \"{{data.status}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing app_type_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/requirements.routes.js:179" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /requirements/:id/design-test-cases-accept", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/requirements/:id/design-test-cases-accept", + "body": { + "mode": "raw", + "raw": "{\n \"appType\": \"{{data.appType}}\",\n \"app_type_id\": \"{{lastId}}\",\n \"cases\": \"{{data.cases}}\",\n \"requirement\": \"{{data.requirement}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing status', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/requirements.routes.js:179" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /roles", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/roles" + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing name', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/roles.routes.js:4" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED PUT /roles/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/roles/:id", + "body": { + "mode": "raw", + "raw": "{\n \"permission_codes\": \"{{data.permission_codes}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing name', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/roles.routes.js:37" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /shared-step-groups", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/shared-step-groups", + "body": { + "mode": "raw", + "raw": "{\n \"created_by\": \"{{data.created_by}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing app_type_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/sharedStepGroups.routes.js:6" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED PUT /shared-step-groups/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/shared-step-groups/:id", + "body": { + "mode": "raw", + "raw": "{\n \"description\": \"{{data.description}}\",\n \"name\": \"{{data.name}}\",\n \"parameter_values\": \"{{data.parameter_values}}\",\n \"steps\": \"{{data.steps}}\",\n \"updated_by\": \"{{data.updated_by}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing app_type_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/sharedStepGroups.routes.js:47" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED PUT /shared-step-groups/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/shared-step-groups/:id", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"description\": \"{{data.description}}\",\n \"parameter_values\": \"{{data.parameter_values}}\",\n \"steps\": \"{{data.steps}}\",\n \"updated_by\": \"{{data.updated_by}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing name', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/sharedStepGroups.routes.js:47" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED PUT /suite-test-cases/reorder", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/suite-test-cases/reorder", + "body": { + "mode": "raw", + "raw": "{\n \"sort_order\": \"{{data.sort_order}}\",\n \"test_case_ids\": \"{{data.test_case_ids}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing suite_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/suiteTestCases.routes.js:9" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /test-cases", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases", + "body": { + "mode": "raw", + "raw": "{\n \"created_by\": \"{{data.created_by}}\",\n \"steps\": \"{{data.steps}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing app_type_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:37" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /test-cases/import", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/import", + "body": { + "mode": "raw", + "raw": "{\n \"batches\": \"{{data.batches}}\",\n \"created_by\": \"{{data.created_by}}\",\n \"rows\": \"{{data.rows}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing app_type_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:69" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /test-cases/export", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/export", + "body": { + "mode": "raw", + "raw": "{\n \"created_by\": \"{{data.created_by}}\",\n \"test_case_ids\": \"{{data.test_case_ids}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing app_type_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:111" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /test-cases/automation/learning-cache/import", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/automation/learning-cache/import", + "body": { + "mode": "raw", + "raw": "{\n \"entries\": \"{{data.entries}}\",\n \"import_source\": \"{{data.import_source}}\",\n \"project_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing app_type_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:187" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /test-cases/automation/learning-cache/import", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/automation/learning-cache/import", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"entries\": \"{{data.entries}}\",\n \"import_source\": \"{{data.import_source}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing project_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:187" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /test-cases/automation/learning-cache/extract-fields", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/automation/learning-cache/extract-fields", + "body": { + "mode": "raw", + "raw": "{\n \"fields\": \"{{data.fields}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing app_type_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:211" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /test-cases/automation/learning-cache", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/automation/learning-cache", + "body": { + "mode": "raw", + "raw": "{\n \"confidence\": \"{{data.confidence}}\",\n \"dom_structure\": \"{{data.dom_structure}}\",\n \"fallback_strategy\": \"{{data.fallback_strategy}}\",\n \"locator\": \"{{data.locator}}\",\n \"locator_intent\": \"{{data.locator_intent}}\",\n \"locator_kind\": \"{{data.locator_kind}}\",\n \"metadata\": \"{{data.metadata}}\",\n \"object_name\": \"{{data.object_name}}\",\n \"object_role\": \"{{data.object_role}}\",\n \"page_key\": 1,\n \"page_url\": 1,\n \"project_id\": \"{{lastId}}\",\n \"screen_dom_compressed\": \"{{data.screen_dom_compressed}}\",\n \"screen_name\": \"{{data.screen_name}}\",\n \"screen_screenshot_url\": \"{{data.screen_screenshot_url}}\",\n \"screenshot_url\": \"{{data.screenshot_url}}\",\n \"source\": \"{{data.source}}\",\n \"target_criteria\": \"{{data.target_criteria}}\",\n \"test_case_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing app_type_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:303" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /test-cases/automation/learning-cache", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/automation/learning-cache", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"confidence\": \"{{data.confidence}}\",\n \"dom_structure\": \"{{data.dom_structure}}\",\n \"fallback_strategy\": \"{{data.fallback_strategy}}\",\n \"locator\": \"{{data.locator}}\",\n \"locator_intent\": \"{{data.locator_intent}}\",\n \"locator_kind\": \"{{data.locator_kind}}\",\n \"metadata\": \"{{data.metadata}}\",\n \"object_name\": \"{{data.object_name}}\",\n \"object_role\": \"{{data.object_role}}\",\n \"page_key\": 1,\n \"page_url\": 1,\n \"screen_dom_compressed\": \"{{data.screen_dom_compressed}}\",\n \"screen_name\": \"{{data.screen_name}}\",\n \"screen_screenshot_url\": \"{{data.screen_screenshot_url}}\",\n \"screenshot_url\": \"{{data.screenshot_url}}\",\n \"source\": \"{{data.source}}\",\n \"target_criteria\": \"{{data.target_criteria}}\",\n \"test_case_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing project_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:303" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /test-cases/automation/learning-cache", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/automation/learning-cache", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"confidence\": \"{{data.confidence}}\",\n \"dom_structure\": \"{{data.dom_structure}}\",\n \"fallback_strategy\": \"{{data.fallback_strategy}}\",\n \"locator\": \"{{data.locator}}\",\n \"locator_intent\": \"{{data.locator_intent}}\",\n \"locator_kind\": \"{{data.locator_kind}}\",\n \"metadata\": \"{{data.metadata}}\",\n \"object_name\": \"{{data.object_name}}\",\n \"object_role\": \"{{data.object_role}}\",\n \"page_key\": 1,\n \"page_url\": 1,\n \"project_id\": \"{{lastId}}\",\n \"screen_dom_compressed\": \"{{data.screen_dom_compressed}}\",\n \"screen_name\": \"{{data.screen_name}}\",\n \"screen_screenshot_url\": \"{{data.screen_screenshot_url}}\",\n \"screenshot_url\": \"{{data.screenshot_url}}\",\n \"source\": \"{{data.source}}\",\n \"target_criteria\": \"{{data.target_criteria}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing test_case_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:303" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED PUT /test-cases/automation/learning-cache/screens/:screenName", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/automation/learning-cache/screens/:screenName", + "body": { + "mode": "raw", + "raw": "{\n \"new_name\": \"{{data.new_name}}\",\n \"screen_name\": \"{{data.screen_name}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing app_type_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:390" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /test-cases/automation/learning-cache/:id/ai-improve", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/automation/learning-cache/:id/ai-improve", + "body": { + "mode": "raw", + "raw": "{\n \"guidance\": \"{{data.guidance}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing integration_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:412" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /test-cases/automation/build-batch", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/automation/build-batch", + "body": { + "mode": "raw", + "raw": "{\n \"created_by\": \"{{data.created_by}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing app_type_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:438" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /test-cases/:id/automation/build", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/:id/automation/build", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"captured_actions\": \"{{data.captured_actions}}\",\n \"captured_network\": \"{{data.captured_network}}\",\n \"created_by\": \"{{data.created_by}}\",\n \"start_url\": \"{{data.start_url}}\",\n \"test_case_id\": \"{{lastId}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"test_environment_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing integration_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:486" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /test-cases/:id/automation/build", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/:id/automation/build", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"captured_actions\": \"{{data.captured_actions}}\",\n \"captured_network\": \"{{data.captured_network}}\",\n \"created_by\": \"{{data.created_by}}\",\n \"integration_id\": \"{{lastId}}\",\n \"start_url\": \"{{data.start_url}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"test_environment_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing test_case_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:486" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /test-cases/:id/automation/build", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/:id/automation/build", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"captured_actions\": \"{{data.captured_actions}}\",\n \"captured_network\": \"{{data.captured_network}}\",\n \"created_by\": \"{{data.created_by}}\",\n \"integration_id\": \"{{lastId}}\",\n \"start_url\": \"{{data.start_url}}\",\n \"test_case_id\": \"{{lastId}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"test_environment_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing test_configuration_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:486" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /test-cases/:id/automation/build", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/:id/automation/build", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"captured_actions\": \"{{data.captured_actions}}\",\n \"captured_network\": \"{{data.captured_network}}\",\n \"created_by\": \"{{data.created_by}}\",\n \"integration_id\": \"{{lastId}}\",\n \"start_url\": \"{{data.start_url}}\",\n \"test_case_id\": \"{{lastId}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_environment_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing test_data_set_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:486" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /test-cases/:id/automation/build", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/:id/automation/build", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"captured_actions\": \"{{data.captured_actions}}\",\n \"captured_network\": \"{{data.captured_network}}\",\n \"created_by\": \"{{data.created_by}}\",\n \"integration_id\": \"{{lastId}}\",\n \"start_url\": \"{{data.start_url}}\",\n \"test_case_id\": \"{{lastId}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_data_set_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing test_environment_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:486" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /test-cases/:id/automation/generator-jobs", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/:id/automation/generator-jobs", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"created_by\": \"{{data.created_by}}\",\n \"start_url\": \"{{data.start_url}}\",\n \"test_case_id\": \"{{lastId}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"test_environment_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing integration_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:521" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /test-cases/:id/automation/generator-jobs", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/:id/automation/generator-jobs", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"created_by\": \"{{data.created_by}}\",\n \"integration_id\": \"{{lastId}}\",\n \"start_url\": \"{{data.start_url}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"test_environment_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing test_case_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:521" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /test-cases/:id/automation/generator-jobs", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/:id/automation/generator-jobs", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"created_by\": \"{{data.created_by}}\",\n \"integration_id\": \"{{lastId}}\",\n \"start_url\": \"{{data.start_url}}\",\n \"test_case_id\": \"{{lastId}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"test_environment_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing test_configuration_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:521" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /test-cases/:id/automation/generator-jobs", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/:id/automation/generator-jobs", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"created_by\": \"{{data.created_by}}\",\n \"integration_id\": \"{{lastId}}\",\n \"start_url\": \"{{data.start_url}}\",\n \"test_case_id\": \"{{lastId}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_environment_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing test_data_set_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:521" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /test-cases/:id/automation/generator-jobs", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/:id/automation/generator-jobs", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"created_by\": \"{{data.created_by}}\",\n \"integration_id\": \"{{lastId}}\",\n \"start_url\": \"{{data.start_url}}\",\n \"test_case_id\": \"{{lastId}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_data_set_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing test_environment_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:521" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /test-cases/:id/automation/recorder-session", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/:id/automation/recorder-session", + "body": { + "mode": "raw", + "raw": "{\n \"created_by\": \"{{data.created_by}}\",\n \"engine_base_url\": \"{{data.engine_base_url}}\",\n \"recorder_mode\": \"{{data.recorder_mode}}\",\n \"recorder_public_base_url\": \"{{data.recorder_public_base_url}}\",\n \"recorder_target\": \"{{data.recorder_target}}\",\n \"reuse_existing\": \"{{data.reuse_existing}}\",\n \"start_url\": \"{{data.start_url}}\",\n \"test_case_id\": \"{{lastId}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"test_environment_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing target_step_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:552" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /test-cases/:id/automation/recorder-session", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/:id/automation/recorder-session", + "body": { + "mode": "raw", + "raw": "{\n \"created_by\": \"{{data.created_by}}\",\n \"engine_base_url\": \"{{data.engine_base_url}}\",\n \"recorder_mode\": \"{{data.recorder_mode}}\",\n \"recorder_public_base_url\": \"{{data.recorder_public_base_url}}\",\n \"recorder_target\": \"{{data.recorder_target}}\",\n \"reuse_existing\": \"{{data.reuse_existing}}\",\n \"start_url\": \"{{data.start_url}}\",\n \"target_step_id\": \"{{lastId}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"test_environment_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing test_case_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:552" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /test-cases/:id/automation/recorder-session", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/:id/automation/recorder-session", + "body": { + "mode": "raw", + "raw": "{\n \"created_by\": \"{{data.created_by}}\",\n \"engine_base_url\": \"{{data.engine_base_url}}\",\n \"recorder_mode\": \"{{data.recorder_mode}}\",\n \"recorder_public_base_url\": \"{{data.recorder_public_base_url}}\",\n \"recorder_target\": \"{{data.recorder_target}}\",\n \"reuse_existing\": \"{{data.reuse_existing}}\",\n \"start_url\": \"{{data.start_url}}\",\n \"target_step_id\": \"{{lastId}}\",\n \"test_case_id\": \"{{lastId}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"test_environment_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing test_configuration_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:552" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /test-cases/:id/automation/recorder-session", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/:id/automation/recorder-session", + "body": { + "mode": "raw", + "raw": "{\n \"created_by\": \"{{data.created_by}}\",\n \"engine_base_url\": \"{{data.engine_base_url}}\",\n \"recorder_mode\": \"{{data.recorder_mode}}\",\n \"recorder_public_base_url\": \"{{data.recorder_public_base_url}}\",\n \"recorder_target\": \"{{data.recorder_target}}\",\n \"reuse_existing\": \"{{data.reuse_existing}}\",\n \"start_url\": \"{{data.start_url}}\",\n \"target_step_id\": \"{{lastId}}\",\n \"test_case_id\": \"{{lastId}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_environment_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing test_data_set_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:552" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /test-cases/:id/automation/recorder-session", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/:id/automation/recorder-session", + "body": { + "mode": "raw", + "raw": "{\n \"created_by\": \"{{data.created_by}}\",\n \"engine_base_url\": \"{{data.engine_base_url}}\",\n \"recorder_mode\": \"{{data.recorder_mode}}\",\n \"recorder_public_base_url\": \"{{data.recorder_public_base_url}}\",\n \"recorder_target\": \"{{data.recorder_target}}\",\n \"reuse_existing\": \"{{data.reuse_existing}}\",\n \"start_url\": \"{{data.start_url}}\",\n \"target_step_id\": \"{{lastId}}\",\n \"test_case_id\": \"{{lastId}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_data_set_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing test_environment_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:552" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /test-cases/:id/automation/recorder-session/:sessionId/finish", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/:id/automation/recorder-session/:sessionId/finish", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"created_by\": \"{{data.created_by}}\",\n \"engine_base_url\": \"{{data.engine_base_url}}\",\n \"recorder_mode\": \"{{data.recorder_mode}}\",\n \"recorder_session_id\": \"{{lastId}}\",\n \"recorder_target\": \"{{data.recorder_target}}\",\n \"target_step_id\": \"{{lastId}}\",\n \"test_case_id\": \"{{lastId}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"test_environment_id\": \"{{lastId}}\",\n \"transaction_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing integration_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:591" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /test-cases/:id/automation/recorder-session/:sessionId/finish", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/:id/automation/recorder-session/:sessionId/finish", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"created_by\": \"{{data.created_by}}\",\n \"engine_base_url\": \"{{data.engine_base_url}}\",\n \"integration_id\": \"{{lastId}}\",\n \"recorder_mode\": \"{{data.recorder_mode}}\",\n \"recorder_target\": \"{{data.recorder_target}}\",\n \"target_step_id\": \"{{lastId}}\",\n \"test_case_id\": \"{{lastId}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"test_environment_id\": \"{{lastId}}\",\n \"transaction_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing recorder_session_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:591" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /test-cases/:id/automation/recorder-session/:sessionId/finish", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/:id/automation/recorder-session/:sessionId/finish", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"created_by\": \"{{data.created_by}}\",\n \"engine_base_url\": \"{{data.engine_base_url}}\",\n \"integration_id\": \"{{lastId}}\",\n \"recorder_mode\": \"{{data.recorder_mode}}\",\n \"recorder_session_id\": \"{{lastId}}\",\n \"recorder_target\": \"{{data.recorder_target}}\",\n \"test_case_id\": \"{{lastId}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"test_environment_id\": \"{{lastId}}\",\n \"transaction_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing target_step_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:591" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /test-cases/:id/automation/recorder-session/:sessionId/finish", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/:id/automation/recorder-session/:sessionId/finish", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"created_by\": \"{{data.created_by}}\",\n \"engine_base_url\": \"{{data.engine_base_url}}\",\n \"integration_id\": \"{{lastId}}\",\n \"recorder_mode\": \"{{data.recorder_mode}}\",\n \"recorder_session_id\": \"{{lastId}}\",\n \"recorder_target\": \"{{data.recorder_target}}\",\n \"target_step_id\": \"{{lastId}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"test_environment_id\": \"{{lastId}}\",\n \"transaction_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing test_case_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:591" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /test-cases/:id/automation/recorder-session/:sessionId/finish", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/:id/automation/recorder-session/:sessionId/finish", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"created_by\": \"{{data.created_by}}\",\n \"engine_base_url\": \"{{data.engine_base_url}}\",\n \"integration_id\": \"{{lastId}}\",\n \"recorder_mode\": \"{{data.recorder_mode}}\",\n \"recorder_session_id\": \"{{lastId}}\",\n \"recorder_target\": \"{{data.recorder_target}}\",\n \"target_step_id\": \"{{lastId}}\",\n \"test_case_id\": \"{{lastId}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"test_environment_id\": \"{{lastId}}\",\n \"transaction_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing test_configuration_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:591" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /test-cases/:id/automation/recorder-session/:sessionId/finish", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/:id/automation/recorder-session/:sessionId/finish", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"created_by\": \"{{data.created_by}}\",\n \"engine_base_url\": \"{{data.engine_base_url}}\",\n \"integration_id\": \"{{lastId}}\",\n \"recorder_mode\": \"{{data.recorder_mode}}\",\n \"recorder_session_id\": \"{{lastId}}\",\n \"recorder_target\": \"{{data.recorder_target}}\",\n \"target_step_id\": \"{{lastId}}\",\n \"test_case_id\": \"{{lastId}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_environment_id\": \"{{lastId}}\",\n \"transaction_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing test_data_set_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:591" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /test-cases/:id/automation/recorder-session/:sessionId/finish", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/:id/automation/recorder-session/:sessionId/finish", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"created_by\": \"{{data.created_by}}\",\n \"engine_base_url\": \"{{data.engine_base_url}}\",\n \"integration_id\": \"{{lastId}}\",\n \"recorder_mode\": \"{{data.recorder_mode}}\",\n \"recorder_session_id\": \"{{lastId}}\",\n \"recorder_target\": \"{{data.recorder_target}}\",\n \"target_step_id\": \"{{lastId}}\",\n \"test_case_id\": \"{{lastId}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"transaction_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing test_environment_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:591" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /test-cases/:id/automation/recorder-session/:sessionId/finish", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/:id/automation/recorder-session/:sessionId/finish", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"created_by\": \"{{data.created_by}}\",\n \"engine_base_url\": \"{{data.engine_base_url}}\",\n \"integration_id\": \"{{lastId}}\",\n \"recorder_mode\": \"{{data.recorder_mode}}\",\n \"recorder_session_id\": \"{{lastId}}\",\n \"recorder_target\": \"{{data.recorder_target}}\",\n \"target_step_id\": \"{{lastId}}\",\n \"test_case_id\": \"{{lastId}}\",\n \"test_configuration_id\": \"{{lastId}}\",\n \"test_data_set_id\": \"{{lastId}}\",\n \"test_environment_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing transaction_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:591" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /test-cases/design-test-cases-preview", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/design-test-cases-preview", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"appType\": \"{{data.appType}}\",\n \"external_links\": \"{{data.external_links}}\",\n \"images\": \"{{data.images}}\",\n \"integration_id\": \"{{lastId}}\",\n \"max_cases\": \"{{data.max_cases}}\",\n \"requirement_ids\": \"{{data.requirement_ids}}\",\n \"requirements\": \"{{data.requirements}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing app_type_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:631" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /test-cases/design-test-cases-preview", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/design-test-cases-preview", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"appType\": \"{{data.appType}}\",\n \"app_type_id\": \"{{lastId}}\",\n \"external_links\": \"{{data.external_links}}\",\n \"images\": \"{{data.images}}\",\n \"max_cases\": \"{{data.max_cases}}\",\n \"requirement_ids\": \"{{data.requirement_ids}}\",\n \"requirements\": \"{{data.requirements}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing integration_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:631" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /test-cases/ai-authoring-preview", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/ai-authoring-preview", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"appType\": \"{{data.appType}}\",\n \"integration_id\": \"{{lastId}}\",\n \"requirement\": \"{{data.requirement}}\",\n \"requirement_id\": \"{{lastId}}\",\n \"test_case\": \"{{data.test_case}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing app_type_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:659" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /test-cases/ai-authoring-preview", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/ai-authoring-preview", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"appType\": \"{{data.appType}}\",\n \"app_type_id\": \"{{lastId}}\",\n \"requirement\": \"{{data.requirement}}\",\n \"requirement_id\": \"{{lastId}}\",\n \"test_case\": \"{{data.test_case}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing integration_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:659" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /test-cases/ai-authoring-preview", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/ai-authoring-preview", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"appType\": \"{{data.appType}}\",\n \"app_type_id\": \"{{lastId}}\",\n \"integration_id\": \"{{lastId}}\",\n \"requirement\": \"{{data.requirement}}\",\n \"test_case\": \"{{data.test_case}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing requirement_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:659" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /test-cases/ai-step-rephrase", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/ai-step-rephrase", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"appType\": \"{{data.appType}}\",\n \"integration_id\": \"{{lastId}}\",\n \"project_id\": \"{{lastId}}\",\n \"requirement\": \"{{data.requirement}}\",\n \"requirement_id\": \"{{lastId}}\",\n \"step\": \"{{data.step}}\",\n \"test_case\": \"{{data.test_case}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing app_type_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:683" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /test-cases/ai-step-rephrase", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/ai-step-rephrase", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"appType\": \"{{data.appType}}\",\n \"app_type_id\": \"{{lastId}}\",\n \"project_id\": \"{{lastId}}\",\n \"requirement\": \"{{data.requirement}}\",\n \"requirement_id\": \"{{lastId}}\",\n \"step\": \"{{data.step}}\",\n \"test_case\": \"{{data.test_case}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing integration_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:683" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /test-cases/ai-step-rephrase", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/ai-step-rephrase", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"appType\": \"{{data.appType}}\",\n \"app_type_id\": \"{{lastId}}\",\n \"integration_id\": \"{{lastId}}\",\n \"requirement\": \"{{data.requirement}}\",\n \"requirement_id\": \"{{lastId}}\",\n \"step\": \"{{data.step}}\",\n \"test_case\": \"{{data.test_case}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing project_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:683" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /test-cases/ai-step-rephrase", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/ai-step-rephrase", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"{{data.additional_context}}\",\n \"appType\": \"{{data.appType}}\",\n \"app_type_id\": \"{{lastId}}\",\n \"integration_id\": \"{{lastId}}\",\n \"project_id\": \"{{lastId}}\",\n \"requirement\": \"{{data.requirement}}\",\n \"step\": \"{{data.step}}\",\n \"test_case\": \"{{data.test_case}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing requirement_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:683" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /test-cases/design-test-cases-accept", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/design-test-cases-accept", + "body": { + "mode": "raw", + "raw": "{\n \"appType\": \"{{data.appType}}\",\n \"cases\": \"{{data.cases}}\",\n \"requirement_ids\": \"{{data.requirement_ids}}\",\n \"requirements\": \"{{data.requirements}}\",\n \"status\": \"{{data.status}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing app_type_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:715" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /test-cases/design-test-cases-accept", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/design-test-cases-accept", + "body": { + "mode": "raw", + "raw": "{\n \"appType\": \"{{data.appType}}\",\n \"app_type_id\": \"{{lastId}}\",\n \"cases\": \"{{data.cases}}\",\n \"requirement_ids\": \"{{data.requirement_ids}}\",\n \"requirements\": \"{{data.requirements}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing status', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:715" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /test-cases/ai-generation-jobs", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/ai-generation-jobs", + "body": { + "mode": "raw", + "raw": "{\n \"created_by\": \"{{data.created_by}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing app_type_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:756" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED PUT /test-cases/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/:id", + "body": { + "mode": "raw", + "raw": "{\n \"automated\": \"{{data.automated}}\",\n \"automation_status\": \"{{data.automation_status}}\",\n \"description\": \"{{data.description}}\",\n \"external_references\": \"{{data.external_references}}\",\n \"parameter_values\": \"{{data.parameter_values}}\",\n \"priority\": \"{{data.priority}}\",\n \"requirement_id\": \"{{lastId}}\",\n \"requirement_ids\": \"{{data.requirement_ids}}\",\n \"steps\": \"{{data.steps}}\",\n \"suite_id\": \"{{lastId}}\",\n \"suite_ids\": \"{{data.suite_ids}}\",\n \"title\": \"{{data.title}}\",\n \"updated_by\": \"{{data.updated_by}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing app_type_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:782" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED PUT /test-cases/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/:id", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"automated\": \"{{data.automated}}\",\n \"automation_status\": \"{{data.automation_status}}\",\n \"description\": \"{{data.description}}\",\n \"external_references\": \"{{data.external_references}}\",\n \"parameter_values\": \"{{data.parameter_values}}\",\n \"priority\": \"{{data.priority}}\",\n \"requirement_ids\": \"{{data.requirement_ids}}\",\n \"steps\": \"{{data.steps}}\",\n \"suite_id\": \"{{lastId}}\",\n \"suite_ids\": \"{{data.suite_ids}}\",\n \"title\": \"{{data.title}}\",\n \"updated_by\": \"{{data.updated_by}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing requirement_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:782" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED PUT /test-cases/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/:id", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"automated\": \"{{data.automated}}\",\n \"automation_status\": \"{{data.automation_status}}\",\n \"description\": \"{{data.description}}\",\n \"external_references\": \"{{data.external_references}}\",\n \"parameter_values\": \"{{data.parameter_values}}\",\n \"priority\": \"{{data.priority}}\",\n \"requirement_id\": \"{{lastId}}\",\n \"requirement_ids\": \"{{data.requirement_ids}}\",\n \"steps\": \"{{data.steps}}\",\n \"suite_ids\": \"{{data.suite_ids}}\",\n \"title\": \"{{data.title}}\",\n \"updated_by\": \"{{data.updated_by}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing suite_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:782" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED PUT /test-cases/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/:id", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"automated\": \"{{data.automated}}\",\n \"automation_status\": \"{{data.automation_status}}\",\n \"description\": \"{{data.description}}\",\n \"external_references\": \"{{data.external_references}}\",\n \"parameter_values\": \"{{data.parameter_values}}\",\n \"priority\": \"{{data.priority}}\",\n \"requirement_id\": \"{{lastId}}\",\n \"requirement_ids\": \"{{data.requirement_ids}}\",\n \"steps\": \"{{data.steps}}\",\n \"suite_id\": \"{{lastId}}\",\n \"suite_ids\": \"{{data.suite_ids}}\",\n \"updated_by\": \"{{data.updated_by}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing title', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:782" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /test-configurations", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-configurations", + "body": { + "mode": "raw", + "raw": "{\n \"browser\": \"{{data.browser}}\",\n \"description\": \"{{data.description}}\",\n \"mobile_os\": \"{{data.mobile_os}}\",\n \"name\": \"{{data.name}}\",\n \"platform_version\": \"{{data.platform_version}}\",\n \"project_id\": \"{{lastId}}\",\n \"variables\": \"{{data.variables}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing app_type_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testConfigurations.routes.js:6" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /test-configurations", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-configurations", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"browser\": \"{{data.browser}}\",\n \"description\": \"{{data.description}}\",\n \"mobile_os\": \"{{data.mobile_os}}\",\n \"platform_version\": \"{{data.platform_version}}\",\n \"project_id\": \"{{lastId}}\",\n \"variables\": \"{{data.variables}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing name', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testConfigurations.routes.js:6" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /test-configurations", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-configurations", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"browser\": \"{{data.browser}}\",\n \"description\": \"{{data.description}}\",\n \"mobile_os\": \"{{data.mobile_os}}\",\n \"name\": \"{{data.name}}\",\n \"platform_version\": \"{{data.platform_version}}\",\n \"variables\": \"{{data.variables}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing project_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testConfigurations.routes.js:6" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED PUT /test-configurations/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-configurations/:id", + "body": { + "mode": "raw", + "raw": "{\n \"browser\": \"{{data.browser}}\",\n \"description\": \"{{data.description}}\",\n \"mobile_os\": \"{{data.mobile_os}}\",\n \"name\": \"{{data.name}}\",\n \"platform_version\": \"{{data.platform_version}}\",\n \"project_id\": \"{{lastId}}\",\n \"variables\": \"{{data.variables}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing app_type_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testConfigurations.routes.js:54" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED PUT /test-configurations/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-configurations/:id", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"browser\": \"{{data.browser}}\",\n \"description\": \"{{data.description}}\",\n \"mobile_os\": \"{{data.mobile_os}}\",\n \"platform_version\": \"{{data.platform_version}}\",\n \"project_id\": \"{{lastId}}\",\n \"variables\": \"{{data.variables}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing name', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testConfigurations.routes.js:54" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED PUT /test-configurations/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-configurations/:id", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"browser\": \"{{data.browser}}\",\n \"description\": \"{{data.description}}\",\n \"mobile_os\": \"{{data.mobile_os}}\",\n \"name\": \"{{data.name}}\",\n \"platform_version\": \"{{data.platform_version}}\",\n \"variables\": \"{{data.variables}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing project_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testConfigurations.routes.js:54" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /test-data-sets", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-data-sets", + "body": { + "mode": "raw", + "raw": "{\n \"columns\": \"{{data.columns}}\",\n \"description\": \"{{data.description}}\",\n \"mode\": \"{{data.mode}}\",\n \"name\": \"{{data.name}}\",\n \"project_id\": \"{{lastId}}\",\n \"rows\": \"{{data.rows}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing app_type_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testDataSets.routes.js:7" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /test-data-sets", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-data-sets", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"columns\": \"{{data.columns}}\",\n \"description\": \"{{data.description}}\",\n \"mode\": \"{{data.mode}}\",\n \"project_id\": \"{{lastId}}\",\n \"rows\": \"{{data.rows}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing name', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testDataSets.routes.js:7" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /test-data-sets", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-data-sets", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"columns\": \"{{data.columns}}\",\n \"description\": \"{{data.description}}\",\n \"mode\": \"{{data.mode}}\",\n \"name\": \"{{data.name}}\",\n \"rows\": \"{{data.rows}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing project_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testDataSets.routes.js:7" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED PUT /test-data-sets/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-data-sets/:id", + "body": { + "mode": "raw", + "raw": "{\n \"columns\": \"{{data.columns}}\",\n \"description\": \"{{data.description}}\",\n \"mode\": \"{{data.mode}}\",\n \"name\": \"{{data.name}}\",\n \"project_id\": \"{{lastId}}\",\n \"rows\": \"{{data.rows}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing app_type_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testDataSets.routes.js:54" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED PUT /test-data-sets/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-data-sets/:id", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"columns\": \"{{data.columns}}\",\n \"description\": \"{{data.description}}\",\n \"mode\": \"{{data.mode}}\",\n \"project_id\": \"{{lastId}}\",\n \"rows\": \"{{data.rows}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing name', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testDataSets.routes.js:54" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED PUT /test-data-sets/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-data-sets/:id", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"columns\": \"{{data.columns}}\",\n \"description\": \"{{data.description}}\",\n \"mode\": \"{{data.mode}}\",\n \"name\": \"{{data.name}}\",\n \"rows\": \"{{data.rows}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing project_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testDataSets.routes.js:54" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /api/testengine/callbacks/runs", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/api/testengine/callbacks/runs", + "body": { + "mode": "raw", + "raw": "{\n \"artifact_bundle\": \"{{data.artifact_bundle}}\",\n \"case_result\": \"{{data.case_result}}\",\n \"deterministic_attempted\": \"{{data.deterministic_attempted}}\",\n \"emitted_at\": \"{{data.emitted_at}}\",\n \"event\": \"{{data.event}}\",\n \"healing_attempted\": \"{{data.healing_attempted}}\",\n \"healing_succeeded\": \"{{data.healing_succeeded}}\",\n \"patch_proposals\": \"{{data.patch_proposals}}\",\n \"payload\": \"{{data.payload}}\",\n \"qaira_execution_id\": \"{{lastId}}\",\n \"qaira_run_id\": \"{{lastId}}\",\n \"qaira_test_case_id\": \"{{lastId}}\",\n \"rawPayload\": \"{{data.rawPayload}}\",\n \"state\": \"{{data.state}}\",\n \"step_outcomes\": \"{{data.step_outcomes}}\",\n \"summary\": \"{{data.summary}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing engine_run_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testEngineCallbacks.routes.js:20" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /api/testengine/callbacks/runs", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/api/testengine/callbacks/runs", + "body": { + "mode": "raw", + "raw": "{\n \"artifact_bundle\": \"{{data.artifact_bundle}}\",\n \"case_result\": \"{{data.case_result}}\",\n \"deterministic_attempted\": \"{{data.deterministic_attempted}}\",\n \"emitted_at\": \"{{data.emitted_at}}\",\n \"engine_run_id\": \"{{lastId}}\",\n \"event\": \"{{data.event}}\",\n \"healing_attempted\": \"{{data.healing_attempted}}\",\n \"healing_succeeded\": \"{{data.healing_succeeded}}\",\n \"patch_proposals\": \"{{data.patch_proposals}}\",\n \"payload\": \"{{data.payload}}\",\n \"qaira_run_id\": \"{{lastId}}\",\n \"qaira_test_case_id\": \"{{lastId}}\",\n \"rawPayload\": \"{{data.rawPayload}}\",\n \"state\": \"{{data.state}}\",\n \"step_outcomes\": \"{{data.step_outcomes}}\",\n \"summary\": \"{{data.summary}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing qaira_execution_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testEngineCallbacks.routes.js:20" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /api/testengine/callbacks/runs", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/api/testengine/callbacks/runs", + "body": { + "mode": "raw", + "raw": "{\n \"artifact_bundle\": \"{{data.artifact_bundle}}\",\n \"case_result\": \"{{data.case_result}}\",\n \"deterministic_attempted\": \"{{data.deterministic_attempted}}\",\n \"emitted_at\": \"{{data.emitted_at}}\",\n \"engine_run_id\": \"{{lastId}}\",\n \"event\": \"{{data.event}}\",\n \"healing_attempted\": \"{{data.healing_attempted}}\",\n \"healing_succeeded\": \"{{data.healing_succeeded}}\",\n \"patch_proposals\": \"{{data.patch_proposals}}\",\n \"payload\": \"{{data.payload}}\",\n \"qaira_execution_id\": \"{{lastId}}\",\n \"qaira_test_case_id\": \"{{lastId}}\",\n \"rawPayload\": \"{{data.rawPayload}}\",\n \"state\": \"{{data.state}}\",\n \"step_outcomes\": \"{{data.step_outcomes}}\",\n \"summary\": \"{{data.summary}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing qaira_run_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testEngineCallbacks.routes.js:20" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /api/testengine/callbacks/runs", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/api/testengine/callbacks/runs", + "body": { + "mode": "raw", + "raw": "{\n \"artifact_bundle\": \"{{data.artifact_bundle}}\",\n \"case_result\": \"{{data.case_result}}\",\n \"deterministic_attempted\": \"{{data.deterministic_attempted}}\",\n \"emitted_at\": \"{{data.emitted_at}}\",\n \"engine_run_id\": \"{{lastId}}\",\n \"event\": \"{{data.event}}\",\n \"healing_attempted\": \"{{data.healing_attempted}}\",\n \"healing_succeeded\": \"{{data.healing_succeeded}}\",\n \"patch_proposals\": \"{{data.patch_proposals}}\",\n \"payload\": \"{{data.payload}}\",\n \"qaira_execution_id\": \"{{lastId}}\",\n \"qaira_run_id\": \"{{lastId}}\",\n \"rawPayload\": \"{{data.rawPayload}}\",\n \"state\": \"{{data.state}}\",\n \"step_outcomes\": \"{{data.step_outcomes}}\",\n \"summary\": \"{{data.summary}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing qaira_test_case_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testEngineCallbacks.routes.js:20" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /testengine/internal/jobs/:id/start", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/testengine/internal/jobs/:id/start", + "body": { + "mode": "raw", + "raw": "{\n \"worker_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing job_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testEngineInternal.routes.js:28" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /testengine/internal/jobs/:id/start", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/testengine/internal/jobs/:id/start", + "body": { + "mode": "raw", + "raw": "{\n \"job_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing worker_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testEngineInternal.routes.js:28" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /testengine/internal/jobs/:id/steps/:stepId/execute", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/testengine/internal/jobs/:id/steps/:stepId/execute", + "body": { + "mode": "raw", + "raw": "{\n \"step_id\": \"{{lastId}}\",\n \"steps\": \"{{data.steps}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing job_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testEngineInternal.routes.js:41" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /testengine/internal/jobs/:id/steps/:stepId/execute", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/testengine/internal/jobs/:id/steps/:stepId/execute", + "body": { + "mode": "raw", + "raw": "{\n \"job_id\": \"{{lastId}}\",\n \"steps\": \"{{data.steps}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing step_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testEngineInternal.routes.js:41" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /testengine/internal/jobs/:id/steps/:stepId/report", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/testengine/internal/jobs/:id/steps/:stepId/report", + "body": { + "mode": "raw", + "raw": "{\n \"api_detail\": \"{{data.api_detail}}\",\n \"automation_detail\": \"{{data.automation_detail}}\",\n \"captures\": \"{{data.captures}}\",\n \"evidence\": \"{{data.evidence}}\",\n \"note\": \"{{data.note}}\",\n \"recovery_attempted\": \"{{data.recovery_attempted}}\",\n \"recovery_succeeded\": \"{{data.recovery_succeeded}}\",\n \"step_id\": \"{{lastId}}\",\n \"steps\": \"{{data.steps}}\",\n \"web_detail\": \"{{data.web_detail}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing job_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testEngineInternal.routes.js:50" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /testengine/internal/jobs/:id/steps/:stepId/report", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/testengine/internal/jobs/:id/steps/:stepId/report", + "body": { + "mode": "raw", + "raw": "{\n \"api_detail\": \"{{data.api_detail}}\",\n \"automation_detail\": \"{{data.automation_detail}}\",\n \"captures\": \"{{data.captures}}\",\n \"evidence\": \"{{data.evidence}}\",\n \"job_id\": \"{{lastId}}\",\n \"note\": \"{{data.note}}\",\n \"recovery_attempted\": \"{{data.recovery_attempted}}\",\n \"recovery_succeeded\": \"{{data.recovery_succeeded}}\",\n \"steps\": \"{{data.steps}}\",\n \"web_detail\": \"{{data.web_detail}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing step_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testEngineInternal.routes.js:50" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /testengine/internal/jobs/:id/complete", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/testengine/internal/jobs/:id/complete", + "body": { + "mode": "raw", + "raw": "{\n \"artifact_bundle\": \"{{data.artifact_bundle}}\",\n \"deterministic_attempted\": \"{{data.deterministic_attempted}}\",\n \"error\": \"{{data.error}}\",\n \"healing_attempted\": \"{{data.healing_attempted}}\",\n \"healing_succeeded\": \"{{data.healing_succeeded}}\",\n \"patch_proposals\": \"{{data.patch_proposals}}\",\n \"steps\": \"{{data.steps}}\",\n \"summary\": \"{{data.summary}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing job_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testEngineInternal.routes.js:80" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /testengine/internal/jobs/:id/fail", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/testengine/internal/jobs/:id/fail", + "body": { + "mode": "raw", + "raw": "{\n \"message\": \"{{data.message}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing job_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testEngineInternal.routes.js:107" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /test-environments", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-environments", + "body": { + "mode": "raw", + "raw": "{\n \"base_url\": \"{{data.base_url}}\",\n \"browser\": \"{{data.browser}}\",\n \"description\": \"{{data.description}}\",\n \"name\": \"{{data.name}}\",\n \"notes\": \"{{data.notes}}\",\n \"project_id\": \"{{lastId}}\",\n \"variables\": \"{{data.variables}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing app_type_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testEnvironments.routes.js:6" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /test-environments", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-environments", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"base_url\": \"{{data.base_url}}\",\n \"browser\": \"{{data.browser}}\",\n \"description\": \"{{data.description}}\",\n \"notes\": \"{{data.notes}}\",\n \"project_id\": \"{{lastId}}\",\n \"variables\": \"{{data.variables}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing name', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testEnvironments.routes.js:6" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /test-environments", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-environments", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"base_url\": \"{{data.base_url}}\",\n \"browser\": \"{{data.browser}}\",\n \"description\": \"{{data.description}}\",\n \"name\": \"{{data.name}}\",\n \"notes\": \"{{data.notes}}\",\n \"variables\": \"{{data.variables}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing project_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testEnvironments.routes.js:6" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED PUT /test-environments/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-environments/:id", + "body": { + "mode": "raw", + "raw": "{\n \"base_url\": \"{{data.base_url}}\",\n \"browser\": \"{{data.browser}}\",\n \"description\": \"{{data.description}}\",\n \"name\": \"{{data.name}}\",\n \"notes\": \"{{data.notes}}\",\n \"project_id\": \"{{lastId}}\",\n \"variables\": \"{{data.variables}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing app_type_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testEnvironments.routes.js:54" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED PUT /test-environments/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-environments/:id", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"base_url\": \"{{data.base_url}}\",\n \"browser\": \"{{data.browser}}\",\n \"description\": \"{{data.description}}\",\n \"notes\": \"{{data.notes}}\",\n \"project_id\": \"{{lastId}}\",\n \"variables\": \"{{data.variables}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing name', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testEnvironments.routes.js:54" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED PUT /test-environments/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-environments/:id", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"base_url\": \"{{data.base_url}}\",\n \"browser\": \"{{data.browser}}\",\n \"description\": \"{{data.description}}\",\n \"name\": \"{{data.name}}\",\n \"notes\": \"{{data.notes}}\",\n \"variables\": \"{{data.variables}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing project_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testEnvironments.routes.js:54" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED PUT /test-steps/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-steps/:id", + "body": { + "mode": "raw", + "raw": "{\n \"action\": \"{{data.action}}\",\n \"api_request\": \"{{data.api_request}}\",\n \"automation_code\": \"{{data.automation_code}}\",\n \"expected_result\": \"{{data.expected_result}}\",\n \"group_kind\": \"{{data.group_kind}}\",\n \"group_name\": \"{{data.group_name}}\",\n \"reusable_group_id\": \"{{lastId}}\",\n \"step_order\": \"{{data.step_order}}\",\n \"step_type\": \"{{data.step_type}}\",\n \"test_case_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing group_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testSteps.routes.js:44" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED PUT /test-steps/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-steps/:id", + "body": { + "mode": "raw", + "raw": "{\n \"action\": \"{{data.action}}\",\n \"api_request\": \"{{data.api_request}}\",\n \"automation_code\": \"{{data.automation_code}}\",\n \"expected_result\": \"{{data.expected_result}}\",\n \"group_id\": \"{{lastId}}\",\n \"group_kind\": \"{{data.group_kind}}\",\n \"group_name\": \"{{data.group_name}}\",\n \"step_order\": \"{{data.step_order}}\",\n \"step_type\": \"{{data.step_type}}\",\n \"test_case_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing reusable_group_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testSteps.routes.js:44" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED PUT /test-steps/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-steps/:id", + "body": { + "mode": "raw", + "raw": "{\n \"action\": \"{{data.action}}\",\n \"api_request\": \"{{data.api_request}}\",\n \"automation_code\": \"{{data.automation_code}}\",\n \"expected_result\": \"{{data.expected_result}}\",\n \"group_id\": \"{{lastId}}\",\n \"group_kind\": \"{{data.group_kind}}\",\n \"group_name\": \"{{data.group_name}}\",\n \"reusable_group_id\": \"{{lastId}}\",\n \"step_order\": \"{{data.step_order}}\",\n \"step_type\": \"{{data.step_type}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing test_case_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testSteps.routes.js:44" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED PUT /test-steps/reorder", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-steps/reorder", + "body": { + "mode": "raw", + "raw": "{\n \"entries\": \"{{data.entries}}\",\n \"indexOf\": \"{{data.indexOf}}\",\n \"step_ids\": \"{{data.step_ids}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing test_case_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testSteps.routes.js:118" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /test-suites", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-suites", + "body": { + "mode": "raw", + "raw": "{\n \"created_by\": \"{{data.created_by}}\",\n \"display_id\": \"{{lastId}}\",\n \"name\": \"{{data.name}}\",\n \"parallel_count\": 1,\n \"parallel_enabled\": \"{{data.parallel_enabled}}\",\n \"parameter_values\": \"{{data.parameter_values}}\",\n \"parent_id\": \"{{lastId}}\",\n \"updated_at\": \"{{data.updated_at}}\",\n \"updated_by\": \"{{data.updated_by}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing app_type_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testSuites.routes.js:6" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /test-suites", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-suites", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"created_by\": \"{{data.created_by}}\",\n \"name\": \"{{data.name}}\",\n \"parallel_count\": 1,\n \"parallel_enabled\": \"{{data.parallel_enabled}}\",\n \"parameter_values\": \"{{data.parameter_values}}\",\n \"parent_id\": \"{{lastId}}\",\n \"updated_at\": \"{{data.updated_at}}\",\n \"updated_by\": \"{{data.updated_by}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing display_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testSuites.routes.js:6" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /test-suites", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-suites", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"created_by\": \"{{data.created_by}}\",\n \"display_id\": \"{{lastId}}\",\n \"parallel_count\": 1,\n \"parallel_enabled\": \"{{data.parallel_enabled}}\",\n \"parameter_values\": \"{{data.parameter_values}}\",\n \"parent_id\": \"{{lastId}}\",\n \"updated_at\": \"{{data.updated_at}}\",\n \"updated_by\": \"{{data.updated_by}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing name', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testSuites.routes.js:6" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /test-suites", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-suites", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"{{lastId}}\",\n \"created_by\": \"{{data.created_by}}\",\n \"display_id\": \"{{lastId}}\",\n \"name\": \"{{data.name}}\",\n \"parallel_count\": 1,\n \"parallel_enabled\": \"{{data.parallel_enabled}}\",\n \"parameter_values\": \"{{data.parameter_values}}\",\n \"updated_at\": \"{{data.updated_at}}\",\n \"updated_by\": \"{{data.updated_by}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing parent_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testSuites.routes.js:6" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED PUT /test-suites/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-suites/:id", + "body": { + "mode": "raw", + "raw": "{\n \"parallel_count\": 1,\n \"parallel_enabled\": \"{{data.parallel_enabled}}\",\n \"parameter_values\": \"{{data.parameter_values}}\",\n \"parent_id\": \"{{lastId}}\",\n \"updated_at\": \"{{data.updated_at}}\",\n \"updated_by\": \"{{data.updated_by}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing name', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testSuites.routes.js:49" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED PUT /test-suites/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-suites/:id", + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"{{data.name}}\",\n \"parallel_count\": 1,\n \"parallel_enabled\": \"{{data.parallel_enabled}}\",\n \"parameter_values\": \"{{data.parameter_values}}\",\n \"updated_at\": \"{{data.updated_at}}\",\n \"updated_by\": \"{{data.updated_by}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing parent_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testSuites.routes.js:49" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /users", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/users", + "body": { + "mode": "raw", + "raw": "{\n \"is_workspace_admin\": true,\n \"name\": \"{{data.name}}\",\n \"password\": \"{{data.password}}\",\n \"password_hash\": \"{{data.password}}\",\n \"project_id\": \"{{lastId}}\",\n \"role_id\": \"{{lastId}}\",\n \"user_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing email', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/users.js:12" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /users", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/users", + "body": { + "mode": "raw", + "raw": "{\n \"email\": \"{{data.email}}\",\n \"is_workspace_admin\": true,\n \"password\": \"{{data.password}}\",\n \"password_hash\": \"{{data.password}}\",\n \"project_id\": \"{{lastId}}\",\n \"role_id\": \"{{lastId}}\",\n \"user_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing name', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/users.js:12" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /users", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/users", + "body": { + "mode": "raw", + "raw": "{\n \"email\": \"{{data.email}}\",\n \"is_workspace_admin\": true,\n \"name\": \"{{data.name}}\",\n \"password_hash\": \"{{data.password}}\",\n \"project_id\": \"{{lastId}}\",\n \"role_id\": \"{{lastId}}\",\n \"user_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing password', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/users.js:12" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /users", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/users", + "body": { + "mode": "raw", + "raw": "{\n \"email\": \"{{data.email}}\",\n \"is_workspace_admin\": true,\n \"name\": \"{{data.name}}\",\n \"password\": \"{{data.password}}\",\n \"password_hash\": \"{{data.password}}\",\n \"role_id\": \"{{lastId}}\",\n \"user_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing project_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/users.js:12" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /users", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/users", + "body": { + "mode": "raw", + "raw": "{\n \"email\": \"{{data.email}}\",\n \"is_workspace_admin\": true,\n \"name\": \"{{data.name}}\",\n \"password\": \"{{data.password}}\",\n \"password_hash\": \"{{data.password}}\",\n \"project_id\": \"{{lastId}}\",\n \"user_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing role_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/users.js:12" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /users", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/users", + "body": { + "mode": "raw", + "raw": "{\n \"email\": \"{{data.email}}\",\n \"is_workspace_admin\": true,\n \"name\": \"{{data.name}}\",\n \"password\": \"{{data.password}}\",\n \"password_hash\": \"{{data.password}}\",\n \"project_id\": \"{{lastId}}\",\n \"role_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing user_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/users.js:12" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED PUT /users/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/users/:id", + "body": { + "mode": "raw", + "raw": "{\n \"avatar_data_url\": \"{{data.avatar_data_url}}\",\n \"is_workspace_admin\": true,\n \"name\": \"{{data.name}}\",\n \"password\": \"{{data.password}}\",\n \"password_hash\": \"{{data.password}}\",\n \"role_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing email', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/users.js:52" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED PUT /users/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/users/:id", + "body": { + "mode": "raw", + "raw": "{\n \"avatar_data_url\": \"{{data.avatar_data_url}}\",\n \"email\": \"{{data.email}}\",\n \"is_workspace_admin\": true,\n \"password\": \"{{data.password}}\",\n \"password_hash\": \"{{data.password}}\",\n \"role_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing name', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/users.js:52" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED PUT /users/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/users/:id", + "body": { + "mode": "raw", + "raw": "{\n \"avatar_data_url\": \"{{data.avatar_data_url}}\",\n \"email\": \"{{data.email}}\",\n \"is_workspace_admin\": true,\n \"name\": \"{{data.name}}\",\n \"password_hash\": \"{{data.password}}\",\n \"role_id\": \"{{lastId}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing password', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/users.js:52" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED PUT /users/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/users/:id", + "body": { + "mode": "raw", + "raw": "{\n \"avatar_data_url\": \"{{data.avatar_data_url}}\",\n \"email\": \"{{data.email}}\",\n \"is_workspace_admin\": true,\n \"name\": \"{{data.name}}\",\n \"password\": \"{{data.password}}\",\n \"password_hash\": \"{{data.password}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing role_id', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/users.js:52" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /api/v1/mobile/recorder/sessions/:id/input", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/api/v1/mobile/recorder/sessions/:id/input", + "body": { + "mode": "raw", + "raw": "{\n \"height\": \"{{data.height}}\",\n \"value\": \"{{data.value}}\",\n \"width\": \"{{data.width}}\",\n \"x\": \"{{data.x}}\",\n \"y\": \"{{data.y}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing type', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: local-run/mobile-engine/src/server.js:555" + }, + { + "name": "NEGATIVE_MISSING_REQUIRED POST /api/v1/recorder/sessions", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/api/v1/recorder/sessions", + "body": { + "mode": "raw", + "raw": "{\n \"locator\": \"{{data.locator}}\",\n \"source\": \"{{data.source}}\",\n \"text\": \"{{data.text}}\",\n \"timestamp\": \"{{data.timestamp}}\",\n \"url\": \"{{data.url}}\",\n \"value\": \"{{data.value}}\",\n \"x\": \"{{data.x}}\",\n \"y\": \"{{data.y}}\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for negative_missing_required', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });", + "pm.test('validation should complain about missing type', function () { pm.expect(pm.response.code).to.be.oneOf([400,422]); });" + ] + } + } + ], + "description": "Source: testengine/backend/src/lib/recorder.ts:2188" + } + ], + "edgeTests": [ + { + "name": "EDGE_EMPTY_VALUES POST /projects/:project_id/knowledge", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/projects/:project_id/knowledge", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"\",\n \"asset_type\": \"\",\n \"content\": \"\",\n \"content_type\": \"\",\n \"description\": \"\",\n \"embedding\": \"\",\n \"feature_name\": \"\",\n \"is_active\": false,\n \"item_status\": \"\",\n \"item_version\": \"\",\n \"linked_test_cases\": \"\",\n \"metadata\": \"\",\n \"module_name\": \"\",\n \"priority\": \"\",\n \"source\": \"\",\n \"source_uri\": \"\",\n \"title\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/aiKnowledge.routes.js:12" + }, + { + "name": "EDGE_EMPTY_VALUES PUT /projects/:project_id/knowledge/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/projects/:project_id/knowledge/:id", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"\",\n \"asset_type\": \"\",\n \"content\": \"\",\n \"content_type\": \"\",\n \"description\": \"\",\n \"embedding\": \"\",\n \"feature_name\": \"\",\n \"is_active\": false,\n \"item_status\": \"\",\n \"item_version\": \"\",\n \"linked_test_cases\": \"\",\n \"metadata\": \"\",\n \"module_name\": \"\",\n \"priority\": \"\",\n \"source\": \"\",\n \"source_uri\": \"\",\n \"title\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/aiKnowledge.routes.js:19" + }, + { + "name": "EDGE_EMPTY_VALUES POST /projects/:project_id/knowledge/relations", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/projects/:project_id/knowledge/relations", + "body": { + "mode": "raw", + "raw": "{\n \"metadata\": \"\",\n \"relation_type\": \"\",\n \"source_id\": \"\",\n \"source_type\": \"\",\n \"target_id\": \"\",\n \"target_type\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/aiKnowledge.routes.js:60" + }, + { + "name": "EDGE_EMPTY_VALUES POST /ai-prompt-templates", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/ai-prompt-templates", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"\",\n \"created_by\": \"\",\n \"project_id\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/aiPromptTemplates.routes.js:43" + }, + { + "name": "EDGE_EMPTY_VALUES PUT /ai-prompt-templates/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/ai-prompt-templates/:id", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/aiPromptTemplates.routes.js:71" + }, + { + "name": "EDGE_EMPTY_VALUES POST /app-types", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/app-types", + "body": { + "mode": "raw", + "raw": "{\n \"is_unified\": false,\n \"name\": \"\",\n \"project_id\": \"\",\n \"type\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/appTypes.routes.js:8" + }, + { + "name": "EDGE_EMPTY_VALUES PUT /app-types/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/app-types/:id", + "body": { + "mode": "raw", + "raw": "{\n \"is_unified\": false,\n \"name\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/appTypes.routes.js:50" + }, + { + "name": "EDGE_EMPTY_VALUES POST /automation-generator/internal/jobs/:id/run", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/automation-generator/internal/jobs/:id/run", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"\",\n \"agent_plan\": \"\",\n \"integration_id\": \"\",\n \"job_id\": \"\",\n \"llm_model\": \"\",\n \"start_url\": \"\",\n \"test_case_id\": \"\",\n \"test_configuration_id\": \"\",\n \"test_data_set_id\": \"\",\n \"test_environment_id\": \"\",\n \"title\": \"\",\n \"worker_id\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/automationGenerator.routes.js:21" + }, + { + "name": "EDGE_EMPTY_VALUES POST /api/engine/runs/claim", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/api/engine/runs/claim", + "body": { + "mode": "raw", + "raw": "{\n \"engine_id\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/engine.routes.js:4" + }, + { + "name": "EDGE_EMPTY_VALUES POST /api/engine/runs/:runId/heartbeat", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/api/engine/runs/:runId/heartbeat", + "body": { + "mode": "raw", + "raw": "{\n \"engine_id\": \"\",\n \"heartbeat_at\": \"\",\n \"leased_by\": \"\",\n \"updated_at\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/engine.routes.js:25" + }, + { + "name": "EDGE_EMPTY_VALUES POST /execution-results", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/execution-results", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"\",\n \"defects\": \"\",\n \"duration_ms\": \"\",\n \"error\": \"\",\n \"executed_by\": \"\",\n \"execution_id\": \"\",\n \"external_references\": \"\",\n \"logs\": \"\",\n \"status\": \"\",\n \"suite_id\": \"\",\n \"suite_name\": \"\",\n \"test_case_id\": \"\",\n \"test_case_title\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executionResults.routes.js:7" + }, + { + "name": "EDGE_EMPTY_VALUES PUT /execution-results/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/execution-results/:id", + "body": { + "mode": "raw", + "raw": "{\n \"defects\": \"\",\n \"duration_ms\": \"\",\n \"error\": \"\",\n \"executed_by\": \"\",\n \"external_references\": \"\",\n \"logs\": \"\",\n \"status\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executionResults.routes.js:49" + }, + { + "name": "EDGE_EMPTY_VALUES POST /execution-schedules", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/execution-schedules", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"\",\n \"assigned_to\": \"\",\n \"cadence\": \"\",\n \"created_by\": \"\",\n \"is_active\": false,\n \"name\": \"\",\n \"next_run_at\": \"\",\n \"project_id\": \"\",\n \"suite_ids\": \"\",\n \"test_case_ids\": \"\",\n \"test_configuration_id\": \"\",\n \"test_data_set_id\": \"\",\n \"test_environment_id\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executionSchedules.routes.js:5" + }, + { + "name": "EDGE_EMPTY_VALUES PUT /execution-schedules/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/execution-schedules/:id", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"\",\n \"assigned_to\": \"\",\n \"cadence\": \"\",\n \"name\": \"\",\n \"next_run_at\": \"\",\n \"project_id\": \"\",\n \"suite_ids\": \"\",\n \"test_case_ids\": \"\",\n \"test_configuration_id\": \"\",\n \"test_data_set_id\": \"\",\n \"test_environment_id\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executionSchedules.routes.js:51" + }, + { + "name": "EDGE_EMPTY_VALUES POST /executions/smart-plan-preview", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions/smart-plan-preview", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"\",\n \"appType\": \"\",\n \"app_type_id\": \"\",\n \"cases\": \"\",\n \"impacted_requirement_ids\": \"\",\n \"integration_id\": \"\",\n \"project_id\": \"\",\n \"release_scope\": \"\",\n \"testCases\": \"\",\n \"test_cases\": \"\",\n \"test_configuration_id\": \"\",\n \"test_data_set_id\": \"\",\n \"test_environment_id\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:11" + }, + { + "name": "EDGE_EMPTY_VALUES POST /executions/manual-run-suggestion", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions/manual-run-suggestion", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"\",\n \"app_type_id\": \"\",\n \"integration_id\": \"\",\n \"project_id\": \"\",\n \"selected_suite_ids\": \"\",\n \"test_configuration_id\": \"\",\n \"test_data_set_id\": \"\",\n \"test_environment_id\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:46" + }, + { + "name": "EDGE_EMPTY_VALUES POST /executions", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"\",\n \"assigned_to\": \"\",\n \"created_by\": \"\",\n \"execution_hooks\": \"\",\n \"name\": \"\",\n \"parallel_count\": 0,\n \"parallel_enabled\": \"\",\n \"project_id\": \"\",\n \"status\": \"\",\n \"test_configuration_id\": \"\",\n \"test_configuration_name\": \"\",\n \"test_configuration_snapshot\": \"\",\n \"test_data_set_id\": \"\",\n \"test_data_set_name\": \"\",\n \"test_data_set_snapshot\": \"\",\n \"test_environment_id\": \"\",\n \"test_environment_name\": \"\",\n \"test_environment_snapshot\": \"\",\n \"trigger\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:80" + }, + { + "name": "EDGE_EMPTY_VALUES POST /executions/local-run", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions/local-run", + "body": { + "mode": "raw", + "raw": "{\n \"created_by\": \"\",\n \"ended_at\": \"\",\n \"engine_base_url\": \"\",\n \"name\": \"\",\n \"project_id\": \"\",\n \"status\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:107" + }, + { + "name": "EDGE_EMPTY_VALUES PUT /executions/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions/:id", + "body": { + "mode": "raw", + "raw": "{\n \"assigned_to\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:165" + }, + { + "name": "EDGE_EMPTY_VALUES PUT /executions/:id/cases/:testCaseId/assignment", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions/:id/cases/:testCaseId/assignment", + "body": { + "mode": "raw", + "raw": "{\n \"assigned_to\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:178" + }, + { + "name": "EDGE_EMPTY_VALUES POST /executions/:id/rerun", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions/:id/rerun", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"\",\n \"assigned_to\": \"\",\n \"created_by\": \"\",\n \"name\": \"\",\n \"project_id\": \"\",\n \"status\": \"\",\n \"test_configuration_id\": \"\",\n \"test_configuration_name\": \"\",\n \"test_configuration_snapshot\": \"\",\n \"test_data_set_id\": \"\",\n \"test_data_set_name\": \"\",\n \"test_data_set_snapshot\": \"\",\n \"test_environment_id\": \"\",\n \"test_environment_name\": \"\",\n \"test_environment_snapshot\": \"\",\n \"trigger\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:191" + }, + { + "name": "EDGE_EMPTY_VALUES POST /executions/:id/start", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions/:id/start", + "body": { + "mode": "raw", + "raw": "{\n \"engine_base_url\": \"\",\n \"execution_mode\": \"\",\n \"initiated_by\": \"\",\n \"skip_testengine_dispatch\": \"\",\n \"started_at\": \"\",\n \"status\": \"\",\n \"trigger\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:208" + }, + { + "name": "EDGE_EMPTY_VALUES POST /executions/:id/cases/:testCaseId/steps/:stepId/run", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions/:id/cases/:testCaseId/steps/:stepId/run", + "body": { + "mode": "raw", + "raw": "{\n \"executed_by\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:220" + }, + { + "name": "EDGE_EMPTY_VALUES POST /executions/:id/cases/:testCaseId/ai-analysis", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions/:id/cases/:testCaseId/ai-analysis", + "body": { + "mode": "raw", + "raw": "{\n \"execution\": \"\",\n \"requestedBy\": \"\",\n \"testCaseId\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:231" + }, + { + "name": "EDGE_EMPTY_VALUES POST /executions/:id/share-report", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions/:id/share-report", + "body": { + "mode": "raw", + "raw": "{\n \"execution_id\": \"\",\n \"recipients\": \"\",\n \"requested_by\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:273" + }, + { + "name": "EDGE_EMPTY_VALUES POST /executions/:id/complete", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/executions/:id/complete", + "body": { + "mode": "raw", + "raw": "{\n \"ended_at\": \"\",\n \"status\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/executions.routes.js:292" + }, + { + "name": "EDGE_EMPTY_VALUES POST /feedback", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/feedback", + "body": { + "mode": "raw", + "raw": "{\n \"message\": \"\",\n \"status\": \"\",\n \"title\": \"\",\n \"user_id\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/feedback.routes.js:5" + }, + { + "name": "EDGE_EMPTY_VALUES PUT /feedback/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/feedback/:id", + "body": { + "mode": "raw", + "raw": "{\n \"message\": \"\",\n \"status\": \"\",\n \"title\": \"\",\n \"user_id\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/feedback.routes.js:28" + }, + { + "name": "EDGE_EMPTY_VALUES POST /integrations", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/integrations", + "body": { + "mode": "raw", + "raw": "{\n \"api_key\": \"\",\n \"base_url\": \"\",\n \"config\": \"\",\n \"is_active\": false,\n \"model\": \"\",\n \"name\": \"\",\n \"project_key\": \"\",\n \"type\": \"\",\n \"updated_at\": \"\",\n \"username\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/integrations.routes.js:130" + }, + { + "name": "EDGE_EMPTY_VALUES POST /integrations/test-connection", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/integrations/test-connection", + "body": { + "mode": "raw", + "raw": "{\n \"api_key\": \"\",\n \"base_url\": \"\",\n \"config\": \"\",\n \"type\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/integrations.routes.js:164" + }, + { + "name": "EDGE_EMPTY_VALUES PUT /integrations/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/integrations/:id", + "body": { + "mode": "raw", + "raw": "{\n \"api_key\": \"\",\n \"base_url\": \"\",\n \"config\": \"\",\n \"is_active\": false,\n \"model\": \"\",\n \"name\": \"\",\n \"project_key\": \"\",\n \"type\": \"\",\n \"updated_at\": \"\",\n \"username\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/integrations.routes.js:190" + }, + { + "name": "EDGE_EMPTY_VALUES POST /project-members", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/project-members", + "body": { + "mode": "raw", + "raw": "{\n \"project_id\": \"\",\n \"role_id\": \"\",\n \"user_id\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/projectMembers.routes.js:4" + }, + { + "name": "EDGE_EMPTY_VALUES PUT /project-members/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/project-members/:id", + "body": { + "mode": "raw", + "raw": "{\n \"project_id\": \"\",\n \"role_id\": \"\",\n \"user_id\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/projectMembers.routes.js:23" + }, + { + "name": "EDGE_EMPTY_VALUES POST /projects/:id/sync/:provider", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/projects/:id/sync/:provider", + "body": { + "mode": "raw", + "raw": "{\n \"created_by\": \"\",\n \"project_id\": \"\",\n \"provider\": \"\",\n \"trigger_mode\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/projectSync.routes.js:5" + }, + { + "name": "EDGE_EMPTY_VALUES POST /projects", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/projects", + "body": { + "mode": "raw", + "raw": "{\n \"created_by\": \"\",\n \"description\": \"\",\n \"display_id\": \"\",\n \"name\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/projects.routes.js:5" + }, + { + "name": "EDGE_EMPTY_VALUES PUT /projects/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/projects/:id", + "body": { + "mode": "raw", + "raw": "{\n \"description\": \"\",\n \"name\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/projects.routes.js:25" + }, + { + "name": "EDGE_EMPTY_VALUES PUT /requirement-test-cases/replace", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/requirement-test-cases/replace", + "body": { + "mode": "raw", + "raw": "{\n \"requirement_id\": \"\",\n \"test_case_ids\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/requirementTestCases.routes.js:9" + }, + { + "name": "EDGE_EMPTY_VALUES POST /requirements", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/requirements", + "body": { + "mode": "raw", + "raw": "{\n \"created_by\": \"\",\n \"description\": \"\",\n \"display_id\": \"\",\n \"external_references\": \"\",\n \"priority\": \"\",\n \"project_id\": \"\",\n \"status\": \"\",\n \"title\": \"\",\n \"updated_at\": \"\",\n \"updated_by\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/requirements.routes.js:8" + }, + { + "name": "EDGE_EMPTY_VALUES POST /requirements/import", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/requirements/import", + "body": { + "mode": "raw", + "raw": "{\n \"project_id\": \"\",\n \"rows\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/requirements.routes.js:29" + }, + { + "name": "EDGE_EMPTY_VALUES PUT /requirements/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/requirements/:id", + "body": { + "mode": "raw", + "raw": "{\n \"description\": \"\",\n \"external_references\": \"\",\n \"priority\": \"\",\n \"project_id\": \"\",\n \"status\": \"\",\n \"title\": \"\",\n \"updated_at\": \"\",\n \"updated_by\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/requirements.routes.js:73" + }, + { + "name": "EDGE_EMPTY_VALUES POST /requirements/:id/ai-optimize-preview", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/requirements/:id/ai-optimize-preview", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"\",\n \"integration_id\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/requirements.routes.js:95" + }, + { + "name": "EDGE_EMPTY_VALUES POST /requirements/:id/generate-test-cases", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/requirements/:id/generate-test-cases", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"\",\n \"appType\": \"\",\n \"app_type_id\": \"\",\n \"external_links\": \"\",\n \"images\": \"\",\n \"integration_id\": \"\",\n \"max_cases\": \"\",\n \"requirement\": \"\",\n \"status\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/requirements.routes.js:113" + }, + { + "name": "EDGE_EMPTY_VALUES POST /requirements/:id/design-test-cases-preview", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/requirements/:id/design-test-cases-preview", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"\",\n \"appType\": \"\",\n \"app_type_id\": \"\",\n \"external_links\": \"\",\n \"images\": \"\",\n \"integration_id\": \"\",\n \"max_cases\": \"\",\n \"requirement\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/requirements.routes.js:147" + }, + { + "name": "EDGE_EMPTY_VALUES POST /requirements/:id/design-test-cases-accept", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/requirements/:id/design-test-cases-accept", + "body": { + "mode": "raw", + "raw": "{\n \"appType\": \"\",\n \"app_type_id\": \"\",\n \"cases\": \"\",\n \"requirement\": \"\",\n \"status\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/requirements.routes.js:179" + }, + { + "name": "EDGE_EMPTY_VALUES POST /roles", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/roles", + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/roles.routes.js:4" + }, + { + "name": "EDGE_EMPTY_VALUES PUT /roles/:id/permissions", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/roles/:id/permissions", + "body": { + "mode": "raw", + "raw": "{\n \"permission_codes\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/roles.routes.js:29" + }, + { + "name": "EDGE_EMPTY_VALUES PUT /roles/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/roles/:id", + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\",\n \"permission_codes\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/roles.routes.js:37" + }, + { + "name": "EDGE_EMPTY_VALUES PUT /settings/localization", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/settings/localization", + "body": { + "mode": "raw", + "raw": "{\n \"key\": \"\",\n \"strings\": \"\",\n \"updated_at\": \"\",\n \"value\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/settings.routes.js:11" + }, + { + "name": "EDGE_EMPTY_VALUES PUT /settings/workspace-preferences", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/settings/workspace-preferences", + "body": { + "mode": "raw", + "raw": "{\n \"key\": \"\",\n \"preferences\": \"\",\n \"updated_at\": \"\",\n \"value\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/settings.routes.js:28" + }, + { + "name": "EDGE_EMPTY_VALUES POST /shared-step-groups", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/shared-step-groups", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"\",\n \"created_by\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/sharedStepGroups.routes.js:6" + }, + { + "name": "EDGE_EMPTY_VALUES PUT /shared-step-groups/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/shared-step-groups/:id", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"\",\n \"description\": \"\",\n \"name\": \"\",\n \"parameter_values\": \"\",\n \"steps\": \"\",\n \"updated_by\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/sharedStepGroups.routes.js:47" + }, + { + "name": "EDGE_EMPTY_VALUES PUT /suite-test-cases/reorder", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/suite-test-cases/reorder", + "body": { + "mode": "raw", + "raw": "{\n \"sort_order\": \"\",\n \"suite_id\": \"\",\n \"test_case_ids\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/suiteTestCases.routes.js:9" + }, + { + "name": "EDGE_EMPTY_VALUES POST /test-cases", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"\",\n \"created_by\": \"\",\n \"steps\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:37" + }, + { + "name": "EDGE_EMPTY_VALUES POST /test-cases/import", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/import", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"\",\n \"batches\": \"\",\n \"created_by\": \"\",\n \"rows\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:69" + }, + { + "name": "EDGE_EMPTY_VALUES POST /test-cases/export", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/export", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"\",\n \"created_by\": \"\",\n \"test_case_ids\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:111" + }, + { + "name": "EDGE_EMPTY_VALUES POST /test-cases/automation/learning-cache/import", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/automation/learning-cache/import", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"\",\n \"entries\": \"\",\n \"import_source\": \"\",\n \"project_id\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:187" + }, + { + "name": "EDGE_EMPTY_VALUES POST /test-cases/automation/learning-cache/extract-fields", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/automation/learning-cache/extract-fields", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"\",\n \"fields\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:211" + }, + { + "name": "EDGE_EMPTY_VALUES POST /test-cases/automation/learning-cache", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/automation/learning-cache", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"\",\n \"confidence\": \"\",\n \"dom_structure\": \"\",\n \"fallback_strategy\": \"\",\n \"locator\": \"\",\n \"locator_intent\": \"\",\n \"locator_kind\": \"\",\n \"metadata\": \"\",\n \"object_name\": \"\",\n \"object_role\": \"\",\n \"page_key\": 0,\n \"page_url\": 0,\n \"project_id\": \"\",\n \"screen_dom_compressed\": \"\",\n \"screen_name\": \"\",\n \"screen_screenshot_url\": \"\",\n \"screenshot_url\": \"\",\n \"source\": \"\",\n \"target_criteria\": \"\",\n \"test_case_id\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:303" + }, + { + "name": "EDGE_EMPTY_VALUES PUT /test-cases/automation/learning-cache/screens/:screenName", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/automation/learning-cache/screens/:screenName", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"\",\n \"new_name\": \"\",\n \"screen_name\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:390" + }, + { + "name": "EDGE_EMPTY_VALUES POST /test-cases/automation/learning-cache/:id/ai-improve", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/automation/learning-cache/:id/ai-improve", + "body": { + "mode": "raw", + "raw": "{\n \"guidance\": \"\",\n \"integration_id\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:412" + }, + { + "name": "EDGE_EMPTY_VALUES POST /test-cases/automation/build-batch", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/automation/build-batch", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"\",\n \"created_by\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:438" + }, + { + "name": "EDGE_EMPTY_VALUES POST /test-cases/:id/automation/build", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/:id/automation/build", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"\",\n \"captured_actions\": \"\",\n \"captured_network\": \"\",\n \"created_by\": \"\",\n \"integration_id\": \"\",\n \"start_url\": \"\",\n \"test_case_id\": \"\",\n \"test_configuration_id\": \"\",\n \"test_data_set_id\": \"\",\n \"test_environment_id\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:486" + }, + { + "name": "EDGE_EMPTY_VALUES POST /test-cases/:id/automation/generator-jobs", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/:id/automation/generator-jobs", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"\",\n \"created_by\": \"\",\n \"integration_id\": \"\",\n \"start_url\": \"\",\n \"test_case_id\": \"\",\n \"test_configuration_id\": \"\",\n \"test_data_set_id\": \"\",\n \"test_environment_id\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:521" + }, + { + "name": "EDGE_EMPTY_VALUES POST /test-cases/:id/automation/recorder-session", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/:id/automation/recorder-session", + "body": { + "mode": "raw", + "raw": "{\n \"created_by\": \"\",\n \"engine_base_url\": \"\",\n \"recorder_mode\": \"\",\n \"recorder_public_base_url\": \"\",\n \"recorder_target\": \"\",\n \"reuse_existing\": \"\",\n \"start_url\": \"\",\n \"target_step_id\": \"\",\n \"test_case_id\": \"\",\n \"test_configuration_id\": \"\",\n \"test_data_set_id\": \"\",\n \"test_environment_id\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:552" + }, + { + "name": "EDGE_EMPTY_VALUES POST /test-cases/:id/automation/recorder-session/:sessionId/finish", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/:id/automation/recorder-session/:sessionId/finish", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"\",\n \"created_by\": \"\",\n \"engine_base_url\": \"\",\n \"integration_id\": \"\",\n \"recorder_mode\": \"\",\n \"recorder_session_id\": \"\",\n \"recorder_target\": \"\",\n \"target_step_id\": \"\",\n \"test_case_id\": \"\",\n \"test_configuration_id\": \"\",\n \"test_data_set_id\": \"\",\n \"test_environment_id\": \"\",\n \"transaction_id\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:591" + }, + { + "name": "EDGE_EMPTY_VALUES POST /test-cases/design-test-cases-preview", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/design-test-cases-preview", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"\",\n \"appType\": \"\",\n \"app_type_id\": \"\",\n \"external_links\": \"\",\n \"images\": \"\",\n \"integration_id\": \"\",\n \"max_cases\": \"\",\n \"requirement_ids\": \"\",\n \"requirements\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:631" + }, + { + "name": "EDGE_EMPTY_VALUES POST /test-cases/ai-authoring-preview", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/ai-authoring-preview", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"\",\n \"appType\": \"\",\n \"app_type_id\": \"\",\n \"integration_id\": \"\",\n \"requirement\": \"\",\n \"requirement_id\": \"\",\n \"test_case\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:659" + }, + { + "name": "EDGE_EMPTY_VALUES POST /test-cases/ai-step-rephrase", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/ai-step-rephrase", + "body": { + "mode": "raw", + "raw": "{\n \"additional_context\": \"\",\n \"appType\": \"\",\n \"app_type_id\": \"\",\n \"integration_id\": \"\",\n \"project_id\": \"\",\n \"requirement\": \"\",\n \"requirement_id\": \"\",\n \"step\": \"\",\n \"test_case\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:683" + }, + { + "name": "EDGE_EMPTY_VALUES POST /test-cases/design-test-cases-accept", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/design-test-cases-accept", + "body": { + "mode": "raw", + "raw": "{\n \"appType\": \"\",\n \"app_type_id\": \"\",\n \"cases\": \"\",\n \"requirement_ids\": \"\",\n \"requirements\": \"\",\n \"status\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:715" + }, + { + "name": "EDGE_EMPTY_VALUES POST /test-cases/ai-generation-jobs", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/ai-generation-jobs", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"\",\n \"created_by\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:756" + }, + { + "name": "EDGE_EMPTY_VALUES PUT /test-cases/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/:id", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"\",\n \"automated\": \"\",\n \"automation_status\": \"\",\n \"description\": \"\",\n \"external_references\": \"\",\n \"parameter_values\": \"\",\n \"priority\": \"\",\n \"requirement_id\": \"\",\n \"requirement_ids\": \"\",\n \"steps\": \"\",\n \"suite_id\": \"\",\n \"suite_ids\": \"\",\n \"title\": \"\",\n \"updated_by\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testCases.routes.js:782" + }, + { + "name": "EDGE_EMPTY_VALUES POST /test-configurations", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-configurations", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"\",\n \"browser\": \"\",\n \"description\": \"\",\n \"mobile_os\": \"\",\n \"name\": \"\",\n \"platform_version\": \"\",\n \"project_id\": \"\",\n \"variables\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testConfigurations.routes.js:6" + }, + { + "name": "EDGE_EMPTY_VALUES PUT /test-configurations/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-configurations/:id", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"\",\n \"browser\": \"\",\n \"description\": \"\",\n \"mobile_os\": \"\",\n \"name\": \"\",\n \"platform_version\": \"\",\n \"project_id\": \"\",\n \"variables\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testConfigurations.routes.js:54" + }, + { + "name": "EDGE_EMPTY_VALUES POST /test-data-sets", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-data-sets", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"\",\n \"columns\": \"\",\n \"description\": \"\",\n \"mode\": \"\",\n \"name\": \"\",\n \"project_id\": \"\",\n \"rows\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testDataSets.routes.js:7" + }, + { + "name": "EDGE_EMPTY_VALUES PUT /test-data-sets/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-data-sets/:id", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"\",\n \"columns\": \"\",\n \"description\": \"\",\n \"mode\": \"\",\n \"name\": \"\",\n \"project_id\": \"\",\n \"rows\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testDataSets.routes.js:54" + }, + { + "name": "EDGE_EMPTY_VALUES POST /api/testengine/callbacks/runs", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/api/testengine/callbacks/runs", + "body": { + "mode": "raw", + "raw": "{\n \"artifact_bundle\": \"\",\n \"case_result\": \"\",\n \"deterministic_attempted\": \"\",\n \"emitted_at\": \"\",\n \"engine_run_id\": \"\",\n \"event\": \"\",\n \"healing_attempted\": \"\",\n \"healing_succeeded\": \"\",\n \"patch_proposals\": \"\",\n \"payload\": \"\",\n \"qaira_execution_id\": \"\",\n \"qaira_run_id\": \"\",\n \"qaira_test_case_id\": \"\",\n \"rawPayload\": \"\",\n \"state\": \"\",\n \"step_outcomes\": \"\",\n \"summary\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testEngineCallbacks.routes.js:20" + }, + { + "name": "EDGE_EMPTY_VALUES POST /testengine/internal/jobs/:id/start", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/testengine/internal/jobs/:id/start", + "body": { + "mode": "raw", + "raw": "{\n \"job_id\": \"\",\n \"worker_id\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testEngineInternal.routes.js:28" + }, + { + "name": "EDGE_EMPTY_VALUES POST /testengine/internal/jobs/:id/steps/:stepId/execute", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/testengine/internal/jobs/:id/steps/:stepId/execute", + "body": { + "mode": "raw", + "raw": "{\n \"job_id\": \"\",\n \"step_id\": \"\",\n \"steps\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testEngineInternal.routes.js:41" + }, + { + "name": "EDGE_EMPTY_VALUES POST /testengine/internal/jobs/:id/steps/:stepId/report", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/testengine/internal/jobs/:id/steps/:stepId/report", + "body": { + "mode": "raw", + "raw": "{\n \"api_detail\": \"\",\n \"automation_detail\": \"\",\n \"captures\": \"\",\n \"evidence\": \"\",\n \"job_id\": \"\",\n \"note\": \"\",\n \"recovery_attempted\": \"\",\n \"recovery_succeeded\": \"\",\n \"step_id\": \"\",\n \"steps\": \"\",\n \"web_detail\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testEngineInternal.routes.js:50" + }, + { + "name": "EDGE_EMPTY_VALUES POST /testengine/internal/jobs/:id/complete", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/testengine/internal/jobs/:id/complete", + "body": { + "mode": "raw", + "raw": "{\n \"artifact_bundle\": \"\",\n \"deterministic_attempted\": \"\",\n \"error\": \"\",\n \"healing_attempted\": \"\",\n \"healing_succeeded\": \"\",\n \"job_id\": \"\",\n \"patch_proposals\": \"\",\n \"steps\": \"\",\n \"summary\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testEngineInternal.routes.js:80" + }, + { + "name": "EDGE_EMPTY_VALUES POST /testengine/internal/jobs/:id/fail", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/testengine/internal/jobs/:id/fail", + "body": { + "mode": "raw", + "raw": "{\n \"job_id\": \"\",\n \"message\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testEngineInternal.routes.js:107" + }, + { + "name": "EDGE_EMPTY_VALUES POST /test-environments", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-environments", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"\",\n \"base_url\": \"\",\n \"browser\": \"\",\n \"description\": \"\",\n \"name\": \"\",\n \"notes\": \"\",\n \"project_id\": \"\",\n \"variables\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testEnvironments.routes.js:6" + }, + { + "name": "EDGE_EMPTY_VALUES PUT /test-environments/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-environments/:id", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"\",\n \"base_url\": \"\",\n \"browser\": \"\",\n \"description\": \"\",\n \"name\": \"\",\n \"notes\": \"\",\n \"project_id\": \"\",\n \"variables\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testEnvironments.routes.js:54" + }, + { + "name": "EDGE_EMPTY_VALUES POST /test-steps/run-api-request", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-steps/run-api-request", + "body": { + "mode": "raw", + "raw": "{\n \"api_request\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testSteps.routes.js:30" + }, + { + "name": "EDGE_EMPTY_VALUES PUT /test-steps/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-steps/:id", + "body": { + "mode": "raw", + "raw": "{\n \"action\": \"\",\n \"api_request\": \"\",\n \"automation_code\": \"\",\n \"expected_result\": \"\",\n \"group_id\": \"\",\n \"group_kind\": \"\",\n \"group_name\": \"\",\n \"reusable_group_id\": \"\",\n \"step_order\": \"\",\n \"step_type\": \"\",\n \"test_case_id\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testSteps.routes.js:44" + }, + { + "name": "EDGE_EMPTY_VALUES PUT /test-cases/:id/test-steps/reorder", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-cases/:id/test-steps/reorder", + "body": { + "mode": "raw", + "raw": "{\n \"entries\": \"\",\n \"indexOf\": \"\",\n \"step_ids\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testSteps.routes.js:109" + }, + { + "name": "EDGE_EMPTY_VALUES PUT /test-steps/reorder", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-steps/reorder", + "body": { + "mode": "raw", + "raw": "{\n \"entries\": \"\",\n \"indexOf\": \"\",\n \"step_ids\": \"\",\n \"test_case_id\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testSteps.routes.js:118" + }, + { + "name": "EDGE_EMPTY_VALUES POST /test-suites", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-suites", + "body": { + "mode": "raw", + "raw": "{\n \"app_type_id\": \"\",\n \"created_by\": \"\",\n \"display_id\": \"\",\n \"name\": \"\",\n \"parallel_count\": 0,\n \"parallel_enabled\": \"\",\n \"parameter_values\": \"\",\n \"parent_id\": \"\",\n \"updated_at\": \"\",\n \"updated_by\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testSuites.routes.js:6" + }, + { + "name": "EDGE_EMPTY_VALUES PUT /test-suites/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-suites/:id", + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\",\n \"parallel_count\": 0,\n \"parallel_enabled\": \"\",\n \"parameter_values\": \"\",\n \"parent_id\": \"\",\n \"updated_at\": \"\",\n \"updated_by\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testSuites.routes.js:49" + }, + { + "name": "EDGE_EMPTY_VALUES POST /test-suites/:id/assign-test-cases", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/test-suites/:id/assign-test-cases", + "body": { + "mode": "raw", + "raw": "{\n \"test_case_ids\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/testSuites.routes.js:70" + }, + { + "name": "EDGE_EMPTY_VALUES POST /users", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/users", + "body": { + "mode": "raw", + "raw": "{\n \"email\": \"\",\n \"is_workspace_admin\": false,\n \"name\": \"\",\n \"password\": \"\",\n \"password_hash\": \"\",\n \"project_id\": \"\",\n \"role_id\": \"\",\n \"user_id\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/users.js:12" + }, + { + "name": "EDGE_EMPTY_VALUES POST /users/import", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/users/import", + "body": { + "mode": "raw", + "raw": "{\n \"rows\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/users.js:28" + }, + { + "name": "EDGE_EMPTY_VALUES PUT /users/:id", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/users/:id", + "body": { + "mode": "raw", + "raw": "{\n \"avatar_data_url\": \"\",\n \"email\": \"\",\n \"is_workspace_admin\": false,\n \"name\": \"\",\n \"password\": \"\",\n \"password_hash\": \"\",\n \"role_id\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/users.js:52" + }, + { + "name": "EDGE_EMPTY_VALUES PUT /users/:id/password", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/users/:id/password", + "body": { + "mode": "raw", + "raw": "{\n \"current_password\": \"\",\n \"new_password\": \"\",\n \"password_hash\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: backend/api/src/routes/users.js:76" + }, + { + "name": "EDGE_EMPTY_VALUES POST /api/v1/mobile/execute", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/api/v1/mobile/execute", + "body": { + "mode": "raw", + "raw": "{\n \"objectRepository\": \"\",\n \"object_repository\": \"\",\n \"steps\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: local-run/mobile-engine/src/server.js:422" + }, + { + "name": "EDGE_EMPTY_VALUES POST /api/v1/mobile/recorder/sessions", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/api/v1/mobile/recorder/sessions", + "body": { + "mode": "raw", + "raw": "{\n \"recorder_mode\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: local-run/mobile-engine/src/server.js:464" + }, + { + "name": "EDGE_EMPTY_VALUES POST /api/v1/mobile/recorder/sessions/:id/input", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/api/v1/mobile/recorder/sessions/:id/input", + "body": { + "mode": "raw", + "raw": "{\n \"height\": \"\",\n \"type\": \"\",\n \"value\": \"\",\n \"width\": \"\",\n \"x\": \"\",\n \"y\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: local-run/mobile-engine/src/server.js:555" + }, + { + "name": "EDGE_EMPTY_VALUES POST /api/v1/runs", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/api/v1/runs", + "body": { + "mode": "raw", + "raw": "{\n \"automated\": \"\",\n \"callback\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: testengine/backend/src/server.ts:207" + }, + { + "name": "EDGE_EMPTY_VALUES POST /api/v1/recorder/sessions", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Bearer {{authToken}}", + "disabled": false + } + ], + "url": "{{baseUrl}}/api/v1/recorder/sessions", + "body": { + "mode": "raw", + "raw": "{\n \"locator\": \"\",\n \"source\": \"\",\n \"text\": \"\",\n \"timestamp\": \"\",\n \"type\": \"\",\n \"url\": \"\",\n \"value\": \"\",\n \"x\": \"\",\n \"y\": \"\"\n}" + } + }, + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test('status is expected for edge_empty_values', function () { pm.expect([400, 401, 422]).to.include(pm.response.code); });", + "let jsonData = {}; try { jsonData = pm.response.json(); } catch(e) {}", + "pm.test('response time acceptable', function () { pm.expect(pm.response.responseTime).to.be.below(5000); });" + ] + } + } + ], + "description": "Source: testengine/backend/src/lib/recorder.ts:2188" + } + ] +} \ No newline at end of file diff --git a/qaira-generated/quality/quality_gate_report.json b/qaira-generated/quality/quality_gate_report.json new file mode 100644 index 0000000..8e4dbc8 --- /dev/null +++ b/qaira-generated/quality/quality_gate_report.json @@ -0,0 +1,25 @@ +{ + "score": 94.02, + "passed": true, + "summary": { + "apiContracts": 241, + "bodyExpected": 123, + "bodyDetected": 118, + "bodyFieldsKnown": 99, + "bodyDetectionRate": 95.93, + "bodyFieldKnownRate": 80.49, + "pathParamsDiscovered": 147, + "queryParamsDiscovered": 22, + "headersDiscovered": 0, + "serviceEdges": 959, + "schemasDiscovered": 12, + "inferredSchemas": 99, + "declaredSchemaAttachments": 0, + "inferredSchemaAttachments": 99, + "serviceBodyPatterns": 100, + "dbWritePatterns": 39, + "testsGenerated": true, + "negativeTestsGenerated": true, + "edgeTestsGenerated": true + } +} \ No newline at end of file diff --git a/qaira-generated/summary/scan_summary.json b/qaira-generated/summary/scan_summary.json new file mode 100644 index 0000000..e3c64ab --- /dev/null +++ b/qaira-generated/summary/scan_summary.json @@ -0,0 +1,21 @@ +{ + "apiContracts": 241, + "bodyExpected": 123, + "bodyDetected": 118, + "bodyFieldsKnown": 99, + "bodyDetectionRate": 95.93, + "bodyFieldKnownRate": 80.49, + "pathParamsDiscovered": 147, + "queryParamsDiscovered": 22, + "headersDiscovered": 0, + "serviceEdges": 959, + "schemasDiscovered": 12, + "inferredSchemas": 99, + "declaredSchemaAttachments": 0, + "inferredSchemaAttachments": 99, + "serviceBodyPatterns": 100, + "dbWritePatterns": 39, + "testsGenerated": true, + "negativeTestsGenerated": true, + "edgeTestsGenerated": true +} \ No newline at end of file