ã¯ããã«
ãçè ãããã¾ã§è¦ã¦ããWebã·ã¹ãã ã®ä¸ã«ã¯ãæ©è½ä»æ§ãæºããã¦ãããã®ã®ãããã©ã¼ãã³ã¹ã®ç¹ã§ã¦ã¼ã¶ã大ããªä¸æºãæ±ãã¦ããã±ã¼ã¹ãçããããã¾ããã§ããããã®çç±ã¨ãã¦ãè² è·ãã¹ãï¼ã¾ãã¯ãã¹ãã¬ã¹ãã¹ãï¼ãã»ã¨ãã©è¡ããã¦ããªããã¾ãã¯å ¨ãè¡ããã¦ããªãã±ã¼ã¹ã§ãããã¨ãå¤ãã£ãã®ã§ããä¸ç¹å®å¤æ°ã®ã¦ã¼ã¶ãå©ç¨ããWebã¢ããªã±ã¼ã·ã§ã³ã§ã¯ãã©ãã»ã©ä¾¿å©ãªæ©è½ããã£ãã¨ãã¦ããååãªããã©ã¼ãã³ã¹ãåºãªããã°ãã¦ã¼ã¶ããªãã£ãæãªã£ã¦ãã¾ãã¾ãã
ãããã§ãæ¬ç¨¿ã§ã¯è² è·ãã¹ããã¼ã«ã§ããJMeterã使ããWebã¢ããªã±ã¼ã·ã§ã³ã«å¯¾ãã¦è² è·ãã¹ããè¡ãæ¹æ³ã解説ãã¾ãã
対象èªè
ãWebã¢ããªã±ã¼ã·ã§ã³ã®éçºãè¡ã£ã¦ãã¦ãJMeterã使ã£ãåºæ¬çãªè² è·ãã¹ãã®æ¹æ³ãå¦ç¿ãããæ¹ãéçºè¨èªã¯åãã¾ããã
ç°å¢
å¿ é ç°å¢
ãæ¬ç¨¿ã§ã¯ãJMeterã¨ãã¹ã対象Webã¢ããªã±ã¼ã·ã§ã³ãæ£ããåä½ããç°å¢ãå¿ è¦ã§ããWebã¢ããªã±ã¼ã·ã§ã³ã¯ãJ2SE Development Kit 5.0 Update 6ãTomcat 5.5.12ã«ã¦åä½ç¢ºèªããã¦ãã¾ããç°å¢ã«ã¤ãã¦ã®è©³ç´°ãè¨å®æ¹æ³ã«ã¤ãã¦ã¯ãããµã¼ããµã¤ãæè¡ã®å¦ã³è - WINGSãã«ããããµã¼ããµã¤ãç°å¢æ§ç¯è¨å®ããåç §ãã¦ãã ãããJMeterã¯ãã¼ã¸ã§ã³2.1.1ã§åä½ç¢ºèªããã¦ãã¾ãã
æ¨å¥¨ç°å¢
ãæ£ããè² è·ãã¹ããè¡ãã«ã¯ããã¹ãå 容ã«å¿ãããããã¯ã¼ã¯ç°å¢ã端æ«ãå¿ è¦ã§ããæ¬ç¨¿ã§ã¯ãèªè ãããã«å®è·µã§ããããã«ç«¯æ«ä¸å°ã§ãã¹ãããå ´åã«ã¤ãã¦è§£èª¬ãã¦ãã¾ããããããæ£ãããã¹ãçµæãå¾ãã«ã¯ãWebã¢ããªã±ã¼ã·ã§ã³ãåä½ãã端æ«ï¼ãµã¼ãã¼ï¼ã¨JMeterãåä½ããã端æ«ï¼ã¯ã©ã¤ã¢ã³ãï¼ãåããå¿ è¦ãããã¾ããã¾ããã¯ã©ã¤ã¢ã³ã端æ«ã®å¦çè½åã«ãã£ã¦çæã§ããè² è·ã«ãé度ããããããä¸ããè² è·ã®å¤§ããã«ãã£ã¦ã¯è¤æ°å°ã®ã¯ã©ã¤ã¢ã³ããå¿ è¦ã§ãããã¨ãè¦ãã¦ããã¦ãã ããã
JMeter
ãJMeterã¯ãApache Jakarta Projectã§éçºãé²ãããã¦ããè² è·ãã¹ãã¢ããªã±ã¼ã·ã§ã³ã§ããWebã¢ããªã±ã¼ã·ã§ã³ï¼HTTPãã¼ã¹ã®ã¢ããªã±ã¼ã·ã§ã³ï¼ã«éãããFTPãJDBCãLDAPãªã©ã®ã¤ã³ã¿ãã§ã¼ã¹ããã£ãã¢ããªã±ã¼ã·ã§ã³ã«å¯¾ãã¦è² è·ãã¹ããè¡ããã¨ãã§ãã¾ããã¾ããè² è·ãã¹ãã®æ©è½ä»¥å¤ã«ãã¢ãµã¼ã·ã§ã³ãªã©ã®åç´ãªãã¹ãæ©è½ãåãã£ã¦ãã¾ãã
ãWebã¢ããªã±ã¼ã·ã§ã³ã®è² è·ãã¹ããè¡ãããã¼ã«ã¨ãã¦ãä»ã«ãOpenSTAãMercury LoadRunnerãªã©åªãããã¼ã«ãåå¨ãã¾ããã以ä¸ã®ãã¤ã³ãããJMeterãåãä¸ãã¾ãã
100% pure Javaã§ãã
ãJavaã§è¨è¿°ããã¦ããããOSç°å¢ãåãã¾ãããUNIXç°å¢ããã³ãã³ãã©ã¤ã³ã§æä½ãããã¨ããã¡ããå¯è½ã§ãã
ãªã¼ãã³ã½ã¼ã¹ã§ãã
ããªã¼ãã³ã½ã¼ã¹ã§ãããããå°å ¥ã³ã¹ããå°ãªãã¦ãã¿ãã³ãã¥ããã£ãæ´»çºã§ããè² è·ãã¹ããã¼ã«ã®ä¸ã«ã¯ãMercury LoadRunnerã®ããã«é常ã«é«æ©è½ã§ããåé¢ãå°å ¥ã³ã¹ããé«ããã®ãå¤ãåå¨ãã¦ãã¾ããã·ã¹ãã ã®è¦æ¨¡ã«ãã£ã¦ã¯æåãªé¸æè¢ã«ãªãã¾ãããä»åã¯å°å ¥ã®ããããããJMeterã解説ãããã¨æãã¾ãã
æä½ãç°¡åã§ãã
ãæä½ãã·ã³ãã«ã§CUIã¯ãã¡ããGUIã§ããã¹ããè¡ããã¨ãã§ãã¾ãã
è² è·ãã¹ã対象ã¢ããªã±ã¼ã·ã§ã³ã®æ¦è¦
ããã¹ã対象ã®ã¢ããªã±ã¼ã·ã§ã³ã«ãç°¡æçãªä¸è¡ã¡ã¢å¸³ã®æ©è½ãæã¤Webã¢ããªã±ã¼ã·ã§ã³ã使ç¨ãã¾ããæ©è½ã¨ç»é¢ããã¼ã®å³ã解説ãã¾ãã
- é©å½ãªã¦ã¼ã¶IDã§ãã°ã¤ã³ãã§ãããã°ã¤ã³ããã¨ã¦ã¼ã¶å°ç¨ã®ã¡ã¢å¸³ä¿åãã©ã«ããä½æãããã¡ã¢ãå ¥åã§ããç»é¢ã«é·ç§»ããã
- ã¡ã¢ã®å 容ãå ¥åãã¦ãï¼»ã¡ã¢è¿½å ï¼½ãæ¼ä¸ãããã¨ã«ãããã¡ã¢ã®æ å ±ãä¸ã¤ã®æ°ãããã¡ã¤ã«ã¨ãã¦çæãããï¼ã¡ã¢ã®æ°ã ããã¡ã¤ã«ãåå¨ï¼ã
- ã¡ã¢ãå ¥åããç»é¢ã§ã¯ã表示ãã度ã«ãã¡ã¤ã«ããã¦ã¼ã¶ã®å ¨ã¦ã®ã¡ã¢ãèªã¿è¾¼ãã§è¡¨ç¤ºããã