Closed asfimport closed 7 years ago
orimarko (migrated from Bugzilla): Created attachment patch61735.patch: Patch with new DateConvert function and tests
__digest
function to provide computing of Hashes (SHA-XXX, MDX). Based on a contribution by orimarko at gmail.com__dateConvert
function to provide date formats conversions. Based on a contribution by orimarko at gmail.comThe dateConvert function returns a date in a new format + with the optional variable name.
+@pmouawad (migrated from Bugzilla): Author: pmouawad Date: Mon Nov 13 20:56:28 2017 New Revision: 1815132
URL: http://svn.apache.org/viewvc?rev=1815132&view=rev Log: https://github.com/apache/jmeter/issues/4572 - Create a function __dateTimeConvert(sourceDate, dateFormat, targetFormat, varName) Contributed by orimarko at gmail.com https://github.com/apache/jmeter/issues/4572
Added: jmeter/trunk/src/functions/org/apache/jmeter/functions/DateTimeConvertFunction.java (with props) jmeter/trunk/test/src/org/apache/jmeter/functions/TestDateTimeConvertFunction.java (with props) Modified: jmeter/trunk/src/core/org/apache/jmeter/resources/messages.properties jmeter/trunk/src/core/org/apache/jmeter/resources/messages_fr.properties jmeter/trunk/xdocs/changes.xml jmeter/trunk/xdocs/usermanual/functions.xml
orimarko (migrated from Bugzilla): Add Apache License to new classes
Created attachment patch61735.patch: Patch with new DateConvert function and tests
orimarko (migrated from Bugzilla): I Added in the attachment the Apache License to the comments at the beginning of the new classes
@pmouawad (migrated from Bugzilla): Hello You patch have already been merged with slight modifications (classes renamed among those) and I had fixed the headers.
Thanks.
@pmouawad (Bug 61735): I frequently see a lot of request to convert date formats:
-https://stackoverflow.com/questions/47165086/how-to-convert-datetime-in-jmeter-using-beanshell-sampler
OS: All