1 | public void modifyTestElement(TestElement s) {↵ | | 1 | public void configure(TestElement element) {↵
|
2 | SubscriberSampler sampler = (SubscriberSampler) s;↵ | | |
|
3 | this.configureTestElement(sampler);↵ | | 2 | super.configure(element↵
|
4 | sampler.setUseJNDIProperties(String.valueOf(useProperties.isSelected()));↵ | | |
|
5 | sampler.setJNDIIntialContextFactory(jndiICF.getText());↵ | | |
|
6 | sampler.setProviderUrl(urlField.getText());↵ | | |
|
7 | sampler.setConnectionFactory(jndiConnFac.getText());↵ | | |
|
8 | sampler.setTopic(jmsTopic.getText());↵ | | |
|
9 | sampler.setUsername(jmsUser.getText());↵ | | |
|
10 | sampler.setPassword(jmsPwd.getText());↵ | | |
|
11 | sampler.setUseAuth(reqAuth↵ | | 3 | );↵
|
| | | 4 | ReportPage page = (ReportPage)element;↵
|
| | | 5 | cssURL.setText(page.getCSS());↵
|
| | | 6 | footerURL.setText(page.getFooterURL());↵
|
| | | 7 | headerURL.setText(page.getHeaderURL());↵
|
12 | .getText());↵ | | 8 | makeIndex.setSelected(page.getIndex());↵
|
13 | sampler.setIterations(iterations.getText());↵ | | 9 | introduction.setText(↵
|
14 | sampler.setReadResponse(String.valueOf(readResponse.isSelected()));↵ | | |
|
15 | samp↵ | | 10 | page.getIntroduction());↵
|
16 | ler.setClientChoice(clientChoice.getText());↵ | | 11 | pageTitle.setText(page.getTitle());↵
|
17 | | | 12 |
|