Socket Conversation Testing
Test the functionality of your Custom Channel with our Socket Tester.
Last updated
Was this helpful?
Test the functionality of your Custom Channel with our Socket Tester.
Last updated
Was this helpful?
We created a Socket Conversation Testing environment where you can plug in your existing Custom Channel and test Endpoints if they are currently working as intended.
You may access the Socket Conversation Testing site here.
REMINDER
These WebSocket Endpoints are advisable to be used by developers familiar with the product or service you want to transform into a Custom Channel.
Please provide this page to them so they can conduct proper testing with the Custom Channel you want to create.
This is the Socket Conversation Testing website that is accessible via the URL above. It reveals a simple webpage where developers can test their existing Custom Channel's functionalities.
It is comprised of three sections:
Instructions: The left side contains instructions on how to use this webpage.
Choose an Action: This is the active testing area. It has these components:
WSS URL: This is the unique URL of your Custom Channel. It contains your API key.
Enter your JSON here...: This textbox is where you will plug in WebSocket Endpoints listed in the Instructions to test your Custom Channel.
Response Area: This is the white area below the Send Message button where your Custom Channel should respond.
Before you can use the Socket Conversation Testing page, you need to plug in your Custom Channel first. You do this within the WSS URL textbox below Choose an Action.
You have to copy a WSS URL into the text box.
If you're using it for production:
If you're using it for development:
Take note that API_KEY
here corresponds to the API Key you will receive when you create a Custom Channel in Channel: Custom Channel
After doing so, click Open Socket Connection. If your Custom Channel is working, you should get a socket_connected
event.
After you connected your WSS URL, your Custom Channel will be responsive to your events. You can test them by plugging them into the "Enter your JSON here..." textbox, customizing its parameters, and clicking Send Message.
When the empty box below the "Enter your JSON here..." textbox returns a response appropriate to your event, then it is working as intended.
The Socket Conversation Testing webpage has a list of Client Actions you can copy and paste into the "Enter your JSON here..." textbox for testing. You can customize its parameters before clicking "Send Message."
The response in the white box below will determine if your Custom Channel is working properly.