Bug 61737 - Upgrade MD5Hex Assertion to Digest Assertion
Summary: Upgrade MD5Hex Assertion to Digest Assertion
Status: NEEDINFO
Alias: None
Product: JMeter
Classification: Unclassified
Component: Main (show other bugs)
Version: 3.3
Hardware: All All
: P2 enhancement (vote)
Target Milestone: ---
Assignee: JMeter issues mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-08 12:50 UTC by orimarko
Modified: 2017-11-08 21:18 UTC (History)
1 user (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description orimarko 2017-11-08 12:50:52 UTC
I suggest upgrading MD5Hex Assertion to Digest Assertion 

Currently it only assert using MD5 algorithm, but we can allow other SHA assertions.
Support similar algorithms as the new __digest function.
Comment 1 Philippe Mouawad 2017-11-08 13:10:06 UTC
Hello,
Looks like a good idea.
Just to keep backward compatibility , can you proceed the following way if you intend to submit a patch:

- Keep class name as it but update javadocs and docs
- A select box should provide available algorithm, defaulting to MD5 for backward compatibility
- I supppose there will be other parameters depending on algorithm
- MD5Hex should become HashHex
Comment 2 Philippe Mouawad 2017-11-08 21:18:36 UTC
It would also be interesting to make this assertion appliable on Variables