Skip to content

Instantly share code, notes, and snippets.

@ahjashish
ahjashish / pom.xml
Last active August 11, 2016 16:04
Cucumber with Spring dependency injection
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.artoves</groupId>
<artifactId>cucumber-starter</artifactId>
<version>1.0-SNAPSHOT</version>
@ahjashish
ahjashish / xls-read.groovy
Created September 1, 2016 21:14
Groovy Script to read xls data and fire get requests
@Grapes([
@Grab('org.apache.poi:poi:3.10.1'),
@Grab('org.apache.poi:poi-ooxml:3.10.1')])
import groovy.io.FileType
import groovy.json.JsonOutput
import groovy.json.JsonSlurper
import groovyx.net.http.RESTClient
import org.apache.poi.xssf.usermodel.XSSFWorkbook
import java.nio.file.Paths