{"id":27555,"date":"2025-04-19T20:11:09","date_gmt":"2025-04-19T12:11:09","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/27555.html"},"modified":"2025-04-19T20:11:09","modified_gmt":"2025-04-19T12:11:09","slug":"jmeter%e5%a6%82%e4%bd%95%e8%bf%9b%e8%a1%8c%e5%a4%9a%e6%9c%8d%e5%8a%a1%e5%99%a8%e8%bf%9c%e7%a8%8b%e6%b5%8b%e8%af%95-3","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/27555.html","title":{"rendered":"JMeter\u5982\u4f55\u8fdb\u884c\u591a\u670d\u52a1\u5668\u8fdc\u7a0b\u6d4b\u8bd5"},"content":{"rendered":"<p>JMeter\u662fApache\u8f6f\u4ef6\u57fa\u91d1\u4f1a\u7684\u5f00\u6e90\u9879\u76ee&#xff0c;\u4e3b\u8981\u6765\u505a\u529f\u80fd\u548c\u6027\u80fd\u6d4b\u8bd5&#xff0c;\u7528Java\u7f16\u5199\u3002<\/p>\n<p>\u6211\u4eec\u4e00\u822c\u90fd\u4f1a\u7528JMeter\u5728\u672c\u5730\u8fdb\u884c\u6d4b\u8bd5&#xff0c;\u4f46\u662f\u53d7\u5230\u5355\u4e2a\u7535\u8111\u7684\u6027\u80fd\u5f71\u54cd&#xff0c;\u5f80\u5f80\u8fbe\u4e0d\u5230\u6027\u80fd\u6d4b\u8bd5\u7684\u8981\u6c42&#xff0c;\u65e0\u6cd5\u6709\u6548\u7684\u6a21\u62df\u9ad8\u5e76\u53d1\u7684\u573a\u666f&#xff0c;\u90a3\u4e48\u8fd9\u4e2a\u65f6\u5019&#xff0c;\u6211\u4eec\u5c31\u53ef\u4ee5\u501f\u7531JMeter\u63d0\u4f9b\u7684Romote Test\u6765\u8fdb\u884c\u8fdc\u7a0b\u7684\u6d4b\u8bd5\u3002<\/p>\n<p>\u5176\u5de5\u4f5c\u65b9\u5f0f\u5165\u4e0b\u56fe&#xff1a;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"793\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419121107-680392db22b49.png\" width=\"866\" \/><\/p>\n<p>\u6211\u4eec\u53ef\u4ee5\u5728\u591a\u53f0\u7535\u8111\u4e0a&#xff0c;\u542f\u52a8JMeter\u7684Romote Testing\u6a21\u5f0f&#xff0c;\u7136\u540e\u7528\u67d0\u4e00\u53f0\u670d\u52a1\u5668\u4f5c\u4e3aMaster\u7aef\u901a\u8fc7RMI\u63a7\u5236Slave\u7aef\u6765\u6267\u884c\u6211\u4eec\u7684\u6d4b\u8bd5\u811a\u672c\u3002\u5f53JMeter Slave\u7aef\u6267\u884c\u5b8c\u6d4b\u8bd5\u811a\u672c\u540e&#xff0c;\u4f1a\u5c06\u6267\u884c\u7ed3\u679c\u53d1\u9001\u56deMaster\u63a7\u5236\u7aef\u8fdb\u884c\u6c47\u603b&#xff0c;\u5f97\u51fa\u6574\u4f53\u7684\u6d4b\u8bd5\u62a5\u8868\u3002<\/p>\n<p>JMeter\u7684Romote Test\u6a21\u5f0f\u7684\u597d\u5904\u5c31\u662f\u53ef\u4ee5\u7528\u4e00\u53f0\u7ec8\u7aef\u3001\u4e00\u4e2a\u6d4b\u8bd5\u8ba1\u5212\u5728\u591a\u53f0\u670d\u52a1\u5668\u7aef\u540c\u65f6\u5bf9\u76ee\u6807\u670d\u52a1\u5668\u8fdb\u884c\u6d4b\u8bd5&#xff0c;\u5e76\u4e14\u5c06\u6d4b\u8bd5\u7684\u7ed3\u679c\u56de\u62a5\u7ed9\u7edf\u4e00\u7684\u63a7\u5236\u7ec8\u7aef\u8fdb\u884c\u6c47\u603b&#xff0c;\u65b9\u4fbf\u9ad8\u5e76\u53d1\u7684\u6d4b\u8bd5\u9700\u6c42\u3002<\/p>\n<p>\u4e0b\u9762\u4ecb\u7ecd\u4e0bJMeter\u8fd9\u79cd\u8fdc\u7a0b\u6d4b\u8bd5\u7684\u4f7f\u7528\u65b9\u6cd5\u3002<\/p>\n<p>Step 1: \u5728Slave\u7aef\u5b89\u88c5JMeter<\/p>\n<p>JMeter\u53ef\u4ee5\u4ece\u5b98\u7f51\u4e0b\u8f7d&#xff0c;\u4e0b\u8f7d\u5730\u5740&#xff1a;https:\/\/jmeter.apache.org\/download_jmeter.cgi<\/p>\n<p>\u7531\u4e8eJMeter\u7684\u8fd0\u884c\u9700\u8981Java\u73af\u5883&#xff0c;\u6240\u4ee5&#xff0c;\u670d\u52a1\u5668\u7aef\u4e5f\u5fc5\u987b\u5b89\u88c5Java\u3002<\/p>\n<p>\u6ce8\u610f&#xff1a;\u4e3a\u4e86Remote Testing\u6a21\u5f0f\u80fd\u6b63\u5e38\u5de5\u4f5c&#xff0c;\u5c3d\u91cf\u4fdd\u8bc1Slave\u7aef\u548cMaster\u7aef\u7684JMeter\u548cJava\u7248\u672c\u4e00\u81f4\u3002<\/p>\n<p>Step 2: Slave\u7aef\u8fd0\u884cJMeter<\/p>\n<p>\u5728JMeter\u7684bin\u76ee\u5f55\u4e0b&#xff0c;\u6267\u884c\u4e0b\u9762\u547d\u4ee4&#xff0c;\u5c31\u53ef\u4ee5\u4ee5\u670d\u52a1\u7684\u65b9\u5f0f\u542f\u52a8JMeter\u7684Slave\u7aef&#xff1a;<\/p>\n<p>jmeter-server <\/p>\n<p>JMeter Slave\u7aef&#xff0c;\u9ed8\u8ba4\u4f1a\u542f\u52a8RMI(Remote Method Invoke)\u673a\u5236&#xff0c;RMI\u7684\u9ed8\u8ba4\u7aef\u53e3\u4e3a1029&#xff0c;\u53ef\u4ee5\u5728\u6587\u4ef6jmeter.properties\u4e2d\u8fdb\u884c\u4fee\u6539\u3002<\/p>\n<p>\u53e6\u5916&#xff0c;\u4eceJMeter 4.0\u5f00\u59cb&#xff0c;RMI\u9ed8\u8ba4\u4f1a\u4f7f\u7528SSL\u8fde\u63a5&#xff0c;\u4e3a\u4e86\u80fd\u8ba9Slave\u7aef\u548cMaster\u7aef\u6b63\u5e38\u901a\u8baf&#xff0c;\u6211\u4eec\u9700\u8981\u751f\u6210\u5bf9\u5e94\u7684keys\u548ccertificates\u3002\u5728JMeter\u7684bin\u76ee\u5f55\u4e0b&#xff0c;\u81ea\u5e26JKS(Java KeyStore)\u6587\u4ef6\u751f\u6210\u547d\u4ee4\u3002<\/p>\n<p>\u5728JMeter\u7684bin\u76ee\u5f55\u4e0b\u8fd0\u884c\u5982\u4e0b\u7684\u547d\u4ee4&#xff0c;\u5e76\u6309\u7167\u63d0\u793a\u7b26\u8f93\u5165\u76f8\u5e94\u7684\u5185\u5bb9&#xff1a;<\/p>\n<li>\n<p>\u3000\u3000&gt;bin % .\/create-rmi-keystore.sh <\/p>\n<\/li>\n<li>\n<p>\u3000\u3000What is your first and last name?<\/p>\n<\/li>\n<li>\n<p>\u3000\u3000 [Unknown]: rmi<\/p>\n<\/li>\n<li>\n<p>\u3000\u3000What is the name of your organizational unit?<\/p>\n<\/li>\n<li>\n<p>\u3000\u3000 [Unknown]: unit<\/p>\n<\/li>\n<li>\n<p>\u3000\u3000What is the name of your organization?<\/p>\n<\/li>\n<li>\n<p>\u3000\u3000 [Unknown]: org<\/p>\n<\/li>\n<li>\n<p>\u3000\u3000What is the name of your City or Locality?<\/p>\n<\/li>\n<li>\n<p>\u3000\u3000 [Unknown]: city<\/p>\n<\/li>\n<li>\n<p>\u3000\u3000What is the name of your State or Province?<\/p>\n<\/li>\n<li>\n<p>\u3000\u3000 [Unknown]: prov<\/p>\n<\/li>\n<li>\n<p>\u3000\u3000What is the two-letter country code for this unit?<\/p>\n<\/li>\n<li>\n<p>\u3000\u3000 [Unknown]: cn<\/p>\n<\/li>\n<li>\n<p>\u3000\u3000Is CN&#061;rmi, OU&#061;unit, O&#061;org, L&#061;city, ST&#061;prov, C&#061;cn correct?<\/p>\n<\/li>\n<li>\n<p>\u3000\u3000 [no]: yes<\/p>\n<\/li>\n<li>\n<p>\u3000\u3000Enter key password for &lt;rmi&gt;<\/p>\n<\/li>\n<li>\n<p>\u3000\u3000 (RETURN if same as keystore password): <\/p>\n<\/li>\n<li>\n<p>\u3000\u3000Re-enter new password: <\/p>\n<\/li>\n<li>\n<p>\u3000\u3000Copy the generated rmi_keystore.jks to jmeter\/bin folder or reference it in property &#039;server.rmi.ssl.keystore.file&#039;<\/p>\n<\/li>\n<li><\/li>\n<p>\u6ce8\u610f&#xff1a;\u63d0\u793a\u7b26\u91cc\u9762\u7684\u5185\u5bb9&#xff0c;\u7b2c\u4e00\u6761\u7684\u540d\u5b57\u548c\u6700\u540e\u7684\u5bc6\u7801\u9700\u8981\u8bb0\u5f55\u4e0b\u6765&#xff0c;\u5176\u4ed6\u7684\u5185\u5bb9\u53ef\u4ee5\u4efb\u610f\u586b\u5199\u3002<\/p>\n<p>\u4f8b\u5982&#xff0c;\u6211\u8fd9\u91cc\u7684\u7b2c\u4e00\u6761\u586b\u5199\u7684name\u662frmi&#xff0c;\u6700\u540e\u7684\u5bc6\u7801\u8bbe\u7f6e\u4e3achangeit&#xff0c;\u5982\u679c\u4f60\u8fd9\u91cc\u586b\u4e86\u5176\u4ed6\u7684\u503c&#xff0c;\u90a3\u4e48&#xff0c;\u4f60\u9700\u8981\u5c06\u4f60\u7684\u503c\u5199\u5230jmeter.properties\u6587\u4ef6\u4e2d&#xff0c;\u5206\u522b\u5bf9\u5e94\u4e24\u4e2a\u5c5e\u6027&#xff1a;<\/p>\n<li>\n<p>server.rmi.ssl.keystore.alias<\/p>\n<\/li>\n<li><\/li>\n<li>\n<p>server.rmi.ssl.truststore.password<\/p>\n<\/li>\n<p>\u6700\u540e&#xff0c;\u6211\u4eec\u8fd8\u9700\u8981\u6309\u7167\u63d0\u793a&#xff0c;\u5c06\u751f\u6210\u7684rmi_keystore.jks\u6587\u4ef6\u590d\u5236\u5230\u9700\u8981\u8fde\u63a5\u7684JMeter\u7684bin\u76ee\u5f55\u4e0b\u3002\u5982\u679c\u653e\u5230\u5176\u4ed6\u76ee\u5f55\u4e0b&#xff0c;\u6211\u4eec\u9700\u8981\u5728jmeter.properties\u6587\u4ef6\u4e2d\u901a\u8fc7server.rmi.ssl.keystore.file\u6307\u5b9a.jks\u6587\u4ef6\u7684\u76ee\u5f55\u3002<\/p>\n<p>Step 3: Master\u63a7\u5236Slave\u6267\u884c\u6d4b\u8bd5\u811a\u672c<\/p>\n<p>\u5728Slave\u7aef\u542f\u52a8\u6210\u529f\u540e&#xff0c;\u6211\u4eec\u5c31\u53ef\u4ee5\u5c1d\u8bd5\u5728Master\u7aef\u8fdb\u884c\u8fde\u63a5\u63a7\u5236\u3002<\/p>\n<p>\u9996\u5148&#xff0c;\u6211\u4eec\u9700\u8981\u5c06\u8fdc\u7a0bJMeter\u670d\u52a1\u5668&#xff08;Slave\u7aef&#xff09;\u7684IP:Port\u6dfb\u52a0\u5230\u672c\u5730JMeter\u4e2d&#xff0c;\u65b9\u5f0f\u662f\u4fee\u6539\u672c\u5730bin\u76ee\u5f55\u4e0b\u7684jmeter.properties\u6587\u4ef6&#xff0c;\u5728\u5176\u4e2d\u627e\u5230remote_hosts&#xff0c;\u5c06\u81ea\u5df1\u7684\u8fdc\u7a0bJMeter\u7684host\u548c\u7aef\u53e3\u6dfb\u52a0\u5230\u8fd9\u91cc&#xff0c;\u5982\u679c\u6709\u591a\u4e2a&#xff0c;\u4f7f\u7528,\u5206\u9694\u3002<\/p>\n<p>remote_hosts&#061;&lt;server ip&gt;:1199 <\/p>\n<p>\u914d\u7f6e\u5b8c\u6210\u540e&#xff0c;\u6211\u4eec\u5c31\u53ef\u4ee5\u8fd0\u884c\u547d\u4ee4\u6765\u6267\u884c\u6211\u4eec\u7684\u6d4b\u8bd5\u8ba1\u5212&#xff1a;<\/p>\n<p>.\/jmeter.sh -n -t test.jmx -r <\/p>\n<p>-r: \u4f1a\u63a7\u5236\u5728remote_hosts\u4e2d\u914d\u7f6e\u7684\u6240\u6709Slave\u7aef\u6765\u6267\u884c\u6211\u4eec\u7684\u6d4b\u8bd5\u8ba1\u5212test.jmx&#xff1b;<\/p>\n<p>\u4f60\u4e5f\u53ef\u4ee5\u76f4\u63a5\u5728\u547d\u4ee4\u884c\u4e2d\u6765\u6307\u5b9a\u60f3\u8981\u63a7\u5236\u7684\u8fdc\u7a0bJMeter\u7684\u5177\u4f53IP:Port&#xff0c;\u547d\u4ee4\u5982\u4e0b&#xff1a;<\/p>\n<p>.\/jmeter.sh -n -t test.jmx -R&lt;IP&gt;:1099 <\/p>\n<p>\u95ee\u9898\u548c\u89e3\u51b3\u65b9\u6848<\/p>\n<p>\u8fd9\u91cc\u53ef\u80fd\u4f1a\u51fa\u73b0\u5f88\u591a\u95ee\u9898&#xff0c;\u4e0b\u9762\u5217\u51fa\u4e00\u4e9b\u6211\u8e29\u8fc7\u7684\u5751&#xff1a;<\/p>\n<p>1. Master\u62a5\u8fde\u63a5\u88ab\u62d2\u7edd&#xff0c;\u8fd9\u4e2a\u65f6\u5019\u4f60\u9700\u8981\u68c0\u67e5\u9632\u706b\u5899\u8bbe\u7f6e&#xff0c;\u662f\u5426\u5c4f\u853d\u4e86\u7aef\u53e3&#xff1b;<\/p>\n<p>2. Slave\u7aef\u542f\u52a8\u65f6&#xff0c;\u4f60\u4f1a\u53d1\u73b0\u6bcf\u6b21\u7684\u7aef\u53e3\u90fd\u662f\u968f\u673a\u7684&#xff0c;\u8fd9\u4e2a\u53ef\u80fd\u4f1a\u9020\u6210\u6bcf\u6b21\u90fd\u9700\u8981\u53bb\u4fee\u6539\u9632\u706b\u5899\u7684\u7aef\u53e3\u7b56\u7565&#xff0c;\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7\u4fee\u6539jmeter.properties\u4e2d\u7684server.rmi.localport\u6765\u8bbe\u7f6e\u4e00\u4e2a\u56fa\u5b9a\u7aef\u53e3\u53f7&#xff1b;<\/p>\n<p>3. \u67d0\u4e9b\u7279\u6b8a\u60c5\u51b5&#xff0c;\u4e5f\u4f1a\u51fa\u73b0\u5ba2\u6237\u7aef\u65e0\u6cd5\u8fde\u63a5\u7684\u95ee\u9898&#xff0c;\u6bd4\u5982&#xff0c;\u6709\u4e9b\u670d\u52a1\u5668\u662f\u6709\u53cc\u7f51\u5361\u7684&#xff0c;\u8fd9\u4e2a\u65f6\u5019&#xff0c;\u6211\u4eec\u53ef\u80fd\u5c31\u9700\u8981\u6307\u5b9aJMeter\u542f\u52a8\u7684\u670d\u52a1\u5668\u7aef\u7684IP&#xff0c;\u914d\u7f6e\u7684\u65b9\u5f0f\u662f\u4fee\u6539bin\/jmeter-server\u6587\u4ef6&#xff0c;\u5c06\u5176\u4e2d\u6ce8\u91ca\u7684\u4e00\u884c\u4fee\u6539\u5982\u4e0b&#xff1a;<\/p>\n<p>RMI_HOST_DEF&#061;-Djava.rmi.server.hostname&#061;1.2.3.4 <\/p>\n<p>\u8fd9\u91cc\u76841.2.3.4\u4e3a\u4f60\u8981\u6307\u5b9a\u7684\u7f51\u5361\u7684IP\u3002<\/p>\n<p>\u611f\u8c22\u6bcf\u4e00\u4e2a\u8ba4\u771f\u9605\u8bfb\u6211\u6587\u7ae0\u7684\u4eba&#xff01;&#xff01;&#xff01;<\/p>\n<p>\u4f5c\u4e3a\u4e00\u4f4d\u8fc7\u6765\u4eba\u4e5f\u662f\u5e0c\u671b\u5927\u5bb6\u5c11\u8d70\u4e00\u4e9b\u5f2f\u8def&#xff0c;\u5982\u679c\u4f60\u4e0d\u60f3\u518d\u4f53\u9a8c\u4e00\u6b21\u5b66\u4e60\u65f6\u627e\u4e0d\u5230\u8d44\u6599&#xff0c;\u6ca1\u4eba\u89e3\u7b54\u95ee\u9898&#xff0c;\u575a\u6301\u51e0\u5929\u4fbf\u653e\u5f03\u7684\u611f\u53d7\u7684\u8bdd&#xff0c;\u5728\u8fd9\u91cc\u6211\u7ed9\u5927\u5bb6\u5206\u4eab\u4e00\u4e9b\u81ea\u52a8\u5316\u6d4b\u8bd5\u7684\u5b66\u4e60\u8d44\u6e90&#xff0c;\u5e0c\u671b\u80fd\u7ed9\u4f60\u524d\u8fdb\u7684\u8def\u4e0a\u5e26\u6765\u5e2e\u52a9\u3002<\/p>\n<p><img decoding=\"async\" alt=\"\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419121107-680392db77d2e.png\" \/><\/p>\n<h6>\u8f6f\u4ef6\u6d4b\u8bd5\u9762\u8bd5\u6587\u6863<\/h6>\n<p>\u6211\u4eec\u5b66\u4e60\u5fc5\u7136\u662f\u4e3a\u4e86\u627e\u5230\u9ad8\u85aa\u7684\u5de5\u4f5c&#xff0c;\u4e0b\u9762\u8fd9\u4e9b\u9762\u8bd5\u9898\u662f\u6765\u81ea\u963f\u91cc\u3001\u817e\u8baf\u3001\u5b57\u8282\u7b49\u4e00\u7ebf\u4e92\u8054\u7f51\u5927\u5382\u6700\u65b0\u7684\u9762\u8bd5\u8d44\u6599&#xff0c;\u5e76\u4e14\u6709\u5b57\u8282\u5927\u4f6c\u7ed9\u51fa\u4e86\u6743\u5a01\u7684\u89e3\u7b54&#xff0c;\u5237\u5b8c\u8fd9\u4e00\u5957\u9762\u8bd5\u8d44\u6599\u76f8\u4fe1\u5927\u5bb6\u90fd\u80fd\u627e\u5230\u6ee1\u610f\u7684\u5de5\u4f5c\u3002<\/p>\n<p><img decoding=\"async\" alt=\"\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419121107-680392dba4bc6.jpg\" \/><\/p>\n<p>\u00a0<img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"385\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419121108-680392dc74f20.png\" width=\"786\" \/><\/p>\n<p>\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u89c6\u9891\u6587\u6863\u83b7\u53d6\u65b9\u5f0f&#xff1a; \u8fd9\u4efd\u6587\u6863\u548c\u89c6\u9891\u8d44\u6599&#xff0c;\u5bf9\u4e8e\u60f3\u4ece\u4e8b\u3010\u8f6f\u4ef6\u6d4b\u8bd5\u3011\u7684\u670b\u53cb\u6765\u8bf4\u5e94\u8be5\u662f\u6700\u5168\u9762\u6700\u5b8c\u6574\u7684\u5907\u6218\u4ed3\u5e93&#xff0c;\u8fd9\u4e2a\u4ed3\u5e93\u4e5f\u966a\u4f34\u6211\u8d70\u8fc7\u4e86\u6700\u8270\u96be\u7684\u8def\u7a0b&#xff0c;\u5e0c\u671b\u4e5f\u80fd\u5e2e\u52a9\u5230\u4f60&#xff01;\u4ee5\u4e0a\u5747\u53ef\u4ee5\u5206\u4eab&#xff0c;\u70b9\u4e0b\u65b9\u5c0f\u5361\u7247\u5373\u53ef\u81ea\u884c\u9886\u53d6\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb869\u6b21\uff0c\u70b9\u8d5e17\u6b21\uff0c\u6536\u85cf18\u6b21\u3002\u9996\u5148\uff0c\u6211\u4eec\u9700\u8981\u5c06\u8fdc\u7a0bJMeter\u670d\u52a1\u5668\uff08Slave\u7aef\uff09\u7684IP:Port\u6dfb\u52a0\u5230\u672c\u5730JMeter\u4e2d\uff0c\u65b9\u5f0f\u662f\u4fee\u6539\u672c\u5730bin\u76ee\u5f55\u4e0b\u7684jmeter.properties\u6587\u4ef6\uff0c\u5728\u5176\u4e2d\u627e\u5230remote_hosts\uff0c\u5c06\u81ea\u5df1\u7684\u8fdc\u7a0bJMeter\u7684host\u548c\u7aef\u53e3\u6dfb\u52a0\u5230\u8fd9\u91cc\uff0c\u5982\u679c\u6709\u591a\u4e2a\uff0c\u4f7f\u7528,\u5206\u9694\u3002\u6211\u4eec\u4e00\u822c\u90fd\u4f1a\u7528JMeter\u5728\u672c\u5730\u8fdb\u884c\u6d4b\u8bd5\uff0c\u4f46\u662f\u53d7\u5230\u5355\u4e2a\u7535\u8111\u7684\u6027\u80fd\u5f71\u54cd\uff0c\u5f80\u5f80\u8fbe\u4e0d\u5230\u6027\u80fd\u6d4b\u8bd5\u7684\u8981\u6c42\uff0c\u65e0\u6cd5\u6709\u6548\u7684\u6a21\u62df\u9ad8\u5e76\u53d1\u7684\u573a\u666f\uff0c\u90a3\u4e48\u8fd9\u4e2a\u65f6\u5019\uff0c\u6211\u4eec\u5c31\u53ef\u4ee5\u501f\u7531JMeter\u63d0\u4f9b\u7684Romote Test\u6765\u8fdb\u884c\u8fdc\u7a0b\u7684\u6d4b\u8bd5\u3002_jmeter\u8fdc\u7a0b \u4fee\u6539\u7aef\u53e3<\/p>\n","protected":false},"author":2,"featured_media":27551,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[135,43,462,461],"topic":[],"class_list":["post-27555","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-jmeter","tag-43","tag-462","tag-461"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>JMeter\u5982\u4f55\u8fdb\u884c\u591a\u670d\u52a1\u5668\u8fdc\u7a0b\u6d4b\u8bd5 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/27555.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"JMeter\u5982\u4f55\u8fdb\u884c\u591a\u670d\u52a1\u5668\u8fdc\u7a0b\u6d4b\u8bd5 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb869\u6b21\uff0c\u70b9\u8d5e17\u6b21\uff0c\u6536\u85cf18\u6b21\u3002\u9996\u5148\uff0c\u6211\u4eec\u9700\u8981\u5c06\u8fdc\u7a0bJMeter\u670d\u52a1\u5668\uff08Slave\u7aef\uff09\u7684IP:Port\u6dfb\u52a0\u5230\u672c\u5730JMeter\u4e2d\uff0c\u65b9\u5f0f\u662f\u4fee\u6539\u672c\u5730bin\u76ee\u5f55\u4e0b\u7684jmeter.properties\u6587\u4ef6\uff0c\u5728\u5176\u4e2d\u627e\u5230remote_hosts\uff0c\u5c06\u81ea\u5df1\u7684\u8fdc\u7a0bJMeter\u7684host\u548c\u7aef\u53e3\u6dfb\u52a0\u5230\u8fd9\u91cc\uff0c\u5982\u679c\u6709\u591a\u4e2a\uff0c\u4f7f\u7528,\u5206\u9694\u3002\u6211\u4eec\u4e00\u822c\u90fd\u4f1a\u7528JMeter\u5728\u672c\u5730\u8fdb\u884c\u6d4b\u8bd5\uff0c\u4f46\u662f\u53d7\u5230\u5355\u4e2a\u7535\u8111\u7684\u6027\u80fd\u5f71\u54cd\uff0c\u5f80\u5f80\u8fbe\u4e0d\u5230\u6027\u80fd\u6d4b\u8bd5\u7684\u8981\u6c42\uff0c\u65e0\u6cd5\u6709\u6548\u7684\u6a21\u62df\u9ad8\u5e76\u53d1\u7684\u573a\u666f\uff0c\u90a3\u4e48\u8fd9\u4e2a\u65f6\u5019\uff0c\u6211\u4eec\u5c31\u53ef\u4ee5\u501f\u7531JMeter\u63d0\u4f9b\u7684Romote Test\u6765\u8fdb\u884c\u8fdc\u7a0b\u7684\u6d4b\u8bd5\u3002_jmeter\u8fdc\u7a0b \u4fee\u6539\u7aef\u53e3\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/27555.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-04-19T12:11:09+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419121107-680392db22b49.png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/27555.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/27555.html\",\"name\":\"JMeter\u5982\u4f55\u8fdb\u884c\u591a\u670d\u52a1\u5668\u8fdc\u7a0b\u6d4b\u8bd5 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-04-19T12:11:09+00:00\",\"dateModified\":\"2025-04-19T12:11:09+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/27555.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/27555.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/27555.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"JMeter\u5982\u4f55\u8fdb\u884c\u591a\u670d\u52a1\u5668\u8fdc\u7a0b\u6d4b\u8bd5\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"JMeter\u5982\u4f55\u8fdb\u884c\u591a\u670d\u52a1\u5668\u8fdc\u7a0b\u6d4b\u8bd5 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/27555.html","og_locale":"zh_CN","og_type":"article","og_title":"JMeter\u5982\u4f55\u8fdb\u884c\u591a\u670d\u52a1\u5668\u8fdc\u7a0b\u6d4b\u8bd5 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb869\u6b21\uff0c\u70b9\u8d5e17\u6b21\uff0c\u6536\u85cf18\u6b21\u3002\u9996\u5148\uff0c\u6211\u4eec\u9700\u8981\u5c06\u8fdc\u7a0bJMeter\u670d\u52a1\u5668\uff08Slave\u7aef\uff09\u7684IP:Port\u6dfb\u52a0\u5230\u672c\u5730JMeter\u4e2d\uff0c\u65b9\u5f0f\u662f\u4fee\u6539\u672c\u5730bin\u76ee\u5f55\u4e0b\u7684jmeter.properties\u6587\u4ef6\uff0c\u5728\u5176\u4e2d\u627e\u5230remote_hosts\uff0c\u5c06\u81ea\u5df1\u7684\u8fdc\u7a0bJMeter\u7684host\u548c\u7aef\u53e3\u6dfb\u52a0\u5230\u8fd9\u91cc\uff0c\u5982\u679c\u6709\u591a\u4e2a\uff0c\u4f7f\u7528,\u5206\u9694\u3002\u6211\u4eec\u4e00\u822c\u90fd\u4f1a\u7528JMeter\u5728\u672c\u5730\u8fdb\u884c\u6d4b\u8bd5\uff0c\u4f46\u662f\u53d7\u5230\u5355\u4e2a\u7535\u8111\u7684\u6027\u80fd\u5f71\u54cd\uff0c\u5f80\u5f80\u8fbe\u4e0d\u5230\u6027\u80fd\u6d4b\u8bd5\u7684\u8981\u6c42\uff0c\u65e0\u6cd5\u6709\u6548\u7684\u6a21\u62df\u9ad8\u5e76\u53d1\u7684\u573a\u666f\uff0c\u90a3\u4e48\u8fd9\u4e2a\u65f6\u5019\uff0c\u6211\u4eec\u5c31\u53ef\u4ee5\u501f\u7531JMeter\u63d0\u4f9b\u7684Romote Test\u6765\u8fdb\u884c\u8fdc\u7a0b\u7684\u6d4b\u8bd5\u3002_jmeter\u8fdc\u7a0b \u4fee\u6539\u7aef\u53e3","og_url":"https:\/\/www.wsisp.com\/helps\/27555.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-04-19T12:11:09+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419121107-680392db22b49.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/27555.html","url":"https:\/\/www.wsisp.com\/helps\/27555.html","name":"JMeter\u5982\u4f55\u8fdb\u884c\u591a\u670d\u52a1\u5668\u8fdc\u7a0b\u6d4b\u8bd5 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-04-19T12:11:09+00:00","dateModified":"2025-04-19T12:11:09+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/27555.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/27555.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/27555.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"JMeter\u5982\u4f55\u8fdb\u884c\u591a\u670d\u52a1\u5668\u8fdc\u7a0b\u6d4b\u8bd5"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/27555","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=27555"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/27555\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/27551"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=27555"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=27555"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=27555"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=27555"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}