{ "info": { "author": "\u7f57\u79d1\u5cf0", "author_email": "lkf20031988@163.com", "bugtrack_url": null, "classifiers": [], "description": "# rtsf-locust\n\u57fa\u4e8ertsf-http\u53calocust\u5bf9http(s)\u7b49api\uff0c\u8fdb\u884c\u6027\u80fd\u7684\u81ea\u52a8\u5316\u6d4b\u8bd5\n\n## \u73af\u5883\u51c6\u5907\n\n### \u5b89\u88c5rtsf-locust\npip install rtsf-locust\n\n\n## \u5173\u4e8e\u7528\u4f8b\u7684\u7f16\u5199\nrtsf-locust\u4e0ertsf-http\u7684\u6d4b\u8bd5\u7528\u4f8b\uff0c\u662f\u540c\u4e00\u4efd\uff0c\u552f\u4e00\u7684\u533a\u522b\u5c31\u662f\u5728\u6267\u884c\u7684\u65f6\u5019\uff0c\u547d\u4ee4\u4e0d\u4e00\u6837.\n\n```\n# rtsf-http \u8fdb\u884c\u63a5\u53e3\u7684\u81ea\u52a8\u5316\u6d4b\u8bd5\nhdriver c:\\test_case.yaml\nhttpdriver c:\\test_case.yaml \n\n#rtsf-locust \u8fdb\u884c\u63a5\u53e3\u6027\u80fd\u7684\u81ea\u52a8\u5316\u6d4b\u8bd5\nhlocust -f c:\\test_case.yaml\nhttplocust -f c:\\test_case.yaml\n```\n\nrtsf-locust,\u5177\u6709\u5982\u4e0b\u7279\u6027\uff1a\n\n- \u652f\u6301yaml\u3001json\u7684\u6d4b\u8bd5\u7528\u4f8b\n- \u652f\u6301case\u7684\u5206\u5c42\n- \u652f\u6301case\u7684\u6570\u636e\u9a71\u52a8\uff0c\u5728locust\u538b\u6d4b\u8fc7\u7a0b\u4e2d\uff0c\u6bcf\u4e2a\u6a21\u62df\u7684\u7528\u6237\uff0c\u90fd\u4f1a\u5bf9\u6570\u636e\u9a71\u52a8\u7684\u6570\u636e\u8fdb\u884c\u904d\u5386\uff0c\u904d\u5386\u7ed3\u675f\uff0c\u9ed8\u8ba4\u4f7f\u7528\u6700\u540e\u4e00\u7ec4\u6570\u636e\u7ee7\u7eed\u8fdb\u884c\u538b\u6d4b \n\n\n## \u5173\u4e8e\u6d4b\u8bd5\u62a5\u544a\n\n1. \u538b\u6d4b\u8fc7\u7a0b\uff0c\u5b9e\u9645\u4e0a\u662f locust\u7684\u8fd0\u884c\u8fc7\u7a0b\uff0c\u8ddfrtsf-http\u4e0d\u540c\u7684\u662f\uff0crtsf-locust**\u672a\u8bb0\u5f55\u65e5\u5fd7\u548c\u751f\u6210\u62a5\u544a**\n2. \u4f46\u662f\uff0c\u60a8\u53ef\u4ee5\u8bbf\u95eelocust\u7684\u63a7\u5236\u53f0\uff0c\u67e5\u770b\u5b9e\u65f6\u62a5\u544a\u548c\u65e5\u5fd7: http://localhost:8089/\n\n\n## \u793a\u4f8b\n\n\u538b\u6d4b\u573a\u666f\uff1a\u5728\u7ad9\u70b9pypi\u4e2d\u641c\u7d22\u9879\u76ee\uff0c\u5176\u4e2d\u9879\u76ee\u540d\u79f0\uff0c\u4f7f\u7528\u6570\u636e\u9a71\u52a8\u7684\u65b9\u5f0f\uff0c\u5199\u5728poject.csv\u4e2d\uff0c\u5982\u4e0b\n\n```\n# test_locust.yaml\n- project:\n name: xxx\u7cfb\u7edf\n module: xxx\u6a21\u5757-\u6027\u80fd\n data:\n - csv: projects.csv\n\n- case:\n name: search-$project_name\n glob_var:\n expected_result: Search results\n steps:\n - request:\n url: https://pypi.org/search/?q=$project_name\n method: GET\n verify:\n - ${VerifyCode(200)}\n - ${VerifyContain($expected_result)}\n\n# project.csv\nproject_name\nrtsf\nrtsf-http\nrtsf-app\nrtsf-win\nrtsf-web\n```\n\n![hlocust-demo.png](https://raw.githubusercontent.com/RockFeng0/img-folder/master/rtsf-locust-img/hlocust-demo.png)\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/RockFeng0/rtsf-locust", "keywords": "test http api https", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "rtsf-locust", "package_url": "https://pypi.org/project/rtsf-locust/", "platform": "", "project_url": "https://pypi.org/project/rtsf-locust/", "project_urls": { "Homepage": "https://github.com/RockFeng0/rtsf-locust" }, "release_url": "https://pypi.org/project/rtsf-locust/1.1.1/", "requires_dist": [ "locust", "rtsf-http" ], "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <4", "summary": "http(s) load testing, base on locust and rtsf-http", "version": "1.1.1" }, "last_serial": 4449082, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "17a96cb90f26ded3811df6350c25a5aa", "sha256": "10035b8788fc0fb01f4b949b495f2099ff074fbcfd7a181c50fe242137234e34" }, "downloads": -1, "filename": "rtsf_locust-1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "17a96cb90f26ded3811df6350c25a5aa", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <4", "size": 6388, "upload_time": "2018-11-04T08:05:41", "url": "https://files.pythonhosted.org/packages/e0/f4/eeb472236bca98a965551e9c339fd3c280f17535955cd1bbcc224734a5ec/rtsf_locust-1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d548f3a4c2d3b84e19fa441f19bb8dc6", "sha256": "e195d19f30fbfddd1812d579784fb0af0847a2465ee29dbbc5aa3af19a799364" }, "downloads": -1, "filename": "rtsf-locust-1.0.tar.gz", "has_sig": false, "md5_digest": "d548f3a4c2d3b84e19fa441f19bb8dc6", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <4", "size": 5228, "upload_time": "2018-11-04T08:05:43", "url": "https://files.pythonhosted.org/packages/1f/11/53290c455fa6bc0e14d08a563563eb84fc5d0aafe0793d2d0c23ac4ee57f/rtsf-locust-1.0.tar.gz" } ], "1.1": [ { "comment_text": "", "digests": { "md5": "fc0cc0af773788c852b6878593989bdf", "sha256": "171db37873b71ee46c97aadc156dbebe25213214e484aa1a183092b338b98aee" }, "downloads": -1, "filename": "rtsf_locust-1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "fc0cc0af773788c852b6878593989bdf", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <4", "size": 6391, "upload_time": "2018-11-04T08:14:22", "url": "https://files.pythonhosted.org/packages/f5/f2/91f33e191c142c288c841d941577fe27d5401a9f76cc5b09503bb9bb2714/rtsf_locust-1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8292c1eda544e6aa6430ae8ab00d0d7c", "sha256": "59a20ffea967727ec294611157d0a1b1126043de888407602037f5580eb9710f" }, "downloads": -1, "filename": "rtsf-locust-1.1.tar.gz", "has_sig": false, "md5_digest": "8292c1eda544e6aa6430ae8ab00d0d7c", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <4", "size": 5246, "upload_time": "2018-11-04T08:14:23", "url": "https://files.pythonhosted.org/packages/01/60/452357758aa975dd7edfa1c195ac0cc3567b3abdbab9dbdaff51505aa276/rtsf-locust-1.1.tar.gz" } ], "1.1.1": [ { "comment_text": "", "digests": { "md5": "d3db7ec594981be66ea92147f91193d6", "sha256": "54ec6b164c381f12b993ae9793e6cc27581e07d2d5f68f4eb76cab2e6e083eef" }, "downloads": -1, "filename": "rtsf_locust-1.1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "d3db7ec594981be66ea92147f91193d6", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <4", "size": 6907, "upload_time": "2018-11-04T08:17:38", "url": "https://files.pythonhosted.org/packages/9e/dd/da97702e8b71d92f23f3f6bdeb27031d6270a0f36561be329cb1cd1697d0/rtsf_locust-1.1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "af4586fba7648a1c063d9b15aa2dbd0c", "sha256": "1794f8132624493631fe20091b2d3a2742fcbdff56505004fc635229312e978c" }, "downloads": -1, "filename": "rtsf-locust-1.1.1.tar.gz", "has_sig": false, "md5_digest": "af4586fba7648a1c063d9b15aa2dbd0c", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <4", "size": 5469, "upload_time": "2018-11-04T08:17:39", "url": "https://files.pythonhosted.org/packages/3c/66/4dc3bd7096bee005fce338e4b7332731e1d05bc80408a84e706d8e1ca56b/rtsf-locust-1.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "d3db7ec594981be66ea92147f91193d6", "sha256": "54ec6b164c381f12b993ae9793e6cc27581e07d2d5f68f4eb76cab2e6e083eef" }, "downloads": -1, "filename": "rtsf_locust-1.1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "d3db7ec594981be66ea92147f91193d6", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <4", "size": 6907, "upload_time": "2018-11-04T08:17:38", "url": "https://files.pythonhosted.org/packages/9e/dd/da97702e8b71d92f23f3f6bdeb27031d6270a0f36561be329cb1cd1697d0/rtsf_locust-1.1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "af4586fba7648a1c063d9b15aa2dbd0c", "sha256": "1794f8132624493631fe20091b2d3a2742fcbdff56505004fc635229312e978c" }, "downloads": -1, "filename": "rtsf-locust-1.1.1.tar.gz", "has_sig": false, "md5_digest": "af4586fba7648a1c063d9b15aa2dbd0c", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <4", "size": 5469, "upload_time": "2018-11-04T08:17:39", "url": "https://files.pythonhosted.org/packages/3c/66/4dc3bd7096bee005fce338e4b7332731e1d05bc80408a84e706d8e1ca56b/rtsf-locust-1.1.1.tar.gz" } ] }