View | Details | Raw Unified | Return to bug 54185
Collapse All | Expand All

(-)HTTPSamplerBase.java (-2 / +5 lines)
Lines 400-406 Link Here
400
    public void setPath(String path, String contentEncoding) {
400
    public void setPath(String path, String contentEncoding) {
401
        if (GET.equals(getMethod()) || DELETE.equals(getMethod())) {
401
        if (GET.equals(getMethod()) || DELETE.equals(getMethod())) {
402
            int index = path.indexOf(QRY_PFX);
402
            int index = path.indexOf(QRY_PFX);
403
            if (index > -1) {
403
            if (path.startsWith(HTTP_PREFIX)
404
                 || path.startsWith(HTTPS_PREFIX)){
405
                setProperty(PATH, path);
406
            } else if (index > -1) {
404
                setProperty(PATH, path.substring(0, index));
407
                setProperty(PATH, path.substring(0, index));
405
                // Parse the arguments in querystring, assuming specified encoding for values
408
                // Parse the arguments in querystring, assuming specified encoding for values
406
                parseArguments(path.substring(index + 1), contentEncoding);
409
                parseArguments(path.substring(index + 1), contentEncoding);
Lines 1859-1862 Link Here
1859
        String guiClass = configElement.getProperty(TestElement.GUI_CLASS).getStringValue();
1862
        String guiClass = configElement.getProperty(TestElement.GUI_CLASS).getStringValue();
1860
        return APPLIABLE_CONFIG_CLASSES.contains(guiClass);
1863
        return APPLIABLE_CONFIG_CLASSES.contains(guiClass);
1861
    }
1864
    }
1862
}
1865
}

Return to bug 54185