Skip to content

Commit 1978bb4

Browse files
authored
Merge pull request #9 from rollno748/csv-config-2.0
csv-config-2.0
2 parents 1d1e243 + 2a50772 commit 1978bb4

13 files changed

+1153
-1022
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
.idea
2+
.vscode
3+
target
4+
dependency-reduced-pom.xml

README.md

Lines changed: 32 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22

33
## Introduction
44

5-
This plugins provide additional features over the CSV data set config element for Jmeter. This also provides additional parameterization feature.
5+
This plugin provides additional feature over the JMeter's default **CSV data set config element**. This also provides additional parameterization feature.
66

77
This will enable **LoadRunner** users, the privilege of having similar parameter advantage in **Apache JMeter**
88

99
## Preview
10-
![Extended CSV Dataset Config](/images/ExtendedCSV.png)
10+
![Extended CSV Dataset Config](/images/ExtendedCsvDataSetConfig.png)
1111

1212
## Required Components
1313

@@ -21,14 +21,25 @@ This will enable **LoadRunner** users, the privilege of having similar parameter
2121

2222
## Installation Instructions
2323

24-
* Download the source code from the Github.
24+
* Download the source code from the GitHub.
2525
* Just do a mvn clean install (M2 is required)
26-
* Jar will be generated under the target directory (di-extended-csv-1.0.jar).
26+
* Jar will be generated under the target directory (di-extended-csv-xx.jar).
2727
* Copy the Jar to \<Jmeter Installed Directory\>/lib/ext/
2828

29+
## What's new ?
30+
31+
* Improved new GUI
32+
* Added feature to create new file
33+
* Added feature to edit csv file with default text editor
34+
* Fixed quoted data issue
35+
* Fixed relative path issue
36+
* Support for large csv (Moved out of In-memory read)
37+
2938

3039
## Options
3140

41+
✨ This version eliminates remembering the below combination table ✨
42+
3243
This allows reading of CSV data as follows
3344

3445
* Select Row (Sequential | Random | Unique)
@@ -37,23 +48,24 @@ This allows reading of CSV data as follows
3748

3849
The below table is the combinations allowed while using this plugin
3950

40-
|Select Row|Update value| Out of Values |Allocate Block Size|
41-
| ------ | ------ |------| ------ |
42-
|Sequential|Each Iteration| Continue Cyclic|NA|
43-
|Sequential|Each Iteration| Abort Thread|NA|
44-
|Sequential|Each Iteration| Continue with Last value|NA|
45-
|Sequential|Once| NA |NA|
46-
|Random|Each Iteration| NA |NA|
47-
|Random|Once| NA |NA|
48-
|Unique|Each Iteration| Continue with Last Value |Enabled|
49-
|Unique|Each Iteration| Continue Cyclic |Enabled|
50-
|Unique|Each Iteration| Abort Thread |Enabled|
51-
|Unique|Once| NA |NA|
51+
| Select Row | Update value | Out of Values | Allocate Block Size |
52+
|------------|----------------|--------------------------|---------------------|
53+
| Sequential | Each Iteration | Continue Cyclic | NA |
54+
| Sequential | Each Iteration | Abort Thread | NA |
55+
| Sequential | Each Iteration | Continue with Last value | NA |
56+
| Sequential | Once | NA | NA |
57+
| Random | Each Iteration | NA | NA |
58+
| Random | Once | NA | NA |
59+
| Unique | Each Iteration | Continue with Last Value | Enabled |
60+
| Unique | Each Iteration | Continue Cyclic | Enabled |
61+
| Unique | Each Iteration | Abort Thread | Enabled |
62+
| Unique | Once | NA | NA |
5263

5364

5465
## Future Release in pipeline
5566

56-
* Create GUI class for UI instead of BeanInfo
67+
* Visualizing csv data in data table
68+
* Simulate Parameter window
5769

5870

5971
## References
@@ -62,8 +74,10 @@ The below table is the combinations allowed while using this plugin
6274

6375

6476
## 💲 Support Me
65-
[<a href="https://www.buymeacoffee.com/rollno748" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png" height="45px" width="162px" alt="Buy Me A Coffee"></a>](https://www.buymeacoffee.com/rollno748)
77+
<!-- [<a href="https://www.buymeacoffee.com/rollno748" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png" height="45px" width="162px" alt="Buy Me A Coffee"></a>](https://www.buymeacoffee.com/rollno748) -->
78+
If this project help you reduce time to develop, you can give me a cup of coffee :)
6679

80+
[![paypal](https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif)](https://ko-fi.com/rollno748)
6781

6882
Please rate a star(:star2:) - If you like it.
6983

images/ExtendedCSV.png

-313 KB
Binary file not shown.

images/ExtendedCsvDataSetConfig.png

80.3 KB
Loading

pom.xml

Lines changed: 59 additions & 67 deletions
Original file line numberDiff line numberDiff line change
@@ -1,71 +1,63 @@
11
<project xmlns="http://maven.apache.org/POM/4.0.0"
2-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4-
<modelVersion>4.0.0</modelVersion>
5-
<groupId>com.di.jmeter.ecsv</groupId>
6-
<artifactId>di-extended-csv</artifactId>
7-
<version>1.1</version>
2+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4+
<modelVersion>4.0.0</modelVersion>
5+
<groupId>com.di.jmeter.ecsv</groupId>
6+
<artifactId>di-extended-csv</artifactId>
7+
<version>2.0</version>
8+
<!--Properties-->
9+
<properties>
10+
<jmeter-version>5.1.1</jmeter-version>
11+
<maven.compiler.source>1.8</maven.compiler.source>
12+
<maven.compiler.target>1.8</maven.compiler.target>
13+
<jdk.version>1.8</jdk.version>
14+
<commons-collections-version>3.2.2</commons-collections-version>
15+
<commons-io-version>2.8.0</commons-io-version>
16+
<commons-lang3-version>3.11</commons-lang3-version>
17+
</properties>
18+
<!-- Dependencies-->
19+
<dependencies>
20+
<dependency>
21+
<groupId>org.apache.jmeter</groupId>
22+
<artifactId>ApacheJMeter_core</artifactId>
23+
<version>${jmeter-version}</version>
24+
</dependency>
25+
<dependency>
26+
<groupId>org.apache.jmeter</groupId>
27+
<artifactId>ApacheJMeter_components</artifactId>
28+
<version>${jmeter-version}</version>
29+
</dependency>
30+
<dependency>
31+
<groupId>org.apache.commons</groupId>
32+
<artifactId>commons-lang3</artifactId>
33+
<version>${commons-lang3-version}</version>
34+
</dependency>
35+
</dependencies>
36+
<!--Build Info-->
37+
<build>
38+
<resources>
39+
<resource>
40+
<directory>src/main/java</directory>
41+
<includes>
42+
<include>**/*.properties</include>
43+
</includes>
44+
</resource>
45+
</resources>
846

9-
<properties>
10-
<jmeter-version>5.4.1</jmeter-version>
11-
<jmeter.lib.scope>provided</jmeter.lib.scope>
12-
<maven.compiler.source>1.8</maven.compiler.source>
13-
<maven.compiler.target>1.8</maven.compiler.target>
14-
<jdk.version>1.8</jdk.version>
15-
</properties>
16-
17-
<dependencies>
18-
<dependency>
19-
<groupId>org.apache.jmeter</groupId>
20-
<artifactId>ApacheJMeter_core</artifactId>
21-
<version>${jmeter-version}</version>
22-
</dependency>
23-
<dependency>
24-
<groupId>org.apache.jmeter</groupId>
25-
<artifactId>ApacheJMeter_components</artifactId>
26-
<version>${jmeter-version}</version>
27-
</dependency>
28-
<dependency>
29-
<groupId>org.apache.commons</groupId>
30-
<artifactId>commons-lang3</artifactId>
31-
<version>3.11</version>
32-
</dependency>
33-
<dependency>
34-
<groupId>commons-io</groupId>
35-
<artifactId>commons-io</artifactId>
36-
<version>2.8.0</version>
37-
</dependency>
38-
<dependency>
39-
<groupId>commons-collections</groupId>
40-
<artifactId>commons-collections</artifactId>
41-
<version>3.2.2</version>
42-
</dependency>
43-
</dependencies>
44-
45-
<build>
46-
<resources>
47-
<resource>
48-
<directory>src/main/java</directory>
49-
<includes>
50-
<include>**/*.properties</include>
51-
</includes>
52-
</resource>
53-
</resources>
54-
55-
<plugins>
56-
<plugin>
57-
<groupId>org.apache.maven.plugins</groupId>
58-
<artifactId>maven-compiler-plugin</artifactId>
59-
<version>2.3</version>
60-
<configuration>
61-
<source>${jdk.version}</source>
62-
<target>${jdk.version}</target>
63-
<optimize>true</optimize>
64-
<showDeprecation>true</showDeprecation>
65-
<showWarnings>true</showWarnings>
66-
</configuration>
67-
</plugin>
68-
</plugins>
69-
</build>
47+
<plugins>
48+
<plugin>
49+
<groupId>org.apache.maven.plugins</groupId>
50+
<artifactId>maven-compiler-plugin</artifactId>
51+
<version>2.3</version>
52+
<configuration>
53+
<source>${jdk.version}</source>
54+
<target>${jdk.version}</target>
55+
<optimize>true</optimize>
56+
<showDeprecation>true</showDeprecation>
57+
<showWarnings>true</showWarnings>
58+
</configuration>
59+
</plugin>
60+
</plugins>
61+
</build>
7062

7163
</project>

0 commit comments

Comments
 (0)