About Testlum
Getting Started
General Features
UI Testing
Api Testing
Services Testing
Additional Materials
Title
Message
Create new category
What is the title of your new category?
Edit page index title
What is the title of the page index?
Edit category
What is the new title of your category?
Edit link
What is the new title and URL of your link?
Mongo
Copy Markdown
Open in ChatGPT
Open in Claude
Type: NoSQL Database
Description: Document-oriented NoSQL database, storing data in flexible, JSON-like BSON documents. It is designed for scalability and flexibility, making it suitable for handling diverse and evolving data structures.
How to send the query
Description:
<mongo> – the command which is responsible for sending the queries to Mongo DB in testing scenarios
Required parameters:
- comment
- alias - unique name of the DB you configured in your integration.xml file
- file - specifies the expected file name
- query - contains the Mongo DB query
Optional parameters :
- condition - condition according to which this test step will or won't be executed
- threshold - parameter, where the maximum execution time of the command is defined (milliseconds), if the execution time is exceeded, the step will be defined as failed
XML
<mongo comment="Get all user's from system" alias="ALIAS" file="expected_1.json"> <query>SELECT * FROM t_user</query></mongo>Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard
Last updated on
Next to read:
PostgresCopyright © Knubisoft
Discard Changes
Do you want to discard your current changes and overwrite with the template?
Archive Synced Block
Message
Create new Template
What is this template's title?
Delete Template
Message