From b7e4afc1b2420f3ae7d0801aded02e5cb53afcd2 Mon Sep 17 00:00:00 2001 From: andreaswe Date: Wed, 9 Apr 2014 11:05:30 +0200 Subject: [PATCH 1/6] timestamps are associated with ids now, threads are stopped after the last timestamp has been processed --- .../timers/timestamp/TimestampTimer.java | 91 ++++++++++++------- 1 file changed, 60 insertions(+), 31 deletions(-) diff --git a/src/org/apache/jmeter/timers/timestamp/TimestampTimer.java b/src/org/apache/jmeter/timers/timestamp/TimestampTimer.java index b7e69af..93ffa02 100644 --- a/src/org/apache/jmeter/timers/timestamp/TimestampTimer.java +++ b/src/org/apache/jmeter/timers/timestamp/TimestampTimer.java @@ -8,6 +8,8 @@ import org.apache.jmeter.testbeans.TestBean; import org.apache.jmeter.testelement.AbstractTestElement; import org.apache.jmeter.testelement.TestStateListener; +import org.apache.jmeter.threads.JMeterContext; +import org.apache.jmeter.threads.JMeterVariables; import org.apache.jmeter.timers.Timer; /** @@ -42,8 +44,7 @@ * @author Andreas Weber */ public class TimestampTimer extends AbstractTestElement implements Timer, TestStateListener, TestBean { - - + private static final int SAFETY_DELAY = 1000; private static final long serialVersionUID = 240L; /** @@ -64,40 +65,58 @@ public String toString() { return propertyName; } } + + private class Timestamp { + public long id; + public long timestamp; + public Timestamp(long id, long timestamp) { + super(); + this.id = id; + this.timestamp = timestamp; + } + } /** * usage mode: does every thread use all timestamps or are they shared between threads in thread group (default) */ - private Mode usageMode = Mode.TimestampsSharedWithinThreadGroup; - private String timestampFile = ""; - long startTime; - private BlockingQueue timestampMillis = new LinkedBlockingQueue(); - private boolean started = false; - private long lastTimestamp = 0; + private Mode usageMode = Mode.TimestampsSharedWithinThreadGroup; + private String timestampFile = ""; + long startTime; + private BlockingQueue timestampList = new LinkedBlockingQueue(); + private boolean started = false; + private long lastTimestamp = 0; @Override public long delay() { - long delay = 0; - Long currentTimestamp = null; + Timestamp currentTimestamp = null; try { - currentTimestamp = timestampMillis.poll(10, + currentTimestamp = timestampList.poll(10, TimeUnit.MILLISECONDS); } catch (InterruptedException e) {} - - if (currentTimestamp == null) - { - // No timestamp left, let thread wait until end of test (otherwise it would produce samples where they should not appear) - currentTimestamp = lastTimestamp; - } - long plannedStart = startTime + currentTimestamp; + JMeterContext context = getThreadContext(); + JMeterVariables vars = context.getVariables(); + long plannedStart; + if (currentTimestamp != null) { + plannedStart = startTime + currentTimestamp.timestamp; + vars.put("TIMESTAMPTIMER_ID", Long.toString(currentTimestamp.id)); + } else { + // No timestamp left, delay thread until end of test. + plannedStart = startTime + lastTimestamp + SAFETY_DELAY; + vars.put("TIMESTAMPTIMER_ID", Long.toString(0)); + // Stops thread + // Be careful, the next sampler will be executed anyway! + // Thus the timer should always be embedded in an dummy sampler (if not every thread will produce one overhead sample) + context.getThread().stop(); + } long now = System.currentTimeMillis(); if (plannedStart > now) { delay = plannedStart - now; } + return delay; } @@ -106,24 +125,25 @@ public TimestampTimer() { super(); } - /** - * Initializes Timer. This means: - * - Timestamp file is read - * - Start time is saved - * - First timestamp which is intended to be used by the thread is selected - */ + private void readTimestampFile() { LinkedList timestamps = new LinkedList(); boolean timestampsAvailable = TimestampUtils.readTimestampFile(timestampFile, ";", timestamps); if (timestampsAvailable) { - timestampMillis.clear(); + timestampList.clear(); lastTimestamp = 0; - if (timestamps.size() > 0) + int numberOfTimestamps = timestamps.size(); + long count = 0; + if (numberOfTimestamps > 0) { - lastTimestamp = timestamps.get(timestamps.size()-1); - timestampMillis.addAll(timestamps); + lastTimestamp = timestamps.get(numberOfTimestamps-1); + for (long time : timestamps) + { + count++; + timestampList.add(new Timestamp(count, time)); + } } } } @@ -152,7 +172,16 @@ public void setFilename(String filename) { @Override public void testStarted() { started = true; - startTime = System.currentTimeMillis(); + JMeterContext context = getThreadContext(); + JMeterVariables vars = context.getVariables(); + String startTimeString = vars.get("TIMESTAMPTIMER_START"); + if (startTimeString != null) + { + startTime = Long.parseLong(startTimeString); + } else { + startTime = System.currentTimeMillis(); + vars.put("TIMESTAMPTIMER_START", Long.toString(startTime)); + } } @@ -182,10 +211,10 @@ public Object clone() { clone.startTime = startTime; switch (usageMode) { case TimestampsSharedWithinThreadGroup: - clone.timestampMillis = timestampMillis; + clone.timestampList = timestampList; break; case AllThreadsUseAllTimestamps: - clone.timestampMillis = new LinkedBlockingQueue(timestampMillis); + clone.timestampList = new LinkedBlockingQueue(timestampList); break; } clone.started = started; From 53ae9c0b2d177f8243719416393aa4adddfef173 Mon Sep 17 00:00:00 2001 From: andreaswe Date: Mon, 9 Jun 2014 22:28:41 +0200 Subject: [PATCH 2/6] prepare public project --- README.md | 28 +- SingleThreadPool-DummySampler.jmx | 161 +++++ SingleThreadPool-HTTPSampler.jmx | 170 +++++ TimestampPlugin.jar | Bin 0 -> 19983 bytes TwoThreadPools-DummySampler.jmx | 215 ++++++ examples/SingleThreadPool-DummySampler.jmx | 161 +++++ examples/SingleThreadPool-HTTPSampler.jmx | 170 +++++ examples/TwoThreadPools-DummySampler.jmx | 215 ++++++ examples/timestamps.txt | 750 +++++++++++++++++++++ model.dlim | 15 + timestamps.txt | 750 +++++++++++++++++++++ 11 files changed, 2633 insertions(+), 2 deletions(-) create mode 100644 SingleThreadPool-DummySampler.jmx create mode 100644 SingleThreadPool-HTTPSampler.jmx create mode 100644 TimestampPlugin.jar create mode 100644 TwoThreadPools-DummySampler.jmx create mode 100644 examples/SingleThreadPool-DummySampler.jmx create mode 100644 examples/SingleThreadPool-HTTPSampler.jmx create mode 100644 examples/TwoThreadPools-DummySampler.jmx create mode 100644 examples/timestamps.txt create mode 100644 model.dlim create mode 100644 timestamps.txt diff --git a/README.md b/README.md index 99d322f..878b6e2 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,28 @@ -TimestampTimerPlugin +Timestamp Timer PlugIn ========================== -JMeter plugin for timestamp based delays. +JMeter plugin for timestamp based delays (new timer component). + + +------------------------ +Installation: +------------------------ +Just copy the TimestampPlugin.jar file into the folder lib/ext/ of your JMeter installation directory. +Exemplary test plans require the Standard Set of JMeter Plugins (http://jmeter-plugins.org) + +------------------------ +About the Timestamp File +------------------------ +The timestamp file must contain relative timestamps for request in seconds (seconds since start of load test). +Each line in the timestamp file must contain one timestamp which is followed by a semicolon (;). +One option for creating timestamp files is the workload modeling tool LIMBO: +http://se2.informatik.uni-wuerzburg.de/mediawiki-se/index.php/Tools#LIMBO:_Load_Intensity_Modeling_Tool + + +------------------------ +Usage +------------------------ +Try the provided TestPlans (Standard Set of JMeter Plugins (http://jmeter-plugins.org) required). +Start with: SingleThreadPool-DummySampler.jmx +Find the "Timestamp Timer" element and open a timestamp file (e.g. the provided timestamps.txt). +Run the TestPlan and watch the chart provided by the "jp@gc - Transactions per Second" element. \ No newline at end of file diff --git a/SingleThreadPool-DummySampler.jmx b/SingleThreadPool-DummySampler.jmx new file mode 100644 index 0000000..814a0c3 --- /dev/null +++ b/SingleThreadPool-DummySampler.jmx @@ -0,0 +1,161 @@ + + + + + + false + false + + + + + + + + continue + + false + -1 + + 100 + 0 + 1391782602000 + 1391782602000 + false + + + + + + true + true + 200 + OK + + + 0 + 0 + + + + + 1 + + + + + true + true + 200 + OK + + + 0 + 0 + + + + false + + saveConfig + + + true + true + true + + true + true + true + true + false + true + true + false + false + false + false + false + false + false + false + 0 + true + + + + + + + false + + saveConfig + + + true + true + true + + true + true + true + true + false + true + true + false + false + false + false + false + false + false + false + 0 + true + + + + + + + false + + saveConfig + + + true + true + true + + true + true + true + true + false + true + true + false + false + false + false + false + false + false + false + 0 + true + + + + 1000 + false + + + + + + + + + diff --git a/SingleThreadPool-HTTPSampler.jmx b/SingleThreadPool-HTTPSampler.jmx new file mode 100644 index 0000000..9d52005 --- /dev/null +++ b/SingleThreadPool-HTTPSampler.jmx @@ -0,0 +1,170 @@ + + + + + + false + false + + + + + + + + continue + + false + -1 + + 100 + 0 + 1391782602000 + 1391782602000 + false + + + + + + true + true + 200 + OK + + + 0 + 0 + + + + + 1 + + + + + + + + + + + + + + + GET + true + false + true + false + false + + + + + false + + saveConfig + + + true + true + true + + true + true + true + true + false + true + true + false + false + false + false + false + false + false + false + 0 + true + + + + + + + false + + saveConfig + + + true + true + true + + true + true + true + true + false + true + true + false + false + false + false + false + false + false + false + 0 + true + + + + + + + false + + saveConfig + + + true + true + true + + true + true + true + true + false + true + true + false + false + false + false + false + false + false + false + 0 + true + + + + 1000 + false + + + + + + + + + diff --git a/TimestampPlugin.jar b/TimestampPlugin.jar new file mode 100644 index 0000000000000000000000000000000000000000..504d9e24653d03fc9ccddb17193e478bcb4e2068 GIT binary patch literal 19983 zcmbTe1CS=&+9g`HZQHhO+qUg4+qP}KQQ zK=<-flX9~340G_Z^fWV5zgtw87FlxeJ4hz1JmULANV<3WXew zJf5r0_>@UK0Y7GilYA_2GZ9(=1tA9O^6yU#qee0$4rj}H!~hnZ%lgt!gYgi>1YmK* zQ1SpY0^HB-z96Ynv3f$E(UDD_EnXG@ctiL;2r}|15^0_?E;MKaIJ6cj3c5#W7dyO% zZS2ba3x=v#d9tEQypSS)Z~Eh1@bJaZUcF=2_{z zi_CT5!vPssIaC%V*^f3jlmS1v&+8$DYwTb3qs4Rz4}MVOeg*QiEW762W_uAsZG=oW z;K*b|F~LJV(ZIe#J+)kwM29e3!^B0&x!@mZg(rxTL*6S>Mz#kOS4%K7^&1*al=Be8-COCFPRGZ>+TjEBP@4FD^I znSFMqI19QJ6-=<{1aNlmIK8bdMuir4%@3lAj@-5ucon&(A^X z(rwtJC|$TM$|2bugeUnO*!Jow-F%y|#stjSq<1XP;A(?FfqmZmc)YzN zKOSK?&7`l%V1p~PnNc=PLG9R`?1V^;IF(>Umxhi59?abw@(lB^MdPcSF~iI_2ooq< z7G8(NY1QQ+IaAgi-fTFUMpr0NO}!c$nvOKqC&%qLctG#|2zD!dvlmR!y_=cExp6FX zoyS1e-A_g>Tjx+QN-Q7Re6(-RO~ccP3N>sn0FjP(8{G^h!+Y8q4g4U|19SdO^Alz= zxu*U%Satntr&(j3clB}3@4}L8d-^|^jq1Xalo&@wxq-ZkPJY=Fr^OMxP0`2*s?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Hn;0 zXerActUR+uf~hKDKNlKs=R9}fFr6F!-dUAD_Wn$e?4B=QK`TQZxz`+^A%uX-6%i3l zf6XT%qyT>mf&#u?M?yjgP0|1lVT}4Dmvu_zVR$S*og^<&BNW$l!{evi6ISo&-(Y(~ z`sJ}>-lq^5l%!FH_*3bEX+dfCkg`^xUq))=mz-9vTa?y*8(+eMM*s+d^SF5`BGgwsN{cA_|#8AUtzXS(Z}ltz97uJPW6fv=`~^!)eC& z`AZMn(pgO{4O`kZBCg`>DmLphp(2}RdbE%A#5H}$P!s96T=gCK!qECBbCQF`t75B2 zyoiCR=Yl&`;$TFo^A7fE2A(f|9yQUiUWhxZ6QarUkQ_$#km63nIVj>h zfAih*<}lywB@P>}_wFGB2ltSD3xgeaj* z83<8|tX$(eNF{VSh-N{dEzrq`jHL<1&=$^vCI~^KOJtdd9|2y_HNaFNG}{BF5=9oc z4U$-dP6Jax&^x@EXbv!XgZ+782)Y`0?}tVp;EW(<1-t_PNi!|{3V<#LhApT&2g8=g pI98${2Au`EdZ^o*e+u0=sN*NtECoJZ#Kh!*-%22C4qJo&{slr)R*L`t literal 0 HcmV?d00001 diff --git a/TwoThreadPools-DummySampler.jmx b/TwoThreadPools-DummySampler.jmx new file mode 100644 index 0000000..e604c5c --- /dev/null +++ b/TwoThreadPools-DummySampler.jmx @@ -0,0 +1,215 @@ + + + + + + false + false + + + + + + + + startnextloop + + false + -1 + + 1 + 0 + 1381265134000 + 1381265134000 + false + + + + + + true + true + 200 + OK + + + 0 + 0 + + + + + 1 + + + + ${TIMESTAMP_ID} + CURRENT_ID + + + + + + continue + + false + -1 + + 100 + + 1359887691000 + 1359887704000 + false + 2 + 0 + + + + 1 + + 1 + COUNT + + false + + + + ${COUNT} <= ${TIMESTAMP_TOTAL} + false + + + + true + true + 200 + OK + ${ID} / ${TIMESTAMP_TOTAL} + ${ID} / ${TIMESTAMP_TOTAL} + 0 + 0 + + + + + ID + CURRENT_ID + + + + + + ${COUNT} > ${TIMESTAMP_TOTAL} + false + + + + 0 + 0 + + + + + + false + + saveConfig + + + true + true + true + + true + true + true + true + false + true + true + false + false + false + false + false + false + false + false + 0 + true + + + + + + + false + + saveConfig + + + true + true + true + + true + true + true + true + false + true + true + false + false + false + false + false + false + false + false + 0 + true + + + + + + + false + + saveConfig + + + true + true + true + + true + true + true + true + false + true + true + false + false + false + false + false + false + false + false + 0 + true + + + + 1000 + false + + + + + + + + diff --git a/examples/SingleThreadPool-DummySampler.jmx b/examples/SingleThreadPool-DummySampler.jmx new file mode 100644 index 0000000..814a0c3 --- /dev/null +++ b/examples/SingleThreadPool-DummySampler.jmx @@ -0,0 +1,161 @@ + + + + + + false + false + + + + + + + + continue + + false + -1 + + 100 + 0 + 1391782602000 + 1391782602000 + false + + + + + + true + true + 200 + OK + + + 0 + 0 + + + + + 1 + + + + + true + true + 200 + OK + + + 0 + 0 + + + + false + + saveConfig + + + true + true + true + + true + true + true + true + false + true + true + false + false + false + false + false + false + false + false + 0 + true + + + + + + + false + + saveConfig + + + true + true + true + + true + true + true + true + false + true + true + false + false + false + false + false + false + false + false + 0 + true + + + + + + + false + + saveConfig + + + true + true + true + + true + true + true + true + false + true + true + false + false + false + false + false + false + false + false + 0 + true + + + + 1000 + false + + + + + + + + + diff --git a/examples/SingleThreadPool-HTTPSampler.jmx b/examples/SingleThreadPool-HTTPSampler.jmx new file mode 100644 index 0000000..9d52005 --- /dev/null +++ b/examples/SingleThreadPool-HTTPSampler.jmx @@ -0,0 +1,170 @@ + + + + + + false + false + + + + + + + + continue + + false + -1 + + 100 + 0 + 1391782602000 + 1391782602000 + false + + + + + + true + true + 200 + OK + + + 0 + 0 + + + + + 1 + + + + + + + + + + + + + + + GET + true + false + true + false + false + + + + + false + + saveConfig + + + true + true + true + + true + true + true + true + false + true + true + false + false + false + false + false + false + false + false + 0 + true + + + + + + + false + + saveConfig + + + true + true + true + + true + true + true + true + false + true + true + false + false + false + false + false + false + false + false + 0 + true + + + + + + + false + + saveConfig + + + true + true + true + + true + true + true + true + false + true + true + false + false + false + false + false + false + false + false + 0 + true + + + + 1000 + false + + + + + + + + + diff --git a/examples/TwoThreadPools-DummySampler.jmx b/examples/TwoThreadPools-DummySampler.jmx new file mode 100644 index 0000000..e604c5c --- /dev/null +++ b/examples/TwoThreadPools-DummySampler.jmx @@ -0,0 +1,215 @@ + + + + + + false + false + + + + + + + + startnextloop + + false + -1 + + 1 + 0 + 1381265134000 + 1381265134000 + false + + + + + + true + true + 200 + OK + + + 0 + 0 + + + + + 1 + + + + ${TIMESTAMP_ID} + CURRENT_ID + + + + + + continue + + false + -1 + + 100 + + 1359887691000 + 1359887704000 + false + 2 + 0 + + + + 1 + + 1 + COUNT + + false + + + + ${COUNT} <= ${TIMESTAMP_TOTAL} + false + + + + true + true + 200 + OK + ${ID} / ${TIMESTAMP_TOTAL} + ${ID} / ${TIMESTAMP_TOTAL} + 0 + 0 + + + + + ID + CURRENT_ID + + + + + + ${COUNT} > ${TIMESTAMP_TOTAL} + false + + + + 0 + 0 + + + + + + false + + saveConfig + + + true + true + true + + true + true + true + true + false + true + true + false + false + false + false + false + false + false + false + 0 + true + + + + + + + false + + saveConfig + + + true + true + true + + true + true + true + true + false + true + true + false + false + false + false + false + false + false + false + 0 + true + + + + + + + false + + saveConfig + + + true + true + true + + true + true + true + true + false + true + true + false + false + false + false + false + false + false + false + 0 + true + + + + 1000 + false + + + + + + + + diff --git a/examples/timestamps.txt b/examples/timestamps.txt new file mode 100644 index 0000000..b07c9bd --- /dev/null +++ b/examples/timestamps.txt @@ -0,0 +1,750 @@ +0.0; +0.2; +0.4; +0.6; +0.8; +1.0; +1.2; +1.4; +1.6; +1.8; +2.0; +2.2; +2.4; +2.6; +2.8; +3.0; +3.2; +3.4; +3.6; +3.8; +4.0; +4.2; +4.4; +4.6; +4.8; +5.0; +5.2; +5.4; +5.6; +5.8; +6.0; +6.2; +6.4; +6.6; +6.8; +7.0; +7.2; +7.4; +7.6; +7.8; +8.0; +8.2; +8.4; +8.6; +8.8; +9.0; +9.2; +9.4; +9.6; +9.8; +10.0; +10.1; +10.2; +10.3; +10.4; +10.5; +10.6; +10.7; +10.8; +10.9; +11.0; +11.1; +11.2; +11.3; +11.4; +11.5; +11.6; +11.7; +11.8; +11.9; +12.0; +12.1; +12.2; +12.3; +12.4; +12.5; +12.6; +12.7; +12.8; +12.9; +13.0; +13.1; +13.2; +13.3; +13.4; +13.5; +13.6; +13.7; +13.8; +13.9; +14.0; +14.1; +14.2; +14.3; +14.4; +14.5; +14.6; +14.7; +14.8; +14.9; +15.0; +15.1; +15.2; +15.3; +15.4; +15.5; +15.6; +15.7; +15.8; +15.9; +16.0; +16.1; +16.2; +16.3; +16.4; +16.5; +16.6; +16.7; +16.8; +16.9; +17.0; +17.1; +17.2; +17.3; +17.4; +17.5; +17.6; +17.7; +17.8; +17.9; +18.0; +18.1; +18.2; +18.3; +18.4; +18.5; +18.6; +18.7; +18.8; +18.9; +19.0; +19.1; +19.2; +19.3; +19.4; +19.5; +19.6; +19.7; +19.8; +19.9; +20.0; +20.05; +20.1; +20.15; +20.2; +20.25; +20.3; +20.35; +20.4; +20.45; +20.5; +20.55; +20.6; +20.65; +20.7; +20.75; +20.8; +20.85; +20.9; +20.95; +21.0; +21.05; +21.1; +21.15; +21.2; +21.25; +21.3; +21.35; +21.4; +21.45; +21.5; +21.55; +21.6; +21.65; +21.7; +21.75; +21.8; +21.85; +21.9; +21.95; +22.0; +22.05; +22.1; +22.15; +22.2; +22.25; +22.3; +22.35; +22.4; +22.45; +22.5; +22.55; +22.6; +22.65; +22.7; +22.75; +22.8; +22.85; +22.9; +22.95; +23.0; +23.05; +23.1; +23.15; +23.2; +23.25; +23.3; +23.35; +23.4; +23.45; +23.5; +23.55; +23.6; +23.65; +23.7; +23.75; +23.8; +23.85; +23.9; +23.95; +24.0; +24.05; +24.1; +24.15; +24.2; +24.25; +24.3; +24.35; +24.4; +24.45; +24.5; +24.55; +24.6; +24.65; +24.7; +24.75; +24.8; +24.85; +24.9; +24.95; +25.0; +25.05; +25.1; +25.15; +25.2; +25.25; +25.3; +25.35; +25.4; +25.45; +25.5; +25.55; +25.6; +25.65; +25.7; +25.75; +25.8; +25.85; +25.9; +25.95; +26.0; +26.05; +26.1; +26.15; +26.2; +26.25; +26.3; +26.35; +26.4; +26.45; +26.5; +26.55; +26.6; +26.65; +26.7; +26.75; +26.8; +26.85; +26.9; +26.95; +27.0; +27.05; +27.1; +27.15; +27.2; +27.25; +27.3; +27.35; +27.4; +27.45; +27.5; +27.55; +27.6; +27.65; +27.7; +27.75; +27.8; +27.85; +27.9; +27.95; +28.0; +28.05; +28.1; +28.15; +28.2; +28.25; +28.3; +28.35; +28.4; +28.45; +28.5; +28.55; +28.6; +28.65; +28.7; +28.75; +28.8; +28.85; +28.9; +28.95; +29.0; +29.05; +29.1; +29.15; +29.2; +29.25; +29.3; +29.35; +29.4; +29.45; +29.5; +29.55; +29.6; +29.65; +29.7; +29.75; +29.8; +29.85; +29.9; +29.95; +30.0; +30.025; +30.05; +30.075; +30.1; +30.125; +30.15; +30.175; +30.2; +30.225; +30.25; +30.275; +30.3; +30.325; +30.35; +30.375; +30.4; +30.425; +30.45; +30.475; +30.5; +30.525; +30.55; +30.575; +30.6; +30.625; +30.65; +30.675; +30.7; +30.725; +30.75; +30.775; +30.8; +30.825; +30.85; +30.875; +30.9; +30.925; +30.95; +30.975; +31.0; +31.025; +31.05; +31.075; +31.1; +31.125; +31.15; +31.175; +31.2; +31.225; +31.25; +31.275; +31.3; +31.325; +31.35; +31.375; +31.4; +31.425; +31.45; +31.475; +31.5; +31.525; +31.55; +31.575; +31.6; +31.625; +31.65; +31.675; +31.7; +31.725; +31.75; +31.775; +31.8; +31.825; +31.85; +31.875; +31.9; +31.925; +31.95; +31.975; +32.0; +32.025; +32.05; +32.075; +32.1; +32.125; +32.15; +32.175; +32.2; +32.225; +32.25; +32.275; +32.3; +32.325; +32.35; +32.375; +32.4; +32.425; +32.45; +32.475; +32.5; +32.525; +32.55; +32.575; +32.6; +32.625; +32.65; +32.675; +32.7; +32.725; +32.75; +32.775; +32.8; +32.825; +32.85; +32.875; +32.9; +32.925; +32.95; +32.975; +33.0; +33.025; +33.05; +33.075; +33.1; +33.125; +33.15; +33.175; +33.2; +33.225; +33.25; +33.275; +33.3; +33.325; +33.35; +33.375; +33.4; +33.425; +33.45; +33.475; +33.5; +33.525; +33.55; +33.575; +33.6; +33.625; +33.65; +33.675; +33.7; +33.725; +33.75; +33.775; +33.8; +33.825; +33.85; +33.875; +33.9; +33.925; +33.95; +33.975; +34.0; +34.025; +34.05; +34.075; +34.1; +34.125; +34.15; +34.175; +34.2; +34.225; +34.25; +34.275; +34.3; +34.325; +34.35; +34.375; +34.4; +34.425; +34.45; +34.475; +34.5; +34.525; +34.55; +34.575; +34.6; +34.625; +34.65; +34.675; +34.7; +34.725; +34.75; +34.775; +34.8; +34.825; +34.85; +34.875; +34.9; +34.925; +34.95; +34.975; +35.0; +35.025; +35.05; +35.075; +35.1; +35.125; +35.15; +35.175; +35.2; +35.225; +35.25; +35.275; +35.3; +35.325; +35.35; +35.375; +35.4; +35.425; +35.45; +35.475; +35.5; +35.525; +35.55; +35.575; +35.6; +35.625; +35.65; +35.675; +35.7; +35.725; +35.75; +35.775; +35.8; +35.825; +35.85; +35.875; +35.9; +35.925; +35.95; +35.975; +36.0; +36.025; +36.05; +36.075; +36.1; +36.125; +36.15; +36.175; +36.2; +36.225; +36.25; +36.275; +36.3; +36.325; +36.35; +36.375; +36.4; +36.425; +36.45; +36.475; +36.5; +36.525; +36.55; +36.575; +36.6; +36.625; +36.65; +36.675; +36.7; +36.725; +36.75; +36.775; +36.8; +36.825; +36.85; +36.875; +36.9; +36.925; +36.95; +36.975; +37.0; +37.025; +37.05; +37.075; +37.1; +37.125; +37.15; +37.175; +37.2; +37.225; +37.25; +37.275; +37.3; +37.325; +37.35; +37.375; +37.4; +37.425; +37.45; +37.475; +37.5; +37.525; +37.55; +37.575; +37.6; +37.625; +37.65; +37.675; +37.7; +37.725; +37.75; +37.775; +37.8; +37.825; +37.85; +37.875; +37.9; +37.925; +37.95; +37.975; +38.0; +38.025; +38.05; +38.075; +38.1; +38.125; +38.15; +38.175; +38.2; +38.225; +38.25; +38.275; +38.3; +38.325; +38.35; +38.375; +38.4; +38.425; +38.45; +38.475; +38.5; +38.525; +38.55; +38.575; +38.6; +38.625; +38.65; +38.675; +38.7; +38.725; +38.75; +38.775; +38.8; +38.825; +38.85; +38.875; +38.9; +38.925; +38.95; +38.975; +39.0; +39.025; +39.05; +39.075; +39.1; +39.125; +39.15; +39.175; +39.2; +39.225; +39.25; +39.275; +39.3; +39.325; +39.35; +39.375; +39.4; +39.425; +39.45; +39.475; +39.5; +39.525; +39.55; +39.575; +39.6; +39.625; +39.65; +39.675; +39.7; +39.725; +39.75; +39.775; +39.8; +39.825; +39.85; +39.875; +39.9; +39.925; +39.95; +39.975; diff --git a/model.dlim b/model.dlim new file mode 100644 index 0000000..eb5378f --- /dev/null +++ b/model.dlim @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + diff --git a/timestamps.txt b/timestamps.txt new file mode 100644 index 0000000..b07c9bd --- /dev/null +++ b/timestamps.txt @@ -0,0 +1,750 @@ +0.0; +0.2; +0.4; +0.6; +0.8; +1.0; +1.2; +1.4; +1.6; +1.8; +2.0; +2.2; +2.4; +2.6; +2.8; +3.0; +3.2; +3.4; +3.6; +3.8; +4.0; +4.2; +4.4; +4.6; +4.8; +5.0; +5.2; +5.4; +5.6; +5.8; +6.0; +6.2; +6.4; +6.6; +6.8; +7.0; +7.2; +7.4; +7.6; +7.8; +8.0; +8.2; +8.4; +8.6; +8.8; +9.0; +9.2; +9.4; +9.6; +9.8; +10.0; +10.1; +10.2; +10.3; +10.4; +10.5; +10.6; +10.7; +10.8; +10.9; +11.0; +11.1; +11.2; +11.3; +11.4; +11.5; +11.6; +11.7; +11.8; +11.9; +12.0; +12.1; +12.2; +12.3; +12.4; +12.5; +12.6; +12.7; +12.8; +12.9; +13.0; +13.1; +13.2; +13.3; +13.4; +13.5; +13.6; +13.7; +13.8; +13.9; +14.0; +14.1; +14.2; +14.3; +14.4; +14.5; +14.6; +14.7; +14.8; +14.9; +15.0; +15.1; +15.2; +15.3; +15.4; +15.5; +15.6; +15.7; +15.8; +15.9; +16.0; +16.1; +16.2; +16.3; +16.4; +16.5; +16.6; +16.7; +16.8; +16.9; +17.0; +17.1; +17.2; +17.3; +17.4; +17.5; +17.6; +17.7; +17.8; +17.9; +18.0; +18.1; +18.2; +18.3; +18.4; +18.5; +18.6; +18.7; +18.8; +18.9; +19.0; +19.1; +19.2; +19.3; +19.4; +19.5; +19.6; +19.7; +19.8; +19.9; +20.0; +20.05; +20.1; +20.15; +20.2; +20.25; +20.3; +20.35; +20.4; +20.45; +20.5; +20.55; +20.6; +20.65; +20.7; +20.75; +20.8; +20.85; +20.9; +20.95; +21.0; +21.05; +21.1; +21.15; +21.2; +21.25; +21.3; +21.35; +21.4; +21.45; +21.5; +21.55; +21.6; +21.65; +21.7; +21.75; +21.8; +21.85; +21.9; +21.95; +22.0; +22.05; +22.1; +22.15; +22.2; +22.25; +22.3; +22.35; +22.4; +22.45; +22.5; +22.55; +22.6; +22.65; +22.7; +22.75; +22.8; +22.85; +22.9; +22.95; +23.0; +23.05; +23.1; +23.15; +23.2; +23.25; +23.3; +23.35; +23.4; +23.45; +23.5; +23.55; +23.6; +23.65; +23.7; +23.75; +23.8; +23.85; +23.9; +23.95; +24.0; +24.05; +24.1; +24.15; +24.2; +24.25; +24.3; +24.35; +24.4; +24.45; +24.5; +24.55; +24.6; +24.65; +24.7; +24.75; +24.8; +24.85; +24.9; +24.95; +25.0; +25.05; +25.1; +25.15; +25.2; +25.25; +25.3; +25.35; +25.4; +25.45; +25.5; +25.55; +25.6; +25.65; +25.7; +25.75; +25.8; +25.85; +25.9; +25.95; +26.0; +26.05; +26.1; +26.15; +26.2; +26.25; +26.3; +26.35; +26.4; +26.45; +26.5; +26.55; +26.6; +26.65; +26.7; +26.75; +26.8; +26.85; +26.9; +26.95; +27.0; +27.05; +27.1; +27.15; +27.2; +27.25; +27.3; +27.35; +27.4; +27.45; +27.5; +27.55; +27.6; +27.65; +27.7; +27.75; +27.8; +27.85; +27.9; +27.95; +28.0; +28.05; +28.1; +28.15; +28.2; +28.25; +28.3; +28.35; +28.4; +28.45; +28.5; +28.55; +28.6; +28.65; +28.7; +28.75; +28.8; +28.85; +28.9; +28.95; +29.0; +29.05; +29.1; +29.15; +29.2; +29.25; +29.3; +29.35; +29.4; +29.45; +29.5; +29.55; +29.6; +29.65; +29.7; +29.75; +29.8; +29.85; +29.9; +29.95; +30.0; +30.025; +30.05; +30.075; +30.1; +30.125; +30.15; +30.175; +30.2; +30.225; +30.25; +30.275; +30.3; +30.325; +30.35; +30.375; +30.4; +30.425; +30.45; +30.475; +30.5; +30.525; +30.55; +30.575; +30.6; +30.625; +30.65; +30.675; +30.7; +30.725; +30.75; +30.775; +30.8; +30.825; +30.85; +30.875; +30.9; +30.925; +30.95; +30.975; +31.0; +31.025; +31.05; +31.075; +31.1; +31.125; +31.15; +31.175; +31.2; +31.225; +31.25; +31.275; +31.3; +31.325; +31.35; +31.375; +31.4; +31.425; +31.45; +31.475; +31.5; +31.525; +31.55; +31.575; +31.6; +31.625; +31.65; +31.675; +31.7; +31.725; +31.75; +31.775; +31.8; +31.825; +31.85; +31.875; +31.9; +31.925; +31.95; +31.975; +32.0; +32.025; +32.05; +32.075; +32.1; +32.125; +32.15; +32.175; +32.2; +32.225; +32.25; +32.275; +32.3; +32.325; +32.35; +32.375; +32.4; +32.425; +32.45; +32.475; +32.5; +32.525; +32.55; +32.575; +32.6; +32.625; +32.65; +32.675; +32.7; +32.725; +32.75; +32.775; +32.8; +32.825; +32.85; +32.875; +32.9; +32.925; +32.95; +32.975; +33.0; +33.025; +33.05; +33.075; +33.1; +33.125; +33.15; +33.175; +33.2; +33.225; +33.25; +33.275; +33.3; +33.325; +33.35; +33.375; +33.4; +33.425; +33.45; +33.475; +33.5; +33.525; +33.55; +33.575; +33.6; +33.625; +33.65; +33.675; +33.7; +33.725; +33.75; +33.775; +33.8; +33.825; +33.85; +33.875; +33.9; +33.925; +33.95; +33.975; +34.0; +34.025; +34.05; +34.075; +34.1; +34.125; +34.15; +34.175; +34.2; +34.225; +34.25; +34.275; +34.3; +34.325; +34.35; +34.375; +34.4; +34.425; +34.45; +34.475; +34.5; +34.525; +34.55; +34.575; +34.6; +34.625; +34.65; +34.675; +34.7; +34.725; +34.75; +34.775; +34.8; +34.825; +34.85; +34.875; +34.9; +34.925; +34.95; +34.975; +35.0; +35.025; +35.05; +35.075; +35.1; +35.125; +35.15; +35.175; +35.2; +35.225; +35.25; +35.275; +35.3; +35.325; +35.35; +35.375; +35.4; +35.425; +35.45; +35.475; +35.5; +35.525; +35.55; +35.575; +35.6; +35.625; +35.65; +35.675; +35.7; +35.725; +35.75; +35.775; +35.8; +35.825; +35.85; +35.875; +35.9; +35.925; +35.95; +35.975; +36.0; +36.025; +36.05; +36.075; +36.1; +36.125; +36.15; +36.175; +36.2; +36.225; +36.25; +36.275; +36.3; +36.325; +36.35; +36.375; +36.4; +36.425; +36.45; +36.475; +36.5; +36.525; +36.55; +36.575; +36.6; +36.625; +36.65; +36.675; +36.7; +36.725; +36.75; +36.775; +36.8; +36.825; +36.85; +36.875; +36.9; +36.925; +36.95; +36.975; +37.0; +37.025; +37.05; +37.075; +37.1; +37.125; +37.15; +37.175; +37.2; +37.225; +37.25; +37.275; +37.3; +37.325; +37.35; +37.375; +37.4; +37.425; +37.45; +37.475; +37.5; +37.525; +37.55; +37.575; +37.6; +37.625; +37.65; +37.675; +37.7; +37.725; +37.75; +37.775; +37.8; +37.825; +37.85; +37.875; +37.9; +37.925; +37.95; +37.975; +38.0; +38.025; +38.05; +38.075; +38.1; +38.125; +38.15; +38.175; +38.2; +38.225; +38.25; +38.275; +38.3; +38.325; +38.35; +38.375; +38.4; +38.425; +38.45; +38.475; +38.5; +38.525; +38.55; +38.575; +38.6; +38.625; +38.65; +38.675; +38.7; +38.725; +38.75; +38.775; +38.8; +38.825; +38.85; +38.875; +38.9; +38.925; +38.95; +38.975; +39.0; +39.025; +39.05; +39.075; +39.1; +39.125; +39.15; +39.175; +39.2; +39.225; +39.25; +39.275; +39.3; +39.325; +39.35; +39.375; +39.4; +39.425; +39.45; +39.475; +39.5; +39.525; +39.55; +39.575; +39.6; +39.625; +39.65; +39.675; +39.7; +39.725; +39.75; +39.775; +39.8; +39.825; +39.85; +39.875; +39.9; +39.925; +39.95; +39.975; From dbc01737048922c85e29212b15db3ecdd6e16019 Mon Sep 17 00:00:00 2001 From: andreaswe Date: Mon, 9 Jun 2014 22:34:21 +0200 Subject: [PATCH 3/6] prepare publication --- SingleThreadPool-DummySampler.jmx | 161 ---- SingleThreadPool-HTTPSampler.jmx | 170 ---- TwoThreadPools-DummySampler.jmx | 215 ----- examples/TimestampTimerExample.jmx | 116 --- examples/modelTimeStamps.txt | 750 ------------------ model.dlim | 15 - .../timers/timestamp/TimestampTimer.java | 11 +- .../TimestampTimerResources.properties | 6 +- .../timers/timestamp/TimestampUtils.java | 2 +- timestamps.txt | 750 ------------------ 10 files changed, 10 insertions(+), 2186 deletions(-) delete mode 100644 SingleThreadPool-DummySampler.jmx delete mode 100644 SingleThreadPool-HTTPSampler.jmx delete mode 100644 TwoThreadPools-DummySampler.jmx delete mode 100644 examples/TimestampTimerExample.jmx delete mode 100644 examples/modelTimeStamps.txt delete mode 100644 model.dlim delete mode 100644 timestamps.txt diff --git a/SingleThreadPool-DummySampler.jmx b/SingleThreadPool-DummySampler.jmx deleted file mode 100644 index 814a0c3..0000000 --- a/SingleThreadPool-DummySampler.jmx +++ /dev/null @@ -1,161 +0,0 @@ - - - - - - false - false - - - - - - - - continue - - false - -1 - - 100 - 0 - 1391782602000 - 1391782602000 - false - - - - - - true - true - 200 - OK - - - 0 - 0 - - - - - 1 - - - - - true - true - 200 - OK - - - 0 - 0 - - - - false - - saveConfig - - - true - true - true - - true - true - true - true - false - true - true - false - false - false - false - false - false - false - false - 0 - true - - - - - - - false - - saveConfig - - - true - true - true - - true - true - true - true - false - true - true - false - false - false - false - false - false - false - false - 0 - true - - - - - - - false - - saveConfig - - - true - true - true - - true - true - true - true - false - true - true - false - false - false - false - false - false - false - false - 0 - true - - - - 1000 - false - - - - - - - - - diff --git a/SingleThreadPool-HTTPSampler.jmx b/SingleThreadPool-HTTPSampler.jmx deleted file mode 100644 index 9d52005..0000000 --- a/SingleThreadPool-HTTPSampler.jmx +++ /dev/null @@ -1,170 +0,0 @@ - - - - - - false - false - - - - - - - - continue - - false - -1 - - 100 - 0 - 1391782602000 - 1391782602000 - false - - - - - - true - true - 200 - OK - - - 0 - 0 - - - - - 1 - - - - - - - - - - - - - - - GET - true - false - true - false - false - - - - - false - - saveConfig - - - true - true - true - - true - true - true - true - false - true - true - false - false - false - false - false - false - false - false - 0 - true - - - - - - - false - - saveConfig - - - true - true - true - - true - true - true - true - false - true - true - false - false - false - false - false - false - false - false - 0 - true - - - - - - - false - - saveConfig - - - true - true - true - - true - true - true - true - false - true - true - false - false - false - false - false - false - false - false - 0 - true - - - - 1000 - false - - - - - - - - - diff --git a/TwoThreadPools-DummySampler.jmx b/TwoThreadPools-DummySampler.jmx deleted file mode 100644 index e604c5c..0000000 --- a/TwoThreadPools-DummySampler.jmx +++ /dev/null @@ -1,215 +0,0 @@ - - - - - - false - false - - - - - - - - startnextloop - - false - -1 - - 1 - 0 - 1381265134000 - 1381265134000 - false - - - - - - true - true - 200 - OK - - - 0 - 0 - - - - - 1 - - - - ${TIMESTAMP_ID} - CURRENT_ID - - - - - - continue - - false - -1 - - 100 - - 1359887691000 - 1359887704000 - false - 2 - 0 - - - - 1 - - 1 - COUNT - - false - - - - ${COUNT} <= ${TIMESTAMP_TOTAL} - false - - - - true - true - 200 - OK - ${ID} / ${TIMESTAMP_TOTAL} - ${ID} / ${TIMESTAMP_TOTAL} - 0 - 0 - - - - - ID - CURRENT_ID - - - - - - ${COUNT} > ${TIMESTAMP_TOTAL} - false - - - - 0 - 0 - - - - - - false - - saveConfig - - - true - true - true - - true - true - true - true - false - true - true - false - false - false - false - false - false - false - false - 0 - true - - - - - - - false - - saveConfig - - - true - true - true - - true - true - true - true - false - true - true - false - false - false - false - false - false - false - false - 0 - true - - - - - - - false - - saveConfig - - - true - true - true - - true - true - true - true - false - true - true - false - false - false - false - false - false - false - false - 0 - true - - - - 1000 - false - - - - - - - - diff --git a/examples/TimestampTimerExample.jmx b/examples/TimestampTimerExample.jmx deleted file mode 100644 index a04353e..0000000 --- a/examples/TimestampTimerExample.jmx +++ /dev/null @@ -1,116 +0,0 @@ - - - - - - false - false - - - - - - - - continue - - false - -1 - - 1 - 1 - 1391782602000 - 1391782602000 - false - - - - - - - 1 - - - - true - true - 200 - OK - - - 0 - 0 - - - - false - - saveConfig - - - true - true - true - - true - true - true - true - false - true - true - false - false - false - false - false - false - false - false - 0 - true - - - - 1000 - false - - - - - - false - - saveConfig - - - true - true - true - - true - true - true - true - false - true - true - false - false - false - false - false - false - false - false - 0 - true - - - - - - - - - diff --git a/examples/modelTimeStamps.txt b/examples/modelTimeStamps.txt deleted file mode 100644 index b07c9bd..0000000 --- a/examples/modelTimeStamps.txt +++ /dev/null @@ -1,750 +0,0 @@ -0.0; -0.2; -0.4; -0.6; -0.8; -1.0; -1.2; -1.4; -1.6; -1.8; -2.0; -2.2; -2.4; -2.6; -2.8; -3.0; -3.2; -3.4; -3.6; -3.8; -4.0; -4.2; -4.4; -4.6; -4.8; -5.0; -5.2; -5.4; -5.6; -5.8; -6.0; -6.2; -6.4; -6.6; -6.8; -7.0; -7.2; -7.4; -7.6; -7.8; -8.0; -8.2; -8.4; -8.6; -8.8; -9.0; -9.2; -9.4; -9.6; -9.8; -10.0; -10.1; -10.2; -10.3; -10.4; -10.5; -10.6; -10.7; -10.8; -10.9; -11.0; -11.1; -11.2; -11.3; -11.4; -11.5; -11.6; -11.7; -11.8; -11.9; -12.0; -12.1; -12.2; -12.3; -12.4; -12.5; -12.6; -12.7; -12.8; -12.9; -13.0; -13.1; -13.2; -13.3; -13.4; -13.5; -13.6; -13.7; -13.8; -13.9; -14.0; -14.1; -14.2; -14.3; -14.4; -14.5; -14.6; -14.7; -14.8; -14.9; -15.0; -15.1; -15.2; -15.3; -15.4; -15.5; -15.6; -15.7; -15.8; -15.9; -16.0; -16.1; -16.2; -16.3; -16.4; -16.5; -16.6; -16.7; -16.8; -16.9; -17.0; -17.1; -17.2; -17.3; -17.4; -17.5; -17.6; -17.7; -17.8; -17.9; -18.0; -18.1; -18.2; -18.3; -18.4; -18.5; -18.6; -18.7; -18.8; -18.9; -19.0; -19.1; -19.2; -19.3; -19.4; -19.5; -19.6; -19.7; -19.8; -19.9; -20.0; -20.05; -20.1; -20.15; -20.2; -20.25; -20.3; -20.35; -20.4; -20.45; -20.5; -20.55; -20.6; -20.65; -20.7; -20.75; -20.8; -20.85; -20.9; -20.95; -21.0; -21.05; -21.1; -21.15; -21.2; -21.25; -21.3; -21.35; -21.4; -21.45; -21.5; -21.55; -21.6; -21.65; -21.7; -21.75; -21.8; -21.85; -21.9; -21.95; -22.0; -22.05; -22.1; -22.15; -22.2; -22.25; -22.3; -22.35; -22.4; -22.45; -22.5; -22.55; -22.6; -22.65; -22.7; -22.75; -22.8; -22.85; -22.9; -22.95; -23.0; -23.05; -23.1; -23.15; -23.2; -23.25; -23.3; -23.35; -23.4; -23.45; -23.5; -23.55; -23.6; -23.65; -23.7; -23.75; -23.8; -23.85; -23.9; -23.95; -24.0; -24.05; -24.1; -24.15; -24.2; -24.25; -24.3; -24.35; -24.4; -24.45; -24.5; -24.55; -24.6; -24.65; -24.7; -24.75; -24.8; -24.85; -24.9; -24.95; -25.0; -25.05; -25.1; -25.15; -25.2; -25.25; -25.3; -25.35; -25.4; -25.45; -25.5; -25.55; -25.6; -25.65; -25.7; -25.75; -25.8; -25.85; -25.9; -25.95; -26.0; -26.05; -26.1; -26.15; -26.2; -26.25; -26.3; -26.35; -26.4; -26.45; -26.5; -26.55; -26.6; -26.65; -26.7; -26.75; -26.8; -26.85; -26.9; -26.95; -27.0; -27.05; -27.1; -27.15; -27.2; -27.25; -27.3; -27.35; -27.4; -27.45; -27.5; -27.55; -27.6; -27.65; -27.7; -27.75; -27.8; -27.85; -27.9; -27.95; -28.0; -28.05; -28.1; -28.15; -28.2; -28.25; -28.3; -28.35; -28.4; -28.45; -28.5; -28.55; -28.6; -28.65; -28.7; -28.75; -28.8; -28.85; -28.9; -28.95; -29.0; -29.05; -29.1; -29.15; -29.2; -29.25; -29.3; -29.35; -29.4; -29.45; -29.5; -29.55; -29.6; -29.65; -29.7; -29.75; -29.8; -29.85; -29.9; -29.95; -30.0; -30.025; -30.05; -30.075; -30.1; -30.125; -30.15; -30.175; -30.2; -30.225; -30.25; -30.275; -30.3; -30.325; -30.35; -30.375; -30.4; -30.425; -30.45; -30.475; -30.5; -30.525; -30.55; -30.575; -30.6; -30.625; -30.65; -30.675; -30.7; -30.725; -30.75; -30.775; -30.8; -30.825; -30.85; -30.875; -30.9; -30.925; -30.95; -30.975; -31.0; -31.025; -31.05; -31.075; -31.1; -31.125; -31.15; -31.175; -31.2; -31.225; -31.25; -31.275; -31.3; -31.325; -31.35; -31.375; -31.4; -31.425; -31.45; -31.475; -31.5; -31.525; -31.55; -31.575; -31.6; -31.625; -31.65; -31.675; -31.7; -31.725; -31.75; -31.775; -31.8; -31.825; -31.85; -31.875; -31.9; -31.925; -31.95; -31.975; -32.0; -32.025; -32.05; -32.075; -32.1; -32.125; -32.15; -32.175; -32.2; -32.225; -32.25; -32.275; -32.3; -32.325; -32.35; -32.375; -32.4; -32.425; -32.45; -32.475; -32.5; -32.525; -32.55; -32.575; -32.6; -32.625; -32.65; -32.675; -32.7; -32.725; -32.75; -32.775; -32.8; -32.825; -32.85; -32.875; -32.9; -32.925; -32.95; -32.975; -33.0; -33.025; -33.05; -33.075; -33.1; -33.125; -33.15; -33.175; -33.2; -33.225; -33.25; -33.275; -33.3; -33.325; -33.35; -33.375; -33.4; -33.425; -33.45; -33.475; -33.5; -33.525; -33.55; -33.575; -33.6; -33.625; -33.65; -33.675; -33.7; -33.725; -33.75; -33.775; -33.8; -33.825; -33.85; -33.875; -33.9; -33.925; -33.95; -33.975; -34.0; -34.025; -34.05; -34.075; -34.1; -34.125; -34.15; -34.175; -34.2; -34.225; -34.25; -34.275; -34.3; -34.325; -34.35; -34.375; -34.4; -34.425; -34.45; -34.475; -34.5; -34.525; -34.55; -34.575; -34.6; -34.625; -34.65; -34.675; -34.7; -34.725; -34.75; -34.775; -34.8; -34.825; -34.85; -34.875; -34.9; -34.925; -34.95; -34.975; -35.0; -35.025; -35.05; -35.075; -35.1; -35.125; -35.15; -35.175; -35.2; -35.225; -35.25; -35.275; -35.3; -35.325; -35.35; -35.375; -35.4; -35.425; -35.45; -35.475; -35.5; -35.525; -35.55; -35.575; -35.6; -35.625; -35.65; -35.675; -35.7; -35.725; -35.75; -35.775; -35.8; -35.825; -35.85; -35.875; -35.9; -35.925; -35.95; -35.975; -36.0; -36.025; -36.05; -36.075; -36.1; -36.125; -36.15; -36.175; -36.2; -36.225; -36.25; -36.275; -36.3; -36.325; -36.35; -36.375; -36.4; -36.425; -36.45; -36.475; -36.5; -36.525; -36.55; -36.575; -36.6; -36.625; -36.65; -36.675; -36.7; -36.725; -36.75; -36.775; -36.8; -36.825; -36.85; -36.875; -36.9; -36.925; -36.95; -36.975; -37.0; -37.025; -37.05; -37.075; -37.1; -37.125; -37.15; -37.175; -37.2; -37.225; -37.25; -37.275; -37.3; -37.325; -37.35; -37.375; -37.4; -37.425; -37.45; -37.475; -37.5; -37.525; -37.55; -37.575; -37.6; -37.625; -37.65; -37.675; -37.7; -37.725; -37.75; -37.775; -37.8; -37.825; -37.85; -37.875; -37.9; -37.925; -37.95; -37.975; -38.0; -38.025; -38.05; -38.075; -38.1; -38.125; -38.15; -38.175; -38.2; -38.225; -38.25; -38.275; -38.3; -38.325; -38.35; -38.375; -38.4; -38.425; -38.45; -38.475; -38.5; -38.525; -38.55; -38.575; -38.6; -38.625; -38.65; -38.675; -38.7; -38.725; -38.75; -38.775; -38.8; -38.825; -38.85; -38.875; -38.9; -38.925; -38.95; -38.975; -39.0; -39.025; -39.05; -39.075; -39.1; -39.125; -39.15; -39.175; -39.2; -39.225; -39.25; -39.275; -39.3; -39.325; -39.35; -39.375; -39.4; -39.425; -39.45; -39.475; -39.5; -39.525; -39.55; -39.575; -39.6; -39.625; -39.65; -39.675; -39.7; -39.725; -39.75; -39.775; -39.8; -39.825; -39.85; -39.875; -39.9; -39.925; -39.95; -39.975; diff --git a/model.dlim b/model.dlim deleted file mode 100644 index eb5378f..0000000 --- a/model.dlim +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - - - - - - - - - - diff --git a/src/org/apache/jmeter/timers/timestamp/TimestampTimer.java b/src/org/apache/jmeter/timers/timestamp/TimestampTimer.java index 93ffa02..131a204 100644 --- a/src/org/apache/jmeter/timers/timestamp/TimestampTimer.java +++ b/src/org/apache/jmeter/timers/timestamp/TimestampTimer.java @@ -18,7 +18,7 @@ * contain relative timestamps in seconds. Each line in the timestamp file must * contain one timestamp which is followed by a semicolon (;). * One option for creating timestamp files is the workload modeling tool LIMBO: - * @see LIMBO Website + * @see LIMBO Website * * Examplary file content for a timestamp file: * 0.5; @@ -33,8 +33,8 @@ * ... and so on * * Its possible to configure 2 different usage modes (important when Timer is placed in Thread Group with more than 1 threads): - * - "Every thread in thread group uses all timestamps" - * - "Timestamps are shared by threads in threadgroup" + * - "Every thread in thread group uses all time stamps" + * - "Timestamps are shared by threads in thread group (every time stamp is used once)" * * When the first option is used every thread will delay its execution at the same points of time. * The second option allows "sharing" of timestamps between the thread. When the thread group contains @@ -102,11 +102,11 @@ public long delay() { long plannedStart; if (currentTimestamp != null) { plannedStart = startTime + currentTimestamp.timestamp; - vars.put("TIMESTAMPTIMER_ID", Long.toString(currentTimestamp.id)); + vars.put("TIMESTAMP_ID", Long.toString(currentTimestamp.id)); } else { // No timestamp left, delay thread until end of test. plannedStart = startTime + lastTimestamp + SAFETY_DELAY; - vars.put("TIMESTAMPTIMER_ID", Long.toString(0)); + vars.put("TIMESTAMP_ID", Long.toString(0)); // Stops thread // Be careful, the next sampler will be executed anyway! // Thus the timer should always be embedded in an dummy sampler (if not every thread will produce one overhead sample) @@ -181,6 +181,7 @@ public void testStarted() { } else { startTime = System.currentTimeMillis(); vars.put("TIMESTAMPTIMER_START", Long.toString(startTime)); + vars.put("TIMESTAMP_TOTAL", Long.toString(timestampList.size())); } } diff --git a/src/org/apache/jmeter/timers/timestamp/TimestampTimerResources.properties b/src/org/apache/jmeter/timers/timestamp/TimestampTimerResources.properties index 4e7e0e6..ea6c74b 100644 --- a/src/org/apache/jmeter/timers/timestamp/TimestampTimerResources.properties +++ b/src/org/apache/jmeter/timers/timestamp/TimestampTimerResources.properties @@ -1,7 +1,7 @@ displayName=Timestamp Timer timestamp_timer.displayName=Configure Timestamp Timer filename.displayName=Timestamp File -filename.shortDescription=Name of the file (within your supporting file directory) that holds timestamp data +filename.shortDescription=Name of the file (within your supporting file directory) that holds time stamp data usageMode.displayName=Usage Mode -calcMode.1=Every thread in thread group uses all timestamps -calcMode.2=Timestamps are shared by threads in thread group (every timestamp is used once) \ No newline at end of file +calcMode.1=Every thread in thread group uses all time stamps +calcMode.2=Timestamps are shared by threads in thread group (every time stamp is used once) \ No newline at end of file diff --git a/src/org/apache/jmeter/timers/timestamp/TimestampUtils.java b/src/org/apache/jmeter/timers/timestamp/TimestampUtils.java index 890d7a1..451f8fd 100644 --- a/src/org/apache/jmeter/timers/timestamp/TimestampUtils.java +++ b/src/org/apache/jmeter/timers/timestamp/TimestampUtils.java @@ -13,7 +13,7 @@ * Timestamp files must contain relative timestamps in seconds. Each line in the timestamp file must * contain one timestamp which is followed by a semicolon (;). * One option for creating timestamp files is the workload modeling tool LIMBO: - * @see LIMBO Website + * @see LIMBO Website * * Examplary file content for a timestamp file: * 0.5; diff --git a/timestamps.txt b/timestamps.txt deleted file mode 100644 index b07c9bd..0000000 --- a/timestamps.txt +++ /dev/null @@ -1,750 +0,0 @@ -0.0; -0.2; -0.4; -0.6; -0.8; -1.0; -1.2; -1.4; -1.6; -1.8; -2.0; -2.2; -2.4; -2.6; -2.8; -3.0; -3.2; -3.4; -3.6; -3.8; -4.0; -4.2; -4.4; -4.6; -4.8; -5.0; -5.2; -5.4; -5.6; -5.8; -6.0; -6.2; -6.4; -6.6; -6.8; -7.0; -7.2; -7.4; -7.6; -7.8; -8.0; -8.2; -8.4; -8.6; -8.8; -9.0; -9.2; -9.4; -9.6; -9.8; -10.0; -10.1; -10.2; -10.3; -10.4; -10.5; -10.6; -10.7; -10.8; -10.9; -11.0; -11.1; -11.2; -11.3; -11.4; -11.5; -11.6; -11.7; -11.8; -11.9; -12.0; -12.1; -12.2; -12.3; -12.4; -12.5; -12.6; -12.7; -12.8; -12.9; -13.0; -13.1; -13.2; -13.3; -13.4; -13.5; -13.6; -13.7; -13.8; -13.9; -14.0; -14.1; -14.2; -14.3; -14.4; -14.5; -14.6; -14.7; -14.8; -14.9; -15.0; -15.1; -15.2; -15.3; -15.4; -15.5; -15.6; -15.7; -15.8; -15.9; -16.0; -16.1; -16.2; -16.3; -16.4; -16.5; -16.6; -16.7; -16.8; -16.9; -17.0; -17.1; -17.2; -17.3; -17.4; -17.5; -17.6; -17.7; -17.8; -17.9; -18.0; -18.1; -18.2; -18.3; -18.4; -18.5; -18.6; -18.7; -18.8; -18.9; -19.0; -19.1; -19.2; -19.3; -19.4; -19.5; -19.6; -19.7; -19.8; -19.9; -20.0; -20.05; -20.1; -20.15; -20.2; -20.25; -20.3; -20.35; -20.4; -20.45; -20.5; -20.55; -20.6; -20.65; -20.7; -20.75; -20.8; -20.85; -20.9; -20.95; -21.0; -21.05; -21.1; -21.15; -21.2; -21.25; -21.3; -21.35; -21.4; -21.45; -21.5; -21.55; -21.6; -21.65; -21.7; -21.75; -21.8; -21.85; -21.9; -21.95; -22.0; -22.05; -22.1; -22.15; -22.2; -22.25; -22.3; -22.35; -22.4; -22.45; -22.5; -22.55; -22.6; -22.65; -22.7; -22.75; -22.8; -22.85; -22.9; -22.95; -23.0; -23.05; -23.1; -23.15; -23.2; -23.25; -23.3; -23.35; -23.4; -23.45; -23.5; -23.55; -23.6; -23.65; -23.7; -23.75; -23.8; -23.85; -23.9; -23.95; -24.0; -24.05; -24.1; -24.15; -24.2; -24.25; -24.3; -24.35; -24.4; -24.45; -24.5; -24.55; -24.6; -24.65; -24.7; -24.75; -24.8; -24.85; -24.9; -24.95; -25.0; -25.05; -25.1; -25.15; -25.2; -25.25; -25.3; -25.35; -25.4; -25.45; -25.5; -25.55; -25.6; -25.65; -25.7; -25.75; -25.8; -25.85; -25.9; -25.95; -26.0; -26.05; -26.1; -26.15; -26.2; -26.25; -26.3; -26.35; -26.4; -26.45; -26.5; -26.55; -26.6; -26.65; -26.7; -26.75; -26.8; -26.85; -26.9; -26.95; -27.0; -27.05; -27.1; -27.15; -27.2; -27.25; -27.3; -27.35; -27.4; -27.45; -27.5; -27.55; -27.6; -27.65; -27.7; -27.75; -27.8; -27.85; -27.9; -27.95; -28.0; -28.05; -28.1; -28.15; -28.2; -28.25; -28.3; -28.35; -28.4; -28.45; -28.5; -28.55; -28.6; -28.65; -28.7; -28.75; -28.8; -28.85; -28.9; -28.95; -29.0; -29.05; -29.1; -29.15; -29.2; -29.25; -29.3; -29.35; -29.4; -29.45; -29.5; -29.55; -29.6; -29.65; -29.7; -29.75; -29.8; -29.85; -29.9; -29.95; -30.0; -30.025; -30.05; -30.075; -30.1; -30.125; -30.15; -30.175; -30.2; -30.225; -30.25; -30.275; -30.3; -30.325; -30.35; -30.375; -30.4; -30.425; -30.45; -30.475; -30.5; -30.525; -30.55; -30.575; -30.6; -30.625; -30.65; -30.675; -30.7; -30.725; -30.75; -30.775; -30.8; -30.825; -30.85; -30.875; -30.9; -30.925; -30.95; -30.975; -31.0; -31.025; -31.05; -31.075; -31.1; -31.125; -31.15; -31.175; -31.2; -31.225; -31.25; -31.275; -31.3; -31.325; -31.35; -31.375; -31.4; -31.425; -31.45; -31.475; -31.5; -31.525; -31.55; -31.575; -31.6; -31.625; -31.65; -31.675; -31.7; -31.725; -31.75; -31.775; -31.8; -31.825; -31.85; -31.875; -31.9; -31.925; -31.95; -31.975; -32.0; -32.025; -32.05; -32.075; -32.1; -32.125; -32.15; -32.175; -32.2; -32.225; -32.25; -32.275; -32.3; -32.325; -32.35; -32.375; -32.4; -32.425; -32.45; -32.475; -32.5; -32.525; -32.55; -32.575; -32.6; -32.625; -32.65; -32.675; -32.7; -32.725; -32.75; -32.775; -32.8; -32.825; -32.85; -32.875; -32.9; -32.925; -32.95; -32.975; -33.0; -33.025; -33.05; -33.075; -33.1; -33.125; -33.15; -33.175; -33.2; -33.225; -33.25; -33.275; -33.3; -33.325; -33.35; -33.375; -33.4; -33.425; -33.45; -33.475; -33.5; -33.525; -33.55; -33.575; -33.6; -33.625; -33.65; -33.675; -33.7; -33.725; -33.75; -33.775; -33.8; -33.825; -33.85; -33.875; -33.9; -33.925; -33.95; -33.975; -34.0; -34.025; -34.05; -34.075; -34.1; -34.125; -34.15; -34.175; -34.2; -34.225; -34.25; -34.275; -34.3; -34.325; -34.35; -34.375; -34.4; -34.425; -34.45; -34.475; -34.5; -34.525; -34.55; -34.575; -34.6; -34.625; -34.65; -34.675; -34.7; -34.725; -34.75; -34.775; -34.8; -34.825; -34.85; -34.875; -34.9; -34.925; -34.95; -34.975; -35.0; -35.025; -35.05; -35.075; -35.1; -35.125; -35.15; -35.175; -35.2; -35.225; -35.25; -35.275; -35.3; -35.325; -35.35; -35.375; -35.4; -35.425; -35.45; -35.475; -35.5; -35.525; -35.55; -35.575; -35.6; -35.625; -35.65; -35.675; -35.7; -35.725; -35.75; -35.775; -35.8; -35.825; -35.85; -35.875; -35.9; -35.925; -35.95; -35.975; -36.0; -36.025; -36.05; -36.075; -36.1; -36.125; -36.15; -36.175; -36.2; -36.225; -36.25; -36.275; -36.3; -36.325; -36.35; -36.375; -36.4; -36.425; -36.45; -36.475; -36.5; -36.525; -36.55; -36.575; -36.6; -36.625; -36.65; -36.675; -36.7; -36.725; -36.75; -36.775; -36.8; -36.825; -36.85; -36.875; -36.9; -36.925; -36.95; -36.975; -37.0; -37.025; -37.05; -37.075; -37.1; -37.125; -37.15; -37.175; -37.2; -37.225; -37.25; -37.275; -37.3; -37.325; -37.35; -37.375; -37.4; -37.425; -37.45; -37.475; -37.5; -37.525; -37.55; -37.575; -37.6; -37.625; -37.65; -37.675; -37.7; -37.725; -37.75; -37.775; -37.8; -37.825; -37.85; -37.875; -37.9; -37.925; -37.95; -37.975; -38.0; -38.025; -38.05; -38.075; -38.1; -38.125; -38.15; -38.175; -38.2; -38.225; -38.25; -38.275; -38.3; -38.325; -38.35; -38.375; -38.4; -38.425; -38.45; -38.475; -38.5; -38.525; -38.55; -38.575; -38.6; -38.625; -38.65; -38.675; -38.7; -38.725; -38.75; -38.775; -38.8; -38.825; -38.85; -38.875; -38.9; -38.925; -38.95; -38.975; -39.0; -39.025; -39.05; -39.075; -39.1; -39.125; -39.15; -39.175; -39.2; -39.225; -39.25; -39.275; -39.3; -39.325; -39.35; -39.375; -39.4; -39.425; -39.45; -39.475; -39.5; -39.525; -39.55; -39.575; -39.6; -39.625; -39.65; -39.675; -39.7; -39.725; -39.75; -39.775; -39.8; -39.825; -39.85; -39.875; -39.9; -39.925; -39.95; -39.975; From ffd47470efb8411c7951d4e96626853e2ca31598 Mon Sep 17 00:00:00 2001 From: andreaswe Date: Mon, 9 Jun 2014 22:35:00 +0200 Subject: [PATCH 4/6] added --- LICENSE | 201 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 201 insertions(+) create mode 100644 LICENSE diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..d26394e --- /dev/null +++ b/LICENSE @@ -0,0 +1,201 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2014 Andreas Weber + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. \ No newline at end of file From d741e35d21115a267c569cd1297fdeba11b28200 Mon Sep 17 00:00:00 2001 From: andreaswe Date: Mon, 9 Jun 2014 22:59:22 +0200 Subject: [PATCH 5/6] updated test plan --- examples/SingleThreadPool-DummySampler.jmx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/SingleThreadPool-DummySampler.jmx b/examples/SingleThreadPool-DummySampler.jmx index 814a0c3..a043c7e 100644 --- a/examples/SingleThreadPool-DummySampler.jmx +++ b/examples/SingleThreadPool-DummySampler.jmx @@ -48,8 +48,8 @@ true 200 OK - - + ${TIMESTAMP_ID} / ${TIMESTAMP_TOTAL} + ${TIMESTAMP_ID} / ${TIMESTAMP_TOTAL} 0 0 From a515c57fc96f32273abd65d6d80458c9c4b06778 Mon Sep 17 00:00:00 2001 From: Andreas Weber Date: Mon, 9 Jun 2014 23:20:24 +0200 Subject: [PATCH 6/6] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 878b6e2..4354a21 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ JMeter plugin for timestamp based delays (new timer component). ------------------------ -Installation: +Installation ------------------------ Just copy the TimestampPlugin.jar file into the folder lib/ext/ of your JMeter installation directory. Exemplary test plans require the Standard Set of JMeter Plugins (http://jmeter-plugins.org) @@ -25,4 +25,4 @@ Usage Try the provided TestPlans (Standard Set of JMeter Plugins (http://jmeter-plugins.org) required). Start with: SingleThreadPool-DummySampler.jmx Find the "Timestamp Timer" element and open a timestamp file (e.g. the provided timestamps.txt). -Run the TestPlan and watch the chart provided by the "jp@gc - Transactions per Second" element. \ No newline at end of file +Run the TestPlan and watch the chart provided by the "jp@gc - Transactions per Second" element.