Examples of TestElementProperty


Examples of org.apache.jmeter.testelement.property.TestElementProperty

     * @param value
     *   HTTPFileArgs object that stores file list to be uploaded.
     */
    private void setHTTPFileArgs(HTTPFileArgs value) {
        if (value.getHTTPFileArgCount() > 0){
            setProperty(new TestElementProperty(FILE_ARGS, value));
        } else {
            removeProperty(FILE_ARGS); // no point saving an empty list
        }
    }
View Full Code Here

Examples of org.apache.jmeter.testelement.property.TestElementProperty

     *
     * @param file
     *  the new file
     */
    public void addHTTPFileArg(HTTPFileArg file) {
        TestElementProperty newHTTPFileArg = new TestElementProperty(file.getPath(), file);
        if (isRunningVersion()) {
            this.setTemporary(newHTTPFileArg);
        }
        getHTTPFileArgsCollection().addItem(newHTTPFileArg);
    }
View Full Code Here

Examples of org.apache.jmeter.testelement.property.TestElementProperty

    public Arguments getJMSProperties() {
        return getArguments(JMSSampler.JMS_PROPERTIES);
    }

    public void setJMSProperties(Arguments args) {
        setProperty(new TestElementProperty(JMSSampler.JMS_PROPERTIES, args));
    }
View Full Code Here

Examples of org.apache.jmeter.testelement.property.TestElementProperty

    public Arguments getJNDIProperties() {
        return getArguments(JMSSampler.JNDI_PROPERTIES);
    }

    public void setJNDIProperties(Arguments args) {
        setProperty(new TestElementProperty(JMSSampler.JNDI_PROPERTIES, args));
    }
View Full Code Here

Examples of org.apache.jmeter.testelement.property.TestElementProperty

        String recvQueue = getReceiveQueue();
        return recvQueue == null || recvQueue.trim().length() == 0;
    }

    public void setArguments(Arguments args) {
        setProperty(new TestElementProperty(JMSSampler.JMS_PROPERTIES, args));
    }
View Full Code Here

Examples of org.apache.jmeter.testelement.property.TestElementProperty

    public boolean isFunctionalMode() {
        return getPropertyAsBoolean(FUNCTIONAL_MODE);
    }

    public void setUserDefinedVariables(Arguments vars) {
        setProperty(new TestElementProperty(USER_DEFINED_VARIABLES, vars));
    }
View Full Code Here

Examples of org.apache.jmeter.testelement.property.TestElementProperty

     *
     * @param value
     *            the arguments
     */
    public void setArguments(Arguments value) {
        setProperty(new TestElementProperty(ARGUMENTS, value));
    }
View Full Code Here

Examples of org.apache.jmeter.testelement.property.TestElementProperty

            element.setProperty(
                new StringProperty(LDAPSampler.TEST, LDAPSampler.ADD));
            element.setProperty(
                new StringProperty(LDAPSampler.BASE_ENTRY_DN, add.getText()));
            element.setProperty(
                new TestElementProperty(
                    LDAPSampler.ARGUMENTS,
                    tableAddPanel.createTestElement()));
        }

        if (modifyTest.isSelected())
        {
            element.setProperty(
                new StringProperty(LDAPSampler.TEST, LDAPSampler.MODIFY));
            element.setProperty(
                new StringProperty(
                    LDAPSampler.BASE_ENTRY_DN,
                    modify.getText()));
            element.setProperty(
                new TestElementProperty(
                    LDAPSampler.ARGUMENTS,
                    tableModifyPanel.createTestElement()));
        }

        if (deleteTest.isSelected())
View Full Code Here

Examples of org.apache.jmeter.testelement.property.TestElementProperty

        this.configureTestElement(element);
        Arguments args = (Arguments) argsPanel.createTestElement();

        HTTPArgument.convertArgumentsToHTTP(args);
        element.setProperty(
            new TestElementProperty(HTTPSampler.ARGUMENTS, args));
        element.setProperty(HTTPSampler.DOMAIN, domain.getText());
        element.setProperty(HTTPSampler.PORT, port.getText());
        element.setProperty(HTTPSampler.PROTOCOL, protocol.getText());
        element.setProperty(HTTPSampler.METHOD,
                (post.isSelected() ? "POST" : "GET"));
View Full Code Here

Examples of org.apache.jmeter.testelement.property.TestElementProperty

     *
     * @param  value  the arguments
     */
    public void setArguments(Arguments value)
    {
        setProperty(new TestElementProperty(LDAPSampler.ARGUMENTS, value));
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.