jmeter-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From FSchumacher <>
Subject [GitHub] jmeter pull request #291: Add time shifting function
Date Wed, 26 Apr 2017 19:26:54 GMT
Github user FSchumacher commented on a diff in the pull request:
    --- Diff: xdocs/usermanual/functions.xml ---
    @@ -1499,6 +1502,36 @@ becomes:
    +<component index="&sect-num;.5.22" name="__timeShifting">
    +    <p>The timeShifting function returns a date in various formats with the specified
amount of seconds/minutes/hours/days/months added</p>
    +    </description>
    +        <property name="Format" required="No">
    +        The format to be passed to DateTimeFormatter.
    +        If omitted, the function use milliseconds since epoch format.
    +        </property>
    +        <property name="Date to shift" required="No">
    +        Indicate the date with the format from first paramater to shift
    +        If omitted, the date is set to now
    +        </property>
    +        <property name="value to shift" required="No">
    +        Indicate the specified amount of seconds/minutes/hours/days/mounths to add according
to this usage :
    +        <ul>
    +        <li><code>5s</code> for Second value</li>
    +        <li><code>5m</code> for Minute value</li>
    +        <li><code>5H</code> for Hour value</li>
    +        <li><code>5d</code> for Day value</li>
    +        <li><code>5M</code> for Month value</li>
    +        </ul>
    +        To shift in the pass, you just have to indicate <code>-5d</code>
 to remove 5 days.
    --- End diff --
    "into the past"? 
    "to subtract five days" or "to move five days backwards"?

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

View raw message