Skip to content

Instantly share code, notes, and snippets.

View ivanursul's full-sized avatar

Ivan Ursul ivanursul

View GitHub Profile
'use strict';
/**
* @ngdoc overview
* @name angularjsGettingStartedApp
* @description
* # angularjsGettingStartedApp
*
* Main module of the application.
*/
'use strict';
/**
* @ngdoc function
* @name angularjsGettingStartedApp.controller:MainCtrl
* @description
* # MainCtrl
* Controller of the angularjsGettingStartedApp
*/
angular.module('angularjsGettingStartedApp')
<div class="jumbotron">
<h1>'Allo, 'Allo!</h1>
<p class="lead">
<img src="images/yeoman.png" alt="I'm Yeoman"><br>
Always a pleasure scaffolding your apps.
</p>
<p><a class="btn btn-lg btn-success" ng-href="#">Splendid!<span class="glyphicon glyphicon-ok"></span></a></p>
</div>
<div class="row marketing">
'use strict';
describe('Controller: MainCtrl', function () {
// load the controller's module
beforeEach(module('angularjsGettingStartedApp'));
var MainCtrl,
scope;
export ANDROID_SDK=/Users/ivanursul/Documents/Development/IDE/android-bundle/sdk/platform-tools
export REDIS_HOME=~/Documents/Development/Tools/redis/src
export JMETER_HOME=~/Documents/Development/Tools/jmeter/jmeter/bin
export ACTIVE_MQ=~/Development/Tools/apache-activemq/bin/macosx
export NPM_HOME=~/Documents/Development/Tools/npm-global
export M2_HOME=~/Documents/Development/Tools/apache-maven-3.1.1
export MAVEN_OPTS="-Xms1024m -Xmx4096m -XX:PermSize=1024m"
<?xml version="1.0"?>
<project
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>is-lnu</groupId>
<artifactId>is-lnu</artifactId>
<version>0.0.1-SNAPSHOT</version>
package org.lnu.is.integration
import io.gatling.core.Predef.Simulation
import io.gatling.core.Predef.atOnceUsers
import io.gatling.core.Predef.stringToExpression
import io.gatling.http.Predef.http
import io.gatling.http.config.HttpProtocolBuilder.toHttpProtocol
class IntegrationTest extends Simulation {
package org.lnu.is.integration.person
import java.util.UUID
import scala.concurrent.duration.DurationInt
import io.gatling.core.Predef.checkBuilder2Check
import io.gatling.core.Predef.findCheckBuilder2ValidatorCheckBuilder
import io.gatling.core.Predef.scenario
import io.gatling.core.Predef.stringToExpression
package org.lnu.is.integration
import org.lnu.is.integration.person.PersonIntegrationTest
import io.gatling.core.Predef.Simulation
import io.gatling.core.Predef.atOnceUsers
import io.gatling.core.Predef.stringToExpression
import io.gatling.http.Predef.http
import io.gatling.http.config.HttpProtocolBuilder.toHttpProtocol
{
"personTypeId": 1,
"citizenCountryId": 25465,
"genderTypeId": 2,
"marriedTypeId": 2,
"begDate": "2014-01-01",
"endDate": "2015-01-01",
"firstName": "firstname",
"surname": "surname",
"fatherName": "father name",