Automated Testing

Automated Testing

To prevent the bot protection from failing your automated tests, you can use a test key. The test keys will always return a successful response.

KeyValue
site keysk_11111111000000001111111100000000
secret keyok_11111111000000001111111100000000

To test error responses, you can use the following test keys:

KeyValue
site key (always fails challenge)sk_FFFFFFFF00000000FFFFFFFF00000000
secret key (always fails server verfication)ok_FFFFFFFF00000000FFFFFFFF00000000
⚠️

Test keys do not provide any protection. Only use them in a testing environment.
The widget will display a warning message if a test key is being used.