{"id":1323,"date":"2015-06-24T15:55:26","date_gmt":"2015-06-24T06:55:26","guid":{"rendered":"http:\/\/www.otwo.jp\/blog\/?p=1323"},"modified":"2019-06-19T17:06:37","modified_gmt":"2019-06-19T08:06:37","slug":"jmeter_study1","status":"publish","type":"post","link":"https:\/\/www.otwo.jp\/blog\/jmeter_study1\/","title":{"rendered":"\u3010JMeter\u8b1b\u5ea7\u2460\uff08\u5168\uff13\u56de\uff09\u3011\u30ab\u30a6\u30f3\u30bf\uff0fRandom Variable\uff0fCSV Data Set Config"},"content":{"rendered":"<p>\u3069\u3046\u3082\u3001\u958b\u767a2\u90e8\u3067\u30b5\u30fc\u30d0\u62c5\u5f53\u3057\u3066\u308b\u5c71\u672c\u3067\u3059\u3002<\/p>\n<p>\u3054\u7121\u6c99\u6c70\u3057\u3066\u3044\u307e\u3057\u305f\u304c\u3001\u4eca\u56de\u306fJMeter\uff08\u30b8\u30a7\u30a4\u30e1\u30fc\u30bf\u30fc\uff09\u306b\u3064\u3044\u3066\u66f8\u3044\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n<p><!--more--><\/p>\n<p>\u6700\u8fd1\u306e\u30b5\u30fc\u30d0\u30fc\u30b5\u30a4\u30c9\u306e\u958b\u767a\u3067\u306f\u30cd\u30a4\u30c6\u30a3\u30d6\u30a2\u30d7\u30ea\u3067\u5229\u7528\u3059\u308bAPI\u306e\u958b\u767a\u304c\u30e1\u30a4\u30f3\u3067\u3001<br \/>\n\u305d\u306e\u5834\u5408\u306fjson\u5f62\u5f0f\u3067\u30a2\u30d7\u30ea\u3068\u3084\u308a\u53d6\u308a\u3059\u308b\u3053\u3068\u304c\u591a\u3044\u3067\u3059\u3002<\/p>\n<p>\u5f0a\u793e\u3067\u306f\u8ca0\u8377\u8a66\u9a13\u306bJMeter\u3092\u5229\u7528\u3057\u3066\u304a\u308a\u307e\u3059\u304c\u3001<br \/>\nJMeter\u306f\u30ec\u30b9\u30dd\u30f3\u30b9\u304chtml\u3067\u306a\u304f\u3001json\u306b\u306a\u3063\u3066\u3082\u554f\u984c\u306a\u304f\u4f7f\u3048\u307e\u3059\u3002<br \/>\n\u8ca0\u8377\u8a66\u9a13\u306e\u5b9a\u756a\u30c4\u30fc\u30eb\u306a\u306e\u3067\u65e2\u306b\u4f7f\u3063\u3066\u304a\u3089\u308c\u308b\u65b9\u3082\u591a\u3044\u306e\u3067\u306f\u306a\u3044\u3067\u3057\u3087\u3046\u304b\u3002<\/p>\n<p>\u3053\u306eJMeter\u306e\u3044\u304f\u3064\u304b\u306e\u6a5f\u80fd\u3092\u60f3\u5b9a\u3055\u308c\u308b\u5229\u7528\u30b1\u30fc\u30b9\u3092\u4ea4\u3048\u306a\u304c\u3089<br \/>\n3\u56de\u306b\u5206\u3051\u3066\u7d39\u4ecb\u3057\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u25bc\u5168\u8a18\u4e8b\u306f\u3053\u3061\u3089\u3010JMeter\u8b1b\u5ea7\u2462\uff08\u5168\uff13\u56de\uff09\u3011<br \/>\n<a href=\"http:\/\/www.otwo.jp\/blog\/server\/jmeter_study1\/\">\u3010JMeter\u8b1b\u5ea7\u2460\uff08\u5168\uff13\u56de\uff09\u3011\u30ab\u30a6\u30f3\u30bf\uff0fRandom Variable\uff0fCSV Data Set Config<\/a><br \/>\n<a href=\"http:\/\/www.otwo.jp\/blog\/server\/jmeter_study2\/\">\u3010JMeter\u8b1b\u5ea7\u2461\uff08\u5168\uff13\u56de\uff09\u3011\u6b63\u898f\u8868\u73fe\u62bd\u51fa\uff0fBeanShell PostProcessor<\/a><br \/>\n<a href=\"http:\/\/www.otwo.jp\/blog\/server\/jmeter_study_3\/\">\u3010JMeter\u8b1b\u5ea7\u2462\uff08\u5168\uff13\u56de\uff09\u3011BeanShell PreProcessor<\/a><br \/>\n<\/br><\/p>\n<hr \/>\n<p>\u4eca\u56de\u7d39\u4ecb\u3059\u308b\u306e\u306f\u4ee5\u4e0b\u306e\u6a5f\u80fd\u3067\u3059\u3002<\/p>\n<ul>\n<li>\u30ab\u30a6\u30f3\u30bf<\/li>\n<li>Random Variable<\/li>\n<li>CSV Data Set Config<\/li>\n<\/ul>\n<h2>\u6e96\u5099<\/h2>\n<p>JMeter\u306f\u2193\u304b\u3089\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u51fa\u6765\u307e\u3059\u3002<br \/>\n<a href=\"http:\/\/jmeter.apache.org\/download_jmeter.cgi\" target=\"_blank\" rel=\"noopener noreferrer\">http:\/\/jmeter.apache.org\/download_jmeter.cgi<\/a><\/p>\n<p>\u4eca\u56de\u306fapache-jmeter-2.13.zip\u3092\u4f7f\u3044\u307e\u3057\u305f\u3002<br \/>\nLhaplus\u3067\u5c55\u958b\u3057\u305f\u3068\u3053\u308d\u30a8\u30e9\u30fc\u304c\u51fa\u3066\u5c55\u958b\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f\u304c<br \/>\n7-zip\u3067\u5c55\u958b\u3057\u305f\u3089\u3046\u307e\u304f\u3044\u304d\u307e\u3057\u305f^^;<\/p>\n<p>\u4f7f\u3044\u65b9\u306fTECHSCORE\u3055\u3093\u306e\u30da\u30fc\u30b8\u3067\u5206\u304b\u308a\u3084\u3059\u304f\u7d39\u4ecb\u3055\u308c\u3066\u307e\u3059\u3002<br \/>\n<a href=\"http:\/\/www.techscore.com\/tech\/Java\/ApacheJakarta\/JMeter\/index\/\" target=\"_blank\" rel=\"noopener noreferrer\">http:\/\/www.techscore.com\/tech\/Java\/ApacheJakarta\/JMeter\/index\/<\/a><br \/>\n<\/br><\/p>\n<p><a href=\"http:\/\/www.otwo.jp\/blog\/wp-content\/uploads\/2015\/06\/2015051515443.png\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" loading=\"lazy\" src=\"http:\/\/www.otwo.jp\/blog\/wp-content\/uploads\/2015\/06\/2015051515442.png\" alt=\"201505151544\" width=\"1000\" height=\"543\" class=\"alignnone size-full wp-image-1395\" srcset=\"https:\/\/www.otwo.jp\/blog\/wp-content\/uploads\/2015\/06\/2015051515442.png 1000w, https:\/\/www.otwo.jp\/blog\/wp-content\/uploads\/2015\/06\/2015051515442-300x162.png 300w\" sizes=\"(max-width: 1000px) 100vw, 1000px\" \/><\/a><\/p>\n<h1>\u30ab\u30a6\u30f3\u30bf<\/h1>\n<p>JMeter\u3067\u306f\u30b7\u30ca\u30ea\u30aa\u306e\u4e2d\u3067\u30e6\u30fc\u30b6\u30fc\u5b9a\u7fa9\u5909\u6570\u3092\u6271\u3046\u3053\u3068\u304c\u3067\u304d\u308b\u306e\u3067\u3059\u304c\u3001<br \/>\n\u5b9f\u884c\u6bce\u306b\u30ab\u30a6\u30f3\u30c8\u30a2\u30c3\u30d7\u3059\u308b\u3088\u3046\u306a\u7c21\u5358\u306a\u30ab\u30a6\u30f3\u30bf\u3067\u3042\u308c\u3070\u4e88\u3081\u4fbf\u5229\u306a\u6a5f\u80fd\u304c\u7528\u610f\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><a href=\"http:\/\/www.otwo.jp\/blog\/wp-content\/uploads\/2015\/06\/2015051517111.png\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" loading=\"lazy\" src=\"http:\/\/www.otwo.jp\/blog\/wp-content\/uploads\/2015\/06\/2015051517111.png\" alt=\"201505151711\" width=\"1000\" height=\"543\" class=\"alignnone size-full wp-image-1360\" \/><\/a><\/p>\n<p><\/br><br \/>\n\u4e0a\u306e\u4f8b\u3067\u306f\u521d\u671f\u50241\u3001\u5897\u52061\u306e\u30ab\u30a6\u30f3\u30bf\u3092\u5b9a\u7fa9\u3057\u3066\u304a\u308a\u3001<br \/>\n\u5f8c\u306e\u51e6\u7406\u3067\u306f${test_counter}\u3067\u53c2\u7167\u3067\u304d\u307e\u3059\u3002<br \/>\n\u30ab\u30a6\u30f3\u30bf\u306f\u300c\u8a2d\u5b9a\u30a8\u30ec\u30e1\u30f3\u30c8\u300d\u300c\u30ab\u30a6\u30f3\u30bf\u300d\u304b\u3089\u8ffd\u52a0\u3067\u304d\u307e\u3059\u3002<br \/>\n<\/br><\/p>\n<p><a href=\"http:\/\/www.otwo.jp\/blog\/wp-content\/uploads\/2015\/06\/2015051517161.png\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" loading=\"lazy\" src=\"http:\/\/www.otwo.jp\/blog\/wp-content\/uploads\/2015\/06\/2015051517161.png\" alt=\"201505151716\" width=\"1000\" height=\"543\" class=\"alignnone size-full wp-image-1361\" \/><\/a><\/p>\n<p><a href=\"http:\/\/www.otwo.jp\/blog\/wp-content\/uploads\/2015\/06\/2015051517181.png\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" loading=\"lazy\" src=\"http:\/\/www.otwo.jp\/blog\/wp-content\/uploads\/2015\/06\/2015051517181.png\" alt=\"201505151718\" width=\"1000\" height=\"543\" class=\"alignnone size-full wp-image-1362\" \/><\/a><\/p>\n<p><a href=\"http:\/\/www.otwo.jp\/blog\/wp-content\/uploads\/2015\/06\/2015051517191.png\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" loading=\"lazy\" src=\"http:\/\/www.otwo.jp\/blog\/wp-content\/uploads\/2015\/06\/2015051517191.png\" alt=\"201505151719\" width=\"1000\" height=\"543\" class=\"alignnone size-full wp-image-1363\" \/><\/a><\/p>\n<p>\u5f8c\u306e\u51e6\u7406\u3067\u306f\u3053\u306e\u3088\u3046\u306b\u5229\u7528\u3067\u304d\u307e\u3059\u3002<br \/>\n\u4f8b\u3048\u3070\u30e6\u30fc\u30b6\u30fc\u767b\u9332\u306eAPI\u3092\u5b9f\u884c\u3059\u308b\u969b\u3001\u30e6\u30fc\u30b6\u30fc\u540d\u306b\u9023\u756a\u3092\u4ed8\u3051\u308b\u5834\u5408\u306b\u4f7f\u3048\u307e\u3059\u3002<\/p>\n<h1>Random Variable<\/h1>\n<p>\u30e6\u30fc\u30b6\u30fc\u306e\u9078\u629e\u80a2\u3084\u30a4\u30f3\u30b2\u30fc\u30e0\u306e\u7d50\u679c\u306a\u3069\u64cd\u4f5c\u306b\u3088\u308a\u30d1\u30e9\u30e1\u30fc\u30bf\u304c\u5909\u308f\u308b\u5834\u5408\u306fRandom Variable\u304c\u4fbf\u5229\u3067\u3059\u3002<br \/>\nRandom Variable\u306f\u300c\u8a2d\u5b9a\u30a8\u30ec\u30e1\u30f3\u30c8\u300d\u300cRandom Variable\u300d\u304b\u3089\u8ffd\u52a0\u3067\u304d\u307e\u3059\u3002<\/p>\n<p><a href=\"http:\/\/www.otwo.jp\/blog\/wp-content\/uploads\/2015\/06\/2015051811511.png\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" loading=\"lazy\" src=\"http:\/\/www.otwo.jp\/blog\/wp-content\/uploads\/2015\/06\/2015051811511.png\" alt=\"201505181151\" width=\"1000\" height=\"543\" class=\"alignnone size-full wp-image-1364\" \/><\/a><\/p>\n<p><a href=\"http:\/\/www.otwo.jp\/blog\/wp-content\/uploads\/2015\/06\/2015051811521.png\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" loading=\"lazy\" src=\"http:\/\/www.otwo.jp\/blog\/wp-content\/uploads\/2015\/06\/2015051811521.png\" alt=\"201505181152\" width=\"1000\" height=\"543\" class=\"alignnone size-full wp-image-1365\" \/><\/a><\/p>\n<p><a href=\"http:\/\/www.otwo.jp\/blog\/wp-content\/uploads\/2015\/06\/2015051811531.png\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" loading=\"lazy\" src=\"http:\/\/www.otwo.jp\/blog\/wp-content\/uploads\/2015\/06\/2015051811531.png\" alt=\"201505181153\" width=\"1000\" height=\"543\" class=\"alignnone size-full wp-image-1366\" \/><\/a><\/p>\n<p><a href=\"http:\/\/www.otwo.jp\/blog\/wp-content\/uploads\/2015\/06\/2015051811541.png\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" loading=\"lazy\" src=\"http:\/\/www.otwo.jp\/blog\/wp-content\/uploads\/2015\/06\/2015051811541.png\" alt=\"201505181154\" width=\"1000\" height=\"543\" class=\"alignnone size-full wp-image-1354\" \/><\/a><\/p>\n<p>\u4e0a\u306e\u4f8b\u3067\u306f1\uff5e3\u306e\u4e71\u6570\u3092\u767a\u751f\u3055\u305b\u3066\u5229\u7528\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<h1>CSV Data Set Config<\/h1>\n<p>CSV Data Set Config\u3092\u4f7f\u3048\u3070\u3001CSV\u30d5\u30a1\u30a4\u30eb\u304b\u3089\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u53d6\u5f97\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<br \/>\nCSV Data Set Config\u306f\u300c\u8a2d\u5b9a\u30a8\u30ec\u30e1\u30f3\u30c8\u300d\u300cCSV Data Set Config\u300d\u304b\u3089\u8ffd\u52a0\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u30c6\u30b9\u30c8\u3067\u4f7f\u3046CSV\u306f\u4ee5\u4e0b\u306e\u5185\u5bb9\u3067\u3001\u300c\u30e6\u30fc\u30b6\u30fcID\u300d,\u300c\u9078\u629e\u300d\u306e\u30a4\u30e1\u30fc\u30b8\u3067\u3059\u3002<\/p>\n<pre class=\"brush: python\r; notranslate\">75,1\r\n171,2\r\n645,3\r\n810,4\r\n1147,1\r\n1210,2\r\n1218,3\r\n1369,4\r\n1608,1\r\n1629,2\r\n<\/pre>\n<p><\/br><\/p>\n<p><a href=\"http:\/\/www.otwo.jp\/blog\/wp-content\/uploads\/2015\/06\/2015052215081.png\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" loading=\"lazy\" src=\"http:\/\/www.otwo.jp\/blog\/wp-content\/uploads\/2015\/06\/2015052215081.png\" alt=\"201505221508\" width=\"1000\" height=\"543\" class=\"alignnone size-full wp-image-1355\" \/><\/a><\/p>\n<p><a href=\"http:\/\/www.otwo.jp\/blog\/wp-content\/uploads\/2015\/06\/2015052215114.png\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" loading=\"lazy\" src=\"http:\/\/www.otwo.jp\/blog\/wp-content\/uploads\/2015\/06\/2015052215114.png\" alt=\"201505221511\" width=\"1000\" height=\"543\" class=\"alignnone size-full wp-image-1356\" \/><\/a><\/p>\n<p><a href=\"http:\/\/www.otwo.jp\/blog\/wp-content\/uploads\/2015\/06\/2015052215121.png\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" loading=\"lazy\" src=\"http:\/\/www.otwo.jp\/blog\/wp-content\/uploads\/2015\/06\/2015052215121.png\" alt=\"201505221512\" width=\"1000\" height=\"543\" class=\"alignnone size-full wp-image-1357\" \/><\/a><\/p>\n<p><a href=\"http:\/\/www.otwo.jp\/blog\/wp-content\/uploads\/2015\/06\/2015052215132.png\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" loading=\"lazy\" src=\"http:\/\/www.otwo.jp\/blog\/wp-content\/uploads\/2015\/06\/2015052215132.png\" alt=\"201505221513\" width=\"1000\" height=\"543\" class=\"alignnone size-full wp-image-1358\" \/><\/a><\/p>\n<p>\u4e0a\u306e\u4f8b\u306e\u3088\u3046\u306b\u8907\u6570\u9805\u76ee\u3001\u8907\u6570\u30ec\u30b3\u30fc\u30c9\u3092\u30d1\u30e9\u30e1\u30fc\u30bf\u3068\u3057\u3066\u5229\u7528\u3067\u304d\u308b\u306e\u3067\u3001<br \/>\n\u4e88\u3081\u30c6\u30b9\u30c8\u30e6\u30fc\u30b6\u30fc\u306eID\u3084\u30b7\u30ca\u30ea\u30aa\u304c\u6c7a\u307e\u3063\u3066\u3044\u308b\u5834\u5408\u306b\u5f79\u7acb\u3061\u307e\u3059\u3002<\/p>\n<hr \/>\n<p>\u3044\u304b\u304c\u3067\u3057\u305f\u3067\u3057\u3087\u3046\u304b\u3002<br \/>\n\u4eca\u56de\u306f\u5909\u6570\u5468\u308a\u306e\u6a5f\u80fd\u3067\u3088\u304f\u4f7f\u3044\u305d\u3046\u306a\u3082\u306e\u3092\u30d4\u30c3\u30af\u30a2\u30c3\u30d7\u3057\u3066\u307f\u307e\u3057\u305f\u3002<br \/>\n\u6b21\u56de\u306f\u30b5\u30fc\u30d0\u30fc\u304b\u3089\u8fd4\u5374\u3055\u308c\u305fjson\u306e\u5185\u5bb9\u3092<br \/>\n\u5f8c\u7d9a\u306e\u30ea\u30af\u30a8\u30b9\u30c8\u3067\u5229\u7528\u3059\u308b\u65b9\u6cd5\u3092\u7d39\u4ecb\u3059\u308b\u4e88\u5b9a\u3067\u3059\u306e\u3067\u304a\u697d\u3057\u307f\u306b\uff01\uff01<\/p>\n<p>\u3067\u306f\u3067\u306f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3069\u3046\u3082\u3001\u958b\u767a2\u90e8\u3067\u30b5\u30fc\u30d0\u62c5\u5f53\u3057\u3066\u308b\u5c71\u672c\u3067\u3059\u3002 \u3054\u7121\u6c99\u6c70\u3057\u3066\u3044\u307e\u3057\u305f\u304c\u3001\u4eca\u56de\u306fJMeter\uff08\u30b8\u30a7\u30a4\u30e1\u30fc\u30bf\u30fc\uff09\u306b\u3064\u3044\u3066\u66f8\u3044\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n","protected":false},"author":4,"featured_media":1556,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[2],"tags":[9],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.otwo.jp\/blog\/wp-json\/wp\/v2\/posts\/1323"}],"collection":[{"href":"https:\/\/www.otwo.jp\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.otwo.jp\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.otwo.jp\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.otwo.jp\/blog\/wp-json\/wp\/v2\/comments?post=1323"}],"version-history":[{"count":26,"href":"https:\/\/www.otwo.jp\/blog\/wp-json\/wp\/v2\/posts\/1323\/revisions"}],"predecessor-version":[{"id":4792,"href":"https:\/\/www.otwo.jp\/blog\/wp-json\/wp\/v2\/posts\/1323\/revisions\/4792"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.otwo.jp\/blog\/wp-json\/wp\/v2\/media\/1556"}],"wp:attachment":[{"href":"https:\/\/www.otwo.jp\/blog\/wp-json\/wp\/v2\/media?parent=1323"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.otwo.jp\/blog\/wp-json\/wp\/v2\/categories?post=1323"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.otwo.jp\/blog\/wp-json\/wp\/v2\/tags?post=1323"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}