@julian Thanks for the update 🙂
How to make calls to web sockets?
Danial Malik last edited by
I have a nodeBB instance running and want to load test it. I understand that nodeBB has
/api/calls for every page request. I want to profile the
categoriespage. When I hit
/api/categoriespage on localhost it runs as expected and returns all categories' data but when I hit the same endpoint on deployed instance, it returns very limited data
After looking in networks tab, I understand that it's using web sockets to get categories data. Is there someway or API that I can use to get all categories JSON data? or if somehow I could make calls to websockets myself?
I am using nodeBB version
/api/categories doesn't load the data via sockets, you can check it on this forum, just check the network tab and you should see the loaded categories.