org.apache.jmeter.protocol.http.control.Header Java Examples
The following examples show how to use
org.apache.jmeter.protocol.http.control.Header.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: JmxHeaderManager.java From postman2jmx with MIT License | 5 votes |
public static HeaderManager newInstance(String name, List<PostmanHeader> headers) { HeaderManager headerManager = new HeaderManager(); headerManager.setProperty(TestElement.GUI_CLASS, HeaderPanel.class.getName()); headerManager.setProperty(TestElement.TEST_CLASS, HeaderManager.class.getName()); headerManager.setEnabled(true); headerManager.setName(name); for (PostmanHeader header : headers) { headerManager.add(new Header(header.getKey(), header.getValue())); } return headerManager; }