{ "info": { "author": "Alexandre Gattiker", "author_email": "algattik@microsoft.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "# locust_fixed_interval\n\n## About\n\nA Locust TaskSet that sends requests at a constant rate (with a fixed time\ninterval). Based on [Locust issue\n#646](https://github.com/locustio/locust/issues/646).\n\nThe instance 'interval' attribute defines the time interval between successive\nrequests per user in seconds (default 1.0). This value must be greater than\nthe average HTTP request roundtrip time. For example, if your request takes\n1.9 seconds to get to the server and back, and the execution of your code and\nthe Locust framework code additionally requires 0.1 second between requests,\nyou should set 'interval' to a value over 2.0 seconds. If you need a higher\nrequest rate, increase the number of simulated users.\n\n## Example usage\n\n```python\nclass MyTaskSet(FixedIntervalTaskSet):\n\n def setup(self):\n self.interval = 2.5 \n\n @task\n def task1(self):\n #...\n\nclass MyLocust(HttpLocust):\n task_set = MyTaskSet\n```\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/algattik/locust_fixed_interval", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "locust-fixed-interval", "package_url": "https://pypi.org/project/locust-fixed-interval/", "platform": "", "project_url": "https://pypi.org/project/locust-fixed-interval/", "project_urls": { "Homepage": "https://github.com/algattik/locust_fixed_interval" }, "release_url": "https://pypi.org/project/locust-fixed-interval/0.1/", "requires_dist": [ "locust" ], "requires_python": "", "summary": "Fixed interval taskset utility package for Locust", "version": "0.1" }, "last_serial": 5507084, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "b215c4e808217e50015258ddabe4fd27", "sha256": "c442addb656b55e4a3b94a2323022a14be6d6fbde899e30a59ab15ef340d2e98" }, "downloads": -1, "filename": "locust_fixed_interval-0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "b215c4e808217e50015258ddabe4fd27", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3485, "upload_time": "2019-07-09T13:13:26", "url": "https://files.pythonhosted.org/packages/e4/b0/3cf22d526c52c7f97916890dc3e3a8f4b536719a1553794e96d3e01d2c22/locust_fixed_interval-0.1-py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "b215c4e808217e50015258ddabe4fd27", "sha256": "c442addb656b55e4a3b94a2323022a14be6d6fbde899e30a59ab15ef340d2e98" }, "downloads": -1, "filename": "locust_fixed_interval-0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "b215c4e808217e50015258ddabe4fd27", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3485, "upload_time": "2019-07-09T13:13:26", "url": "https://files.pythonhosted.org/packages/e4/b0/3cf22d526c52c7f97916890dc3e3a8f4b536719a1553794e96d3e01d2c22/locust_fixed_interval-0.1-py3-none-any.whl" } ] }