All Downloads are FREE. Search and download functionalities are using the official Maven repository.

lv.ctco.cukesrest.loadrunner.function.WebAddHeader Maven / Gradle / Ivy

There is a newer version: 0.2.28
Show newest version
package lv.ctco.cukesrest.loadrunner.function;

public class WebAddHeader implements LoadRunnerFunction {

    private String name;
    private String value;

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public String getValue() {
        return value;
    }

    @Override
    public String format() {
        return "web_add_header(\"" + name + "\", \"" + value + "\");\n";
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy