You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jmeter.apache.org by bu...@apache.org on 2015/07/21 14:03:21 UTC

[Bug 58160] New: [JMS] disabled cache when file name change

https://bz.apache.org/bugzilla/show_bug.cgi?id=58160

            Bug ID: 58160
           Summary: [JMS] disabled cache when file name change
           Product: JMeter
           Version: 2.13
          Hardware: PC
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Main
          Assignee: issues@jmeter.apache.org
          Reporter: maxime.chassagneux@gmail.com

Created attachment 32918
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=32918&action=edit
Patch file to disable cache when filename change

I've made this little hack (see attachment) on the JMS Publisher component to
disabled the cache when the file name change ( by example when you variabilize
the field )

Could you look at it and add it if possible. May be on other component where
cache is use.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 58160] JMS Publisher : reload file content if file name changes

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58160

Philippe Mouawad <p....@ubik-ingenierie.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |p.mouawad@ubik-ingenierie.c
                   |                            |om
            Summary|[JMS] disabled cache when   |JMS Publisher : reload file
                   |file name change            |content if file name
                   |                            |changes
           Hardware|PC                          |All

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 58160] [JMS] disabled cache when file name change

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58160

Zafiu Andrei <za...@yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|enhancement                 |normal

--- Comment #5 from Zafiu Andrei <za...@yahoo.com> ---
Any news on applying this patch? I can confirm it and it applies since version
2.7 of apache jmeter.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 58160] JMS Publisher : reload file content if file name changes

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58160

Philippe Mouawad <p....@ubik-ingenierie.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #7 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Thanks for contribution, it was partly rewritten.

It would be nice to have feedback on nightly build (available tomorrow) to see
if everything works fine.
http://jmeter.apache.org/nightly.html
Download the _bin and _lib files
Unpack the archives into the same directory structure
The other archives are not needed to run JMeter. 
Thanks

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 58160] [JMS] disabled cache when file name change

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58160

--- Comment #2 from maxime.chassagneux@gmail.com ---
(In reply to UbikLoadPack support from comment #1)
> Hello,
> Your patch cannot be used as we don't know to which class it applies.
> 
> How did you create it ?
> 
> You should first read this:
> http://wiki.apache.org/jmeter/JMeterDevelopment
> http://wiki.apache.org/jmeter/JMeterEclipse
> http://wiki.apache.org/jmeter/CommittingChanges (This link gives high level 
> steps) 
> 
> Then to submit a patch, in Eclipse :
> Right click on JMeter projet > Team > create patch and select the files you
> want to include in patch.
> 
> Regards

Ho sry, I use WinMerge to do it ... 

I will look an other way to generate it...

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 58160] [JMS] disabled cache when file name change

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58160

UbikLoadPack support <su...@ubikloadpack.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO
                 OS|                            |All

--- Comment #1 from UbikLoadPack support <su...@ubikloadpack.com> ---
Hello,
Your patch cannot be used as we don't know to which class it applies.

How did you create it ?

You should first read this:
http://wiki.apache.org/jmeter/JMeterDevelopment
http://wiki.apache.org/jmeter/JMeterEclipse
http://wiki.apache.org/jmeter/CommittingChanges (This link gives high level 
steps) 

Then to submit a patch, in Eclipse :
Right click on JMeter projet > Team > create patch and select the files you
want to include in patch.

Regards

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 58160] JMS Publisher : reload file content if file name changes

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58160

Philippe Mouawad <p....@ubik-ingenierie.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |enhancement

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 58160] [JMS] disabled cache when file name change

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58160

--- Comment #3 from maxime.chassagneux@gmail.com ---
The patch was made on
"src\protocol\jms\org\apache\jmeter\protocol\jms\sampler\PublisherSampler.java"
file.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 58160] [JMS] disabled cache when file name change

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58160

maxime.chassagneux@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |NEW

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 58160] JMS Publisher : reload file content if file name changes

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58160

--- Comment #6 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Author: pmouawad
Date: Wed Nov 11 13:49:31 2015
New Revision: 1713842

URL: http://svn.apache.org/viewvc?rev=1713842&view=rev
Log:
Bug 58160 - JMS Publisher : reload file content if file name changes
Bugzilla Id: 58160

Modified:
   
jmeter/trunk/src/protocol/jms/org/apache/jmeter/protocol/jms/sampler/PublisherSampler.java
    jmeter/trunk/xdocs/changes.xml
    jmeter/trunk/xdocs/usermanual/component_reference.xml

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 58160] [JMS] disabled cache when file name change

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58160

maxime.chassagneux@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #32918|0                           |1
        is obsolete|                            |

--- Comment #4 from maxime.chassagneux@gmail.com ---
Created attachment 32932
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=32932&action=edit
Patch file to disable cache when filename change

new version of the patch

-- 
You are receiving this mail because:
You are the assignee for the bug.