Bug 61737

Summary: Upgrade MD5Hex Assertion to Digest Assertion
Product: JMeter Reporter: orimarko <orimarko>
Component: MainAssignee: JMeter issues mailing list <issues>
Status: NEEDINFO ---    
Severity: enhancement CC: p.mouawad
Priority: P2    
Version: 3.3   
Target Milestone: ---   
Hardware: All   
OS: All   

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