TestMace
0.0.1-beta.24
0.0.1-beta.24
  • Getting Started
  • Cloud Synchronization
  • Interface
    • The Menu
    • Interface Overview
    • Scratches
    • Node Types
    • Keyboard Shortcuts
  • Node Types
    • Project
    • Folder
    • RequestStep
    • Assertion
      • Compare
      • In range
      • One of set
      • Contains
      • XPath
      • JSONPath
      • Script
      • Link
    • Link
    • API description
      • ApiRootFolder
      • ApiFolder
      • ApiRoute
      • API Description Import
    • Broken
    • Script
  • Variables
    • User-Defined Variables
      • Static Variables
      • Dynamic Variables
    • Default Variables
    • Environment Variables
  • Working with the project
    • Cookie
    • Authorization
  • Settings
    • Proxy
  • Other features
    • Bulk Edit
    • Import & Export
      • Shared
      • cURL
      • Swagger
      • Postman
    • Default HTTP headers
  • CLI
    • Command line tool
Powered by GitBook
On this page

Was this helpful?

  1. Node Types
  2. Assertion

One of set

PreviousIn rangeNextContains

Last updated 5 years ago

Was this helpful?

The feature is available for only.

The One of set assertion interface is as follows:

This assertion type is used to ensure if the current value equals to one value from the specified set. In the Expected value type field you should specify the type of values you want to compare (strings, numbers or JSON objects).

In the Expected value field you should set a list of pissible expected values

The Use negative statement flag is used for getting the opposite result, i.e. the current value shouldn't exist in the specified set.

Error Fixing

The error fixing algorithm depends on the Use negative statement flag's state:

  • false - the current value is added to the list

  • true - the current value is removed from the list

paid TestMace subscribers