aboutsummaryrefslogtreecommitdiffstats
path: root/test/mitmproxy/test_flow_export/locust_task_post.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/mitmproxy/test_flow_export/locust_task_post.py')
-rw-r--r--test/mitmproxy/test_flow_export/locust_task_post.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/mitmproxy/test_flow_export/locust_task_post.py b/test/mitmproxy/test_flow_export/locust_task_post.py
new file mode 100644
index 00000000..989df455
--- /dev/null
+++ b/test/mitmproxy/test_flow_export/locust_task_post.py
@@ -0,0 +1,11 @@
+ @task()
+ def path(self):
+ url = self.locust.host + '/path'
+
+ data = '''content'''
+
+ self.response = self.client.request(
+ method='POST',
+ url=url,
+ data=data,
+ )