Stress load testing for streamlit apps

Hello there!

I have a streamlit app hosted on a server and I would like to perform stress load testing.

The app currently has a few similar features that I want to test the performance of, which mainly takes in some inputs from users through the st.text_input and sends the data to openai’s chat API to retrieve some response and finally, write it to the app’s interface by the st.write_stream method.

The problem is, the testing frameworks that I have encountered, uses an endpoint, a HTTP method (e.g. POST) and some optional payload. For my streamlit app, I checked the logs of my HTTP requests and they are all GET requests and I am not sure how to test with some dummy data.

Does anyone have any idea/experience how I can do this ?

Any advice will be greatly appreciated!

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.