Ana içeriğe geç
Versiyon: 1.0.7

Correct Use and Best Practices

SmartAPI accelerates API test design, but generated content remains a reviewable draft. Apply these gates before sharing or executing the result.

Use the right workflow

NeedWorkflow
Fast generation from a known sourceQuick Generation
Separate discovery and design reviewAPI Test Generation
Reuse and version API contractsFile Management
Return to a saved runAPI Test Sessions
Execute reviewed generated assetsTransfer to AutoRunner, then run in AutoRunner

Verify provenance

Before any mutation or transfer, record or compare:

  • active RabbitQA project;
  • managed file and version or cURL origin;
  • SmartAPI session ID;
  • recognizable endpoint paths;
  • service and endpoint counts; and
  • the selected template or design prompt.

If staged discovery or session detail shows unrelated reference data, return without editing it.

Protect credentials and data

  • Replace authorization headers, cookies, API keys, passwords, and client secrets with variables.
  • Use synthetic examples instead of real customer, employee, or company data.
  • Inspect uploaded OpenAPI examples, Postman files, HAR files, and cURL commands for hidden secrets.
  • Keep runtime secrets in the authorized AutoRunner execution configuration.
  • Do not paste confidential data into AI prompts or scripts.

Review generated assets

Check every request method and path against the source contract. Validate bodies, parameters, headers, assertions, captures, and variable ordering. Review positive and negative classifications and remove duplicate or unsafe scenarios.

SmartAPI does not currently provide a complete persisted schema-impact graph, ownership/confidence model, or executed-result traceability inside the generation view. Use the source contract and the AutoRunner report as separate evidence.

Treat destructive actions carefully

  • Prefer archive when a session may be needed for history.
  • Confirm file-use and version history before deleting a managed source.
  • Read replacement warnings before regenerating results.
  • Confirm the session ID before permanent deletion.
  • Never run generated destructive requests against production without separate authorization and purpose-built safeguards.

Transfer gate

Transfer only after source identity and all generated assets have been reviewed. A Transferred status is not a pass result. In AutoRunner, recheck the imported scenarios, environment, run profile, suite, and final execution report.

Troubleshooting

ProblemWhat to check
Generate is disabledAdd a valid source or parsed cURL and choose a template or design method.
A managed file is missingConfirm active project, search term, type filter, and source version.
Discovery shows unrelated pathsStop; compare session/source identity and do not use reference data as a result.
Immediate and saved counts differUse the persisted session ID and session detail as the durable run reference after verification.
Transfer is disabledCreate or select a compatible AutoRunner Postman project.
Imported tests do not runConfigure AutoRunner environment values, secrets, scenario order, run profile, and suite.
Preview is unavailableInspect or download the source in its native format; current File Management preview may be pending.