https://issues.apache.org/bugzilla/show_bug.cgi?id=45502

           Summary: http sampler doesnt refresh filelist
           Product: JMeter
           Version: 2.3.2
          Platform: Sun
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTTP
        AssignedTo: jmeter-dev@jakarta.apache.org
        ReportedBy: [EMAIL PROTECTED]


Http Sampler multipart posts the same file all the time.
That is, if the same user wants to submit files f1, f2, f3 ... using the same
http sampler in a loop with a counter, the first file (i.e f1) always gets
submitted.

looking at the code of org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase
method getHTTPFiles caches the filelist it submits. It seems that for this
reason the list of files doesnt get evaluated for every loop, but evaluates
always to {f1}

    public HTTPFileArg[] getHTTPFiles() {
        if (fileList != null){
            return fileList;
        }


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to