Package com.eviware.soapui.model.propertyexpansion

Examples of com.eviware.soapui.model.propertyexpansion.PropertyExpansionsResult


        getConfig().setUseWsAddressing(wsAddressing);
        notifyPropertyChanged("wsAddressing", old, wsAddressing);
    }

    public PropertyExpansion[] getPropertyExpansions() {
        PropertyExpansionsResult result = new PropertyExpansionsResult(this, this);
        result.addAll(super.getPropertyExpansions());

        StringToStringsMap requestHeaders = getRequestHeaders();
        for (Map.Entry<String, List<String>> headerEntry : requestHeaders.entrySet()) {
            for (String value : headerEntry.getValue()) {
                result.addAll(PropertyExpansionUtils.extractPropertyExpansions(this,
                        new HttpTestRequestStep.RequestHeaderHolder(headerEntry.getKey(), value, this), "value"));
            }
        }
        addWsaPropertyExpansions(result, getWsaConfig(), this);
        addJMSHeaderExpansions(result, getJMSHeaderConfig(), this);
        return result.toArray();
    }
View Full Code Here


        return oAuth2ProfileContainer;
    }

    @Override
    public PropertyExpansion[] getPropertyExpansions() {
        PropertyExpansionsResult result = new PropertyExpansionsResult(oAuth2ProfileContainer.getProject(), this);

        result.extractAndAddAll(CLIENT_ID_PROPERTY);
        result.extractAndAddAll(CLIENT_SECRET_PROPERTY);
        result.extractAndAddAll(AUTHORIZATION_URI_PROPERTY);
        result.extractAndAddAll(ACCESS_TOKEN_URI_PROPERTY);
        result.extractAndAddAll(REDIRECT_URI_PROPERTY);
        result.extractAndAddAll(ACCESS_TOKEN_PROPERTY);
        result.extractAndAddAll(SCOPE_PROPERTY);
        result.extractAndAddAll(MANUAL_ACCESS_TOKEN_EXPIRATION_TIME);

        return result.toArray();
    }
View Full Code Here

            throw new SubmitException(e.toString());
        }
    }

    public PropertyExpansion[] getPropertyExpansions() {
        PropertyExpansionsResult result = new PropertyExpansionsResult(this, this);
        result.addAll(super.getPropertyExpansions());
        result.addAll(getRestMethod().getPropertyExpansions());
        result.addAll(params.getPropertyExpansions());
        addJMSHeaderExpansions(result, getJMSHeaderConfig(), this);

        return result.toArray();
    }
View Full Code Here

    }


    @Override
    public PropertyExpansion[] getPropertyExpansions() {
        PropertyExpansionsResult result = new PropertyExpansionsResult(project, this);

        for (OAuth2Profile oAuth2Profile : oAuth2ProfileList) {
            result.addAll(oAuth2Profile.getPropertyExpansions());
        }

        return result.toArray();
    }
View Full Code Here

    public void afterRequest(SubmitContext context, Response response) {
    }

    public PropertyExpansion[] getPropertyExpansions() {
        PropertyExpansionsResult result = new PropertyExpansionsResult(project, this);

        for (EndpointDefaults ed : defaults.values()) {
            result.addAll(ed.getPropertyExpansions());
        }

        return result.toArray();
    }
View Full Code Here

        protected EndpointConfig getConfig() {
            return endpointConfig;
        }

        public PropertyExpansion[] getPropertyExpansions() {
            PropertyExpansionsResult result = new PropertyExpansionsResult(project, this);

            result.extractAndAddAll("username");
            result.extractAndAddAll("password");
            result.extractAndAddAll("domain");

            return result.toArray();
        }
View Full Code Here

    public PropertyExpansion[] getPropertyExpansions() {
        if (testRequest == null) {
            return new PropertyExpansion[0];
        }

        PropertyExpansionsResult result = new PropertyExpansionsResult(this, testRequest);

        result.extractAndAddAll("requestContent");
        result.extractAndAddAll("endpoint");
        result.extractAndAddAll("username");
        result.extractAndAddAll("password");
        result.extractAndAddAll("domain");

        StringToStringsMap requestHeaders = testRequest.getRequestHeaders();
        for (Map.Entry<String, List<String>> headerEntry : requestHeaders.entrySet()) {
            for (String value : headerEntry.getValue()) {
                result.extractAndAddAll(new RequestHeaderHolder(headerEntry.getKey(), value, testRequest), "value");
            }
        }

        for (String key : testRequest.getParams().getPropertyNames()) {
            result.extractAndAddAll(new RequestParamHolder(key), "value");
        }

        return result.toArray(new PropertyExpansion[result.size()]);
    }
View Full Code Here

    public PropertyExpansion[] getPropertyExpansions() {
        if (testRequest == null) {
            return new PropertyExpansion[0];
        }

        PropertyExpansionsResult result = new PropertyExpansionsResult(this, testRequest);

        result.extractAndAddAll("requestContent");
        result.extractAndAddAll("endpoint");
        result.extractAndAddAll("username");
        result.extractAndAddAll("password");
        result.extractAndAddAll("domain");

        StringToStringsMap requestHeaders = testRequest.getRequestHeaders();
        for (Map.Entry<String, List<String>> headerEntry : requestHeaders.entrySet()) {
            for (String value : headerEntry.getValue()) {
                result.extractAndAddAll(new HttpTestRequestStep.RequestHeaderHolder(headerEntry.getKey(), value,
                        testRequest), "value");
            }
        }

        testRequest.addWsaPropertyExpansions(result, testRequest.getWsaConfig(), this);
        testRequest.addJMSHeaderExpansions(result, testRequest.getJMSHeaderConfig(), this);
        return result.toArray(new PropertyExpansion[result.size()]);
    }
View Full Code Here

        super.release();
        scriptEngine.release();
    }

    public PropertyExpansion[] getPropertyExpansions() {
        PropertyExpansionsResult result = new PropertyExpansionsResult(this);

        result.extractAndAddAll(SCRIPT_PROPERTY);

        return result.toArray();
    }
View Full Code Here

TOP

Related Classes of com.eviware.soapui.model.propertyexpansion.PropertyExpansionsResult

Copyright © 2018 www.massapicom. 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.