JMeter?????Selenium???в???
???????????? ???????[ 2014/6/6 9:53:12 ] ????????JMeter Selenium ??????????
????JMeter????÷???????????????????Selenium??ThroughtWorks ????????????Web ???????????Jmeter??Selenium???????????????????????????????????
??????????????????Jmeter?е???Selenium????????????????? Jmeter JUnit sampler ???? BeanShell sampler???????????????Selenium client ?? server????????????????Server??
?????????
???????????:
?????????selenium-server-standalone-2.*.jar??????JMeter??????%JMETER_HOME%/lib/?£???????Selenium server??
????Jmeter JUnit sampler
??????Selenium?????????????.jar?????????????%JMETER_HOME%/lib/junit/???£??????????????ü??TestCase or SeleniumTestCase?????????JMeter??????ò??????????????????????????test?????
??????Jmeter?д???test group??JUnit sampler????????????JUnit sampler?????????????????????????????????С???????????????????????????????
???????????????????:
package com.example.tests;
import com.thoughtworks.selenium.*;
import org.junit.Before;
import org.junit.Test;
import org.junit.After;
public class selenium extends SeleneseTestCase {
@Before
public void setUp() throws Exception {
. . .
}
@Test
public void testSelenium_test() throws Exception {
. . .
}
@After
public void tearDown() throws Exception {
selenium.stop();
}
}
|
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11