Entrypoint Statement

It may be desired to start the test scenario by requesting

Remarks

There can be only one ENTRYPOINT statement at the top of a scenario document.

The test runner should apply it relative to the base URL provided as the command parameter.

Example

When running the below against an API under http://tech.blog/api/, the first requested resource would be http://tech.blog/api/some/article.

ENTRYPOINT "some/article"

With Link "author" {
    // exact match
    Expect Header Content-Type "application/problem+json"

    // regular expression match
    Expect Header Location Matching "^http://expected.url/"
}
Last Updated: 12/3/2019, 7:59:41 PM