integration.xml

<integration.xml> - is made to set up integrations with API, Database etc.

Inside integration.xml file there is a set of integrations out-of-the-box:

XML
Copy

When setting up a integration.xml file, for each integration tag in the structure there is a mandatory and unique alias parameter, with the help of which we get interaction with databases and APIs within the test scenario.

Each service has a flag enabled: true & false which means whether the integration will be connected or not.

  • Configure the services you need and easily switch between them.

apis

<apis> - is a command for API integration. It means, that you are able to integrate as much APIs for your test scenarios as you need.

XML
Copy

Contains attributes:

  • alias - unique alias for the specific API. You can come up with your alias for your test scenarios to choose what API to use
  • url - URL for the specific API

Optional attributes:

  • Auth - Authentication
XML
Copy

authStrategy - You can choose desired auth strategy, such as:

  • basic
  • default
  • custom
  • jwt

Optional attributes for Auth:

  • autoLogout - when selected, Testlum will log out after test execution (default value - true)
  • authCustomClassName - attribute for custom auth strategy
  • tokenName - name for auth token (default value - token)

websockets

<websockets> - is a command for Websocket API integration.

XML
Copy

Contains attributes:

alias - unique alias, that you can come up with and use in your test scenarios

url - URL for Websocket API

protocol - standard/stomp - choice of protocol for Websocket API 'enabled' - true/false - indicator which shows whether specific websocket API integration enabled or not

clickhouse

<clickhouseIntegration> - is a command for ClickHouse integration.

XML
Copy

Contains attributes:

alias - unique alias, that you can come up with and use in your test scenarios

truncate="true"- when selected, data will be cleared before each test run

truncate="false" - when selected, data will not be cleared before each test run (default value)

dynamo

<dynamoIntegration> - is a command for DynamoDB integration.

XML
Copy

Contains attributes:

alias - unique alias, that you can come up with and use in your test scenarios

truncate="true"- when selected, data will be cleared before each test run

truncate="false" - when selected, data will not be cleared before each test run (default value)

elasticsearch

<elasticsearchIntegration> is a command for Elasticsearch integration.

XML
Copy

Contains attributes:

alias - unique alias, that you can come up with and use in your test scenarios

truncate="true"- when selected, data will be cleared before each test run

truncate="false" - when selected, data will not be cleared before each test run (default value)

kafka

<kafkaIntegration> - is a command for Kafka integration.

XML
Copy

Contains attributes:

alias - unique alias, that you can come up with and use in your test scenarios

truncate="true"- when selected, data will be cleared before each test run

truncate="false" - when selected, data will not be cleared before each test run (default value)

mongo

<mongoIntegration> - is a command for MongoDB integration.

XML
Copy

Contains attributes:

alias - unique alias, that you can come up with and use in your test scenarios

truncate="true"- when selected, data will be cleared before each test run

truncate="false" - when selected, data will not be cleared before each test run (default value)

mysql

<mysqlIntegration> - is a command for MySQL integration.

XML
Copy

Contains attributes:

alias - unique alias, that you can come up with and use in your test scenarios

truncate="true"- when selected, data will be cleared before each test run

truncate="false" - when selected, data will not be cleared before each test run (default value)

oracle

<oracleIntegration> - is a command for Oracle integration.

XML
Copy

Contains attributes:

alias - unique alias, that you can come up with and use in your test scenarios

truncate="true"- when selected, data will be cleared before each test run

truncate="false" - when selected, data will not be cleared before each test run (default value)

postgres

<postgresIntegration> - is a command for Postgres integration.

XML
Copy

Contains attributes:

alias - unique alias, that you can come up with and use in your test scenarios

truncate="true"- when selected, data will be cleared before each test run

truncate="false" - when selected, data will not be cleared before each test run (default value)

rabbitmq

<rabbitmqIntegration> - is a command for RabbitMQ integration.

XML
Copy

Contains attributes:

alias - unique alias, that you can come up with and use in your test scenarios

truncate="true"- when selected, data will be cleared before each test run

truncate="false" - when selected, data will not be cleared before each test run (default value)

redis

<redisIntegration> - is a command for Redis integration.

XML
Copy

Contains attributes:

alias - uniquealias, that you can come up with and use in your test scenarios

truncate="true"- when selected, data will be cleared before each test run

truncate="false" - when selected, data will not be cleared before each test run (default value)

s3

<s3Integration> - is a command for S3 integration.

XML
Copy

Contains attributes:

alias - unique alias, that you can come up with and use in your test scenarios

truncate="true"- when selected, data will be cleared before each test run

truncate="false" - when selected, data will not be cleared before each test run (default value)

sendgrid

<sendgridIntegration> - is a command for SendGrid integration.

XML
Copy

Contains attributes:

alias - unique alias, that you can come up with and use in your test scenarios

ses

<sesIntegration> - is a command for SES integration.

XML
Copy

Contains attributes:

alias - unique alias, that you can come up with and use in your test scenarios

sqs

<sqsIntegration> - is a command for SQS integration.

XML
Copy

Contains attributes:

alias - unique alias, that you can come up with and use in your test scenarios

truncate="true"- when selected, data will be cleared before each test run

truncate="false" - when selected, data will not be cleared before each test run (default value)

graphql

<graphqlIntegration> - is a command for GrapghQL integration.

XML
Copy

Contains attributes:

alias - unique alias, that you can come up with and use in your test scenarios

url - URL for GraphQL API

lambda

<lambdaIntegration> - is a command for Lambda integration.

XML
Copy

Contains attributes:

alias - unique alias, that you can come up with and use in your test scenarios

smtp

<smtpIntegration> - is a command for SMTP integration.

XML
Copy

Contains attributes:

alias - unique alias, that you can come up with and use in your test scenarios

twilio

<twilioIntegration> - is a command for Twilio integration.

XML
Copy

Contains attributes:

alias - unique alias, that you can come up with and use in your test scenarios

Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard
On This Page
integration.xml