Last login: Mon Feb 4 15:30:17 on ttys004
N/A: version "N/A -> N/A" is not yet installed.
You need to run "nvm install N/A" to install it before using it.
java -v
macs-MacBook-Air:~ alex$ java -v
Unrecognized option: -v
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
macs-MacBook-Air:~ alex$ which java
/usr/bin/java
macs-MacBook-Air:~ alex$ /usr/bin/java
Usage: java [options] <mainclass> [args...]
(to execute a class)
or java [options] -jar <jarfile> [args...]
(to execute a jar file)
or java [options] -m <module>[/<mainclass>] [args...]
java [options] --module <module>[/<mainclass>] [args...]
(to execute the main class in a module)
or java [options] <sourcefile> [args]
(to execute a single source-file program)
Arguments following the main class, source file, -jar <jarfile>,
-m or --module <module>/<mainclass> are passed as the arguments to
main class.
where options include:
-cp <class search path of directories and zip/jar files>
-classpath <class search path of directories and zip/jar files>
--class-path <class search path of directories and zip/jar files>
A : separated list of directories, JAR archives,
and ZIP archives to search for class files.
-p <module path>
--module-path <module path>...
A : separated list of directories, each directory
is a directory of modules.
--upgrade-module-path <module path>...
A : separated list of directories, each directory
is a directory of modules that replace upgradeable
modules in the runtime image
--add-modules <module name>[,<module name>...]
root modules to resolve in addition to the initial module.
<module name> can also be ALL-DEFAULT, ALL-SYSTEM,
ALL-MODULE-PATH.
--list-modules
list observable modules and exit
-d <module name>
--describe-module <module name>
describe a module and exit
--dry-run create VM and load main class but do not execute main method.
The --dry-run option may be useful for validating the
command-line options such as the module system configuration.
--validate-modules
validate all modules and exit
The --validate-modules option may be useful for finding
conflicts and other errors with modules on the module path.
-D<name>=<value>
set a system property
-verbose:[class|module|gc|jni]
enable verbose output
-version print product version to the error stream and exit
--version print product version to the output stream and exit
-showversion print product version to the error stream and continue
--show-version
print product version to the output stream and continue
--show-module-resolution
show module resolution output during startup
-? -h -help
print this help message to the error stream
--help print this help message to the output stream
-X print help on extra options to the error stream
--help-extra print help on extra options to the output stream
-ea[:<packagename>...|:<classname>]
-enableassertions[:<packagename>...|:<classname>]
enable assertions with specified granularity
-da[:<packagename>...|:<classname>]
-disableassertions[:<packagename>...|:<classname>]
disable assertions with specified granularity
-esa | -enablesystemassertions
enable system assertions
-dsa | -disablesystemassertions
disable system assertions
-agentlib:<libname>[=<options>]
load native agent library <libname>, e.g. -agentlib:jdwp
see also -agentlib:jdwp=help
-agentpath:<pathname>[=<options>]
load native agent library by full pathname
-javaagent:<jarpath>[=<options>]
load Java programming language agent, see java.lang.instrument
-splash:<imagepath>
show splash screen with specified image
HiDPI scaled images are automatically supported and used
if available. The unscaled image filename, e.g. image.ext,
should always be passed as the argument to the -splash option.
The most appropriate scaled image provided will be picked up
automatically.
See the SplashScreen API documentation for more information
@argument files
one or more argument files containing options
-disable-@files
prevent further argument file expansion
--enable-preview
allow classes to depend on preview features of this release
To specify an argument for a long option, you can use --<name>=<value> or
--<name> <value>.
macs-MacBook-Air:~ alex$ /usr/bin/java --help
Usage: java [options] <mainclass> [args...]
(to execute a class)
or java [options] -jar <jarfile> [args...]
(to execute a jar file)
or java [options] -m <module>[/<mainclass>] [args...]
java [options] --module <module>[/<mainclass>] [args...]
(to execute the main class in a module)
or java [options] <sourcefile> [args]
(to execute a single source-file program)
Arguments following the main class, source file, -jar <jarfile>,
-m or --module <module>/<mainclass> are passed as the arguments to
main class.
where options include:
-cp <class search path of directories and zip/jar files>
-classpath <class search path of directories and zip/jar files>
--class-path <class search path of directories and zip/jar files>
A : separated list of directories, JAR archives,
and ZIP archives to search for class files.
-p <module path>
--module-path <module path>...
A : separated list of directories, each directory
is a directory of modules.
--upgrade-module-path <module path>...
A : separated list of directories, each directory
is a directory of modules that replace upgradeable
modules in the runtime image
--add-modules <module name>[,<module name>...]
root modules to resolve in addition to the initial module.
<module name> can also be ALL-DEFAULT, ALL-SYSTEM,
ALL-MODULE-PATH.
--list-modules
list observable modules and exit
-d <module name>
--describe-module <module name>
describe a module and exit
--dry-run create VM and load main class but do not execute main method.
The --dry-run option may be useful for validating the
command-line options such as the module system configuration.
--validate-modules
validate all modules and exit
The --validate-modules option may be useful for finding
conflicts and other errors with modules on the module path.
-D<name>=<value>
set a system property
-verbose:[class|module|gc|jni]
enable verbose output
-version print product version to the error stream and exit
--version print product version to the output stream and exit
-showversion print product version to the error stream and continue
--show-version
print product version to the output stream and continue
--show-module-resolution
show module resolution output during startup
-? -h -help
print this help message to the error stream
--help print this help message to the output stream
-X print help on extra options to the error stream
--help-extra print help on extra options to the output stream
-ea[:<packagename>...|:<classname>]
-enableassertions[:<packagename>...|:<classname>]
enable assertions with specified granularity
-da[:<packagename>...|:<classname>]
-disableassertions[:<packagename>...|:<classname>]
disable assertions with specified granularity
-esa | -enablesystemassertions
enable system assertions
-dsa | -disablesystemassertions
disable system assertions
-agentlib:<libname>[=<options>]
load native agent library <libname>, e.g. -agentlib:jdwp
see also -agentlib:jdwp=help
-agentpath:<pathname>[=<options>]
load native agent library by full pathname
-javaagent:<jarpath>[=<options>]
load Java programming language agent, see java.lang.instrument
-splash:<imagepath>
show splash screen with specified image
HiDPI scaled images are automatically supported and used
if available. The unscaled image filename, e.g. image.ext,
should always be passed as the argument to the -splash option.
The most appropriate scaled image provided will be picked up
automatically.
See the SplashScreen API documentation for more information
@argument files
one or more argument files containing options
-disable-@files
prevent further argument file expansion
--enable-preview
allow classes to depend on preview features of this release
To specify an argument for a long option, you can use --<name>=<value> or
--<name> <value>.
macs-MacBook-Air:~ alex$ /usr/bin/java --version
java 11.0.1 2018-10-16 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.1+13-LTS)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.1+13-LTS, mixed mode)
macs-MacBook-Air:~ alex$ cd projects/
macs-MacBook-Air:projects alex$ cd api-edo-distate-autotests/
macs-MacBook-Air:api-edo-distate-autotests alex$
macs-MacBook-Air:api-edo-distate-autotests alex$ cd api-edo-distate-aut
-bash: cd: api-edo-distate-aut: No such file or directory
macs-MacBook-Air:api-edo-distate-autotests alex$ ./gradlew clean test --tests generator.WaybillFlowUlGen
FAILURE: Build failed with an exception.
* What went wrong:
Could not determine java version from '11.0.1'.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
macs-MacBook-Air:api-edo-distate-autotests alex$
macs-MacBook-Air:api-edo-distate-autotests alex$ java --version
java 11.0.1 2018-10-16 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.1+13-LTS)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.1+13-LTS, mixed mode)
macs-MacBook-Air:api-edo-distate-autotests alex$ ./gradlew clean test --tests generator.WaybillFlowUlGen
FAILURE: Build failed with an exception.
* What went wrong:
Could not determine java version from '11.0.1'.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
macs-MacBook-Air:api-edo-distate-autotests alex$ ./gradlew clean test --tests generator.WaybillFlowUlGen --info
Initialized native services in: /Users/alex/.gradle/native
FAILURE: Build failed with an exception.
* What went wrong:
Could not determine java version from '11.0.1'.
* Try:
Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output.
macs-MacBook-Air:api-edo-distate-autotests alex$ $PATH
-bash: /anaconda3/bin:/Library/Frameworks/Python.framework/Versions/3.7/bin:/Users/alex/.yarn/bin:/Users/alex/.config/yarn/global/node_modules/.bin:/usr/local/mysql/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Applications/Wireshark.app/Contents/MacOS: No such file or directory
macs-MacBook-Air:api-edo-distate-autotests alex$ $PATH | grep JAVA
-bash: /anaconda3/bin:/Library/Frameworks/Python.framework/Versions/3.7/bin:/Users/alex/.yarn/bin:/Users/alex/.config/yarn/global/node_modules/.bin:/usr/local/mysql/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Applications/Wireshark.app/Contents/MacOS: No such file or directory
macs-MacBook-Air:api-edo-distate-autotests alex$ $PATH
-bash: /anaconda3/bin:/Library/Frameworks/Python.framework/Versions/3.7/bin:/Users/alex/.yarn/bin:/Users/alex/.config/yarn/global/node_modules/.bin:/usr/local/mysql/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Applications/Wireshark.app/Contents/MacOS: No such file or directory
macs-MacBook-Air:api-edo-distate-autotests alex$ $PATHs
macs-MacBook-Air:api-edo-distate-autotests alex$ $PATHS
macs-MacBook-Air:api-edo-distate-autotests alex$ ./gradlew clean test --tests generator.WaybillFlowUlGen --info
Initialized native services in: /Users/alex/.gradle/native
The client will now receive all logging from the daemon (pid: 12882). The daemon log file: /Users/alex/.gradle/daemon/5.0/daemon-12882.out.log
Starting 2nd build in daemon [uptime: 29.235 secs, performance: 99%, no major garbage collections]
Using 4 worker leases.
Starting Build
Settings evaluated using settings file '/Users/alex/projects/api-edo-distate-autotests/settings.gradle'.
Projects loaded. Root project using build file '/Users/alex/projects/api-edo-distate-autotests/build.gradle'.
Included projects: [root project 'api-edo-distate-autotests', project ':api', project ':model']
> Configure project :api
Evaluating project ':api' using build file '/Users/alex/projects/api-edo-distate-autotests/api/build.gradle'.
> Configure project :model
Evaluating project ':model' using build file '/Users/alex/projects/api-edo-distate-autotests/model/build.gradle'.
> Configure project :
Evaluating root project 'api-edo-distate-autotests' using build file '/Users/alex/projects/api-edo-distate-autotests/build.gradle'.
Автотесты
FAILURE: Build failed with an exception.
* Where:
Build file '/Users/alex/projects/api-edo-distate-autotests/build.gradle' line: 98
* What went wrong:
A problem occurred evaluating root project 'api-edo-distate-autotests'.
> Cannot add task 'wrapper' as a task with that name already exists.
* Try:
Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 1s
macs-MacBook-Air:api-edo-distate-autotests alex$ java -v
Unrecognized option: -v
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
macs-MacBook-Air:api-edo-distate-autotests alex$ java --version
java 11.0.1 2018-10-16 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.1+13-LTS)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.1+13-LTS, mixed mode)
macs-MacBook-Air:api-edo-distate-autotests alex$ brew cask install java
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 3 taps (codekitchen/dinghy, homebrew/core and homebrew/services).
==> New Formulae
ahoy curl-openssl goreman libpsl opa resin-cli switch-lan-play
anycable-go cwlogs grpcurl libpulsar opencv@3 rke tass64
anyenv dav1d healpix libvirt-glib opensubdiv ruby@2.4 tdlib
aom dhall hexyl libvmaf opentracing-cpp ruby@2.5 tealdeer
aravis diceware hyperkit llvm@6 osx-cpu-temp s3ql termtosvg
astrometry-net dmg2img i2pd lsd oxipng shellz tmx
atomist-cli dnscontrol i386-elf-binutils mallet pagmo ship topgrade
aws-iam-authenticator easyengine i386-elf-gcc maven@3.5 pass-otp simple-scan ucloud
azure-storage-cpp eg-examples i386-elf-gdb mesa peru skopeo um
bloaty entityx inadyn minica picat sloc up
bluetoothconnector esptool interactive-rebase-tool moarvm pict smimesign vfuse
bundletool fluxctl istioctl needle postgresql@10 sn0int wcslib
c-blosc fx jmxterm nng prototool sng websocat
carla gambit-scheme kubeprod node@10 qalculate-gtk solr@6.6 wsk
cgit geant4 kubeseal nqp rakudo sonobuoy
chafa gerbil-scheme kubespy nu-smv rargs sourcedocs
cmdshelf ghr libcerf nwchem rbspy spice-protocol
create-dmg gitmoji libgusb objfw react-native-cli stanford-corenlp
cryptominisat golang-migrate libnova oclgrind redis@4.0 swagger-codegen@2
==> Updated Formulae
apr ✔ docker-compose-completion hmmer mmseqs2 scalaenv
composer ✔ docker-credential-helper-ecr homebank mockserver scalapack
freetds ✔ docker-ls honcho modd sceptre
gdbm ✔ docker-machine howard-hinnant-date mogenerator schismtracker
glib ✔ docker-machine-completion howdoi monax scipy
icu4c ✔ docker-machine-driver-xhyve hss monero scour
libidn2 ✔ docker-machine-nfs htmldoc monetdb scrcpy
libpng ✔ docker-machine-parallels http-parser mongo-c-driver scummvm
libpq ✔ docker-squash httpd mongo-cxx-driver sdb
libsodium ✔ doctl httpie mongo-orchestration sdcc
libxml2 ✔ docutils hub mongodb@3.0 sdcv
mongodb ✔ doitlive hugo mongodb@3.2 sdf
openssl ✔ dosbox hunspell mongodb@3.4 sdl2
php ✔ dosbox-x hwloc mongodb@3.6 sdl2_image
postgresql ✔ double-conversion hydra mongoose sdl2_mixer
python@2 ✔ dovecot hyperfine mono sec
readline ✔ doxygen hyperscan moreutils selenium-server-standalone
sqlite ✔ dpkg i2p mosh serverless
tree ✔ druid iamy mosquitto sf-pwgen
watchman ✔ dscanner ibex mozjpeg sfcgal
webp ✔ dspdfviewer icdiff mpc sfml
wget ✔ dub ice mpd shadowsocks-libev
abcde duc icecream mpich shairport-sync
abcm2ps duck icemon mplayer shc
abook duo_unix idris mplayershell shellcheck
abyss duplicity ike-scan mps-youtube shellharden
ace dvm imagemagick mpv shellshare
activemq dwarf imagemagick@6 mruby shfmt
advancecomp dwdiff imageoptim-cli mscgen shibboleth-sp
advancemame dwm imageworsener msgpack shocco
adwaita-icon-theme dxpy imapfilter mu shogun
afflib dynare immortal mujs shpotify
agda e2fsprogs influxdb multimarkdown signify-osx
aha eccodes innotop muparser sile
aircrack-ng ed inspircd mupdf simh
akamai editorconfig instead mupdf-tools simple-amqp-client
alexjs efl internetarchive mutt simple-mtpfs
algernon eigen ioping mycli simutrans
allure ejabberd ios-deploy mysql sip
alluxio ekg2 ios-sim mysql-client siril
amazon-ecs-cli elasticsearch ios-webkit-debug-proxy mysql-cluster skaffold
ammonite-repl elasticsearch@5.6 iperf mysql@5.5 skafos
amqp-cpp elektra ipfs mysql@5.6 skinny
angle-grinder elixir iproute2mac mysql@5.7 sl
angular-cli elm-format ipv6calc mysqltuner sleuthkit
anjuta emacs-clang-complete-async ipython n smali
annie embulk iso-codes nailgun smartmontools
ansible emscripten isync nano smlnj
ansible-cmdb encfs itstool nanomsg snapcraft
ansifilter enet jabba nasm snappystream
antlr enigma jadx nativefier snapraid
antlr4-cpp-runtime envconsul jansson nats-streaming-server sngrep
antlr@2 eprover jbake ncmpcpp socat
apache-drill epubcheck jbig2dec nco soci
apache-flink eralchemy jboss-forge ncview softhsm
apache-geode erlang jdnssec-tools ne solr
apache-spark erlang@17 jdupes neko sonar-scanner
ape erlang@18 jena neo4j sonarqube
apibuilder-cli erlang@19 jenkins neofetch sops
apktool erlang@20 jenkins-job-builder neovim source-highlight
app-engine-java eslint jenkins-lts netcdf source-to-image
appledoc etcd jenv netdata sourcekitten
aptly ethereum jerasure netpbm sourcery
arangodb euler-py jetty nettle sox
arcade-learning-environment evince jetty-runner newlisp spades
argus-clients exercism jflex newsboat spatialite-tools
aria2 exiftool jfrog-cli-go nexus spdlog
ark exiv2 jhipster nghttp2 sphinx
armadillo exploitdb jid nginx sphinx-doc
armor eye-d3 jmeter ngspice spidermonkey
arp-scan faas-cli joplin nickle spoof-mac
arpack fabio jq nifi spotbugs
artifactory fabric jrnl nifi-registry sqlcipher
arx fail2ban json-fortran nim sqldiff
asciidoc fastbit json-glib nmh sqlite-analyzer
asciidoctor fatsort json11 nnn sqlmap
asciinema fauna-shell jsoncpp node sqlparse
asdf fb-client jsonnet node-build squashfs
asio fbi-servefiles jsonrpc-glib node@6 sratoolkit
ask-cli fcl juju node@8 ssh-copy-id
aspcud fd juju-wait nodebrew sshconfigfs
aspectj fdk-aac jump nodeenv sshuttle
at-spi2-atk fdk-aac-encoder just nodenv sslmate
at-spi2-core feedgnuplot kafka nomad sslscan
atdtool feh kakoune nordugrid-arc statik
atk ffmpeg kallisto nsd stellar-core
atkmm ffmpeg2theora kapacitor nspr stern
atlassian-cli ffmpeg@2.8 kerl nsq stgit
atomicparsley ffmpegthumbnailer kettle nss stk
aubio ffms2 khal ntopng stlink
audacious field3d kibana nu stockfish
augeas file-formula kibana@5.6 numpy stone-soup
augustus file-roller kitchen-sync nuxeo stormpath-cli
aurora-cli fio knot nvm stormssh
autopep8 firebase-cli knot-resolver nyx streamlink
autorest fish kobalt nzbget strongswan
avfs flac kompose objc-codegenutils stubby
avian flake8 konoha ocaml stunnel
avrdude flann kontena ocaml-num subversion
avro-c flatbuffers kops ocamlbuild sundials
awk flatcc kore ocamlsdl supersonic
aws-elasticbeanstalk flow kotlin ocrmypdf supertux
aws-es-proxy fltk kpcli octave supervisor
aws-okta fluent-bit krakend odpi suricata
aws-sdk-cpp fluid-synth krb5 ompl svgo
aws-shell flume kube-aws oniguruma svtplay-dl
awscli flyway kubectx onscripter swagger-codegen
awslogs fmpp kubeless opam swi-prolog
azure-cli fmsx kubernetes-cli open-babel swift
b2-tools fmt kubernetes-helm open-mpi swift-protobuf
babel fn kubernetes-service-catalog-client open-scene-graph swiftformat
babl fobis kumo openal-soft swiftgen
bacula-fd folly kustomize openapi-generator swiftlint
ballerina fontconfig kyoto-cabinet openblas swimat
baobab fontforge lablgtk opencascade switchaudio-osx
basex fonttools landscaper opencc sync_gateway
bash ford languagetool openclonk syncthing
bash-snippets fork-cleaner lasso opencoarrays synfig
bashdb fortio lastpass-cli openconnect sysbench
bat fossil laszip opencv sysdig
bazel fpc latex2html opencv@2 takt
bcal fping latexdiff opendbx tarantool
bde fq lcm openfortivpn tarsnap-gui
bdw-gc freeciv ldapvi openimageio tarsnapper
beagle freeling ldc openldap task
bear freeswitch lean openmsx taskell
beast freetds@0.91 lean-cli openrct2 tbb
bedops freexl ledger openrtsp tcc
bento4 frugal legit opensaml tcl-tk
bettercap fruit lego opensc tcpdump
bgpdump fselect leiningen openshift-cli tcpflow
bgpq3 fswatch leptonica openssh tcpreplay
bibutils fuseki less openssl@1.1 tectonic
bigloo futhark lf opentsdb telegraf
binaryen fwup lftp openvdb telegram-cli
bind fzf lgogdownloader opus teleport
binutils fzy libarchive opus-tools telnet
binwalk gammaray libassuan opusfile template-glib
bison gandi.cli libatomic_ops orc-tools temporal_tables
bitcoin gauche libav ortp tepl
bitrise gauge libbi osm-pbf terminal-notifier
bitwarden-cli gawk libbitcoin osm2pgrouting termius
black gcab libbitcoin-blockchain osmium-tool termrec
blackbox gcc@6 libbitcoin-client osquery terraform
blahtexml gcc@7 libbitcoin-database osrm-backend terraform-docs
blast gdal libbitcoin-explorer oysttyer terraform_landscape
blink1 gdb libbitcoin-network p11-kit terragrunt
bluepill gdcm libbitcoin-node pacapt tesseract
blueutil gdk-pixbuf libbitcoin-protocol packer testssl
bmake gearman libbitcoin-server pacvim texmath
bnd geckodriver libbladerf paket tgui
boost gecode libbtbb pandoc the_platinum_searcher
boost-bcp gedit libccd pandoc-citeproc thefuck
boost-build geeqie libcdr pandoc-crossref theharvester
boost-mpi gegl libcds pango thors-serializer
boost-python genometools libcec pangomm tig
boost-python3 genstats libchaos parallel tiger-vnc
botan geogram libcouchbase parallelstl tika
bower geoipupdate libdazzle pari tile38
bowtie2 geos libdill pass tinc
braid get_iplayer libedit passenger tintin
brew-gem getdns libepoxy passpie tinyproxy
brew-php-switcher gexiv2 liberasurecode payara tinyxml2
bro gflags libetpan pazpar2 tippecanoe
brogue ghc libextractor pce tmux
brotli ghc@8.2 libfabric pcl tmux-mem-cpu-load
btfs ghostscript libfreehand pcre2 tmuxinator-completion
buildifier gibo libgcrypt pdal tokei
buku gifski libgda pdf2htmlex tomcat
bullet gimme libgit2 pdfgrep tomcat-native
bup ginac libgit2-glib pdfpc tomcat@7
bwfmetaedit git libglademm pdfsandwich tomcat@8
byteman git-annex libgnomecanvasmm pdftoedn tomee-webprofile
bzt git-archive-all libgosu pdftoipe tor
c-ares git-cinnabar libgpg-error pdns tox
c10t git-cola libgphoto2 pdnsrec trace2html
cabal-install git-credential-manager libgsf pdsh tracebox
cabextract git-flow-avh libgxps pegtl traefik
cadaver git-fresh libheif percol trafficserver
caddy git-ftp libhttpserver percona-server translate-shell
caf git-lfs libical percona-toolkit translate-toolkit
caffe git-open libimagequant perl trash-cli
cairo git-quick-stats libimobiledevice petsc travis
cairomm git-recent libiscsi petsc-complex trezor-agent
cake git-review libjson-rpc-cpp pgbadger tty-solitaire
calabash git-secret libjwt pgcli ttyd
calc git-sizer liblcf pgformatter tundra
camlp5 git-standup liblo pgroonga tunnel
capnp git-subrepo libmagic pgrouting tup
capstone gitbucket libmatio pgweb tvnamer
cargo-completion gitfs libmicrohttpd phoronix-test-suite twarc
carthage gitg libmspub php-code-sniffer twine-pypi
cash-cli github-markdown-toc libmxml php-cs-fixer twoping
cassandra gitlab-gem libnice php@7.1 typescript
cassandra@2.2 gitlab-runner libomp phpmyadmin ubertooth
cataclysm gitless libopendkim phpunit uftp
catimg gitup libopkele picard-tools uhd
cayley gitversion libopusenc pig unbound
ccache gjs libosmium pijul uncrustify
ccextractor glances libphonenumber pike unnethack
cclive glbinding libplctag pilosa unoconv
ccm glib-networking libplist pioneer unp64
ccrypt glibmm libpointing pioneers unrar
ceres-solver glide libpqxx pip-completion unshield
cern-ndiff glm libproxy pipenv upscaledb
certbot global libpst pius upx
certigo globjects libqalculate pixman urbit
cfitsio gloox librdkafka pixz urdfdom
cgal glslang libre pktanon urdfdom_headers
cgdb glslviewer libreadline-java planck urh
cglm gmic librealsense plantuml uriparser
chakra gmime libressl platformio uru
chamber gmsh librsvg plplot urweb
chapel gmt librtlsdr pmd userspace-rcu
cheat gmt@4 libsamplerate pngquant v8
checkbashisms gnatsd libsass podofo vagrant-completion
checkstyle gnome-builder libsecret ponyc vala
chicken gnome-latex libsigc++ poppler valabind
chisel gnome-recipes libsoup portmidi valgrind
choose gnu-chess libspectre posh vapoursynth
chrome-cli gnu-indent libssh postgis varnish
chrome-export gnu-sed libstfl postgres-xc vault
chronograf gnu-smalltalk libswiften postgresql@9.4 vaulted
chruby-fish gnu-tar libtcod postgresql@9.5 vc4asm
cimg gnu-units libtensorflow postgresql@9.6 vegeta
circleci gnupg libtiff povray verilator
citus gnupg-pkcs11-scd libtins ppsspp vert.x
ckan gnuplot libtorrent-rasterbar pqiv vice
clamav gnuplot@4 libuv pre-commit vim
clang-format gnuradio libvirt prefixsuffix vim@7.4
clblast gnutls libvisio presto vips
cli53 go libvoikko prettier visp
cling go-bindata libvpx primesieve vnu
clingo go-statik libvterm prips voldemort
clipper go@1.10 libwbxml profanity vorbis-tools
clipsafe go@1.8 libwebsockets proj vowpal-wabbit
clisp go@1.9 libxc prometheus vsts-cli
cloc goaccess libxlsxwriter proselint vte
clojure gobby libxml++ protobuf vte3
clojurescript gobject-introspection libxml++3 protobuf-c vtk
closure-compiler gobuster libxmlsec1 protobuf-swift w3m
cmake gocr libxslt protobuf@3.1 wabt
cmark-gfm gocryptfs lighttpd ps2eps wakatime-cli
cmocka godep linkerd pspg wallpaper
cnats goenv links pulseaudio wartremover
cockroach goffice liquigraph pulumi watchexec
cocoapods gomplate livestreamer pumba watson
codemod google-benchmark lldpd purescript wdiff
codequery googler llnode pushpin weaver
coffeescript goolabs llvm puzzles weboob
cointop gopass llvm@3.9 pwntools webpack
collectd goreleaser llvm@4 pwsafe weechat
collector-sidecar gosu llvm@5 py2cairo wellington
commandbox gource lmdb py3cairo wesnoth
compcert gowsdl lmod pybind11 when
conan gpa lnav pycodestyle whois
configen gpgme log4cplus pyenv widelands
confluent-oss gphoto2 logentries pygitup wildfly-as
conjure-up gprof2dot logstalgia pygobject3 wine
console_bridge gpsbabel logstash pyinvoke winetricks
consul gqlplus logtalk pypy wireguard-go
container-diff gr-osmosdr lolcat pypy3 wireguard-tools
convox gradio lsdvd pyside wireshark
cookiecutter gradle luaradio python with-readline
coq grafana lumo python-markdown woboq_codebrowser
coreutils grails luvit python-yq wolfssl
couchdb grakn lxc q wp-cli
cp2k graph-tool lynis qbs wp-cli-completion
cpanminus graphicsmagick lz4 qcachegrind wpscan
cpmtools graphite2 mackup qcli wskdeploy
cppcheck grep macvim qd wtf
cppcms grib-api mafft qemu wxmaxima
cpprestsdk grip magic-wormhole qjackctl x264
cquery groff magnetix qmmp x265
crc32c groovy mailutils qpdf xalan-c
credstash groovysdk makensis qpid-proton xcodegen
cromwell grpc mame qt xcproj
crosstool-ng grunt-cli mandoc quex xctool
crowdin grunt-completion mapcrafter quicktype xdot
cryfs grv mapnik r xerces-c
cryptopp gsettings-desktop-schemas mapserver rabbitmq xmake
crystal gsmartcontrol mariadb radare2 xml-security-c
crystal-icr gsoap mariadb-connector-c rakudo-star xml-tooling-c
csv-fix gssdp mariadb@10.0 rancher-cli xmount
ctop gst-editing-services mariadb@10.1 range-v3 xmrig
cucumber-cpp gst-libav mariadb@10.2 ranger xonsh
curaengine gst-plugins-bad mas rclone xqilla
curl gst-plugins-base math-comp rdesktop xsd
curlpp gst-plugins-good maven rdfind xsimd
cvs2svn gst-plugins-ugly maxwell re2 xtensor
cython gst-python mbedtls re2c yafc
dar gst-rtsp-server mdbtools recon-ng yaml-cpp
darksky-weather gst-validate mdcat recutils yamllint
dartsim gstreamer mdds redis yank
dash gstreamermm mdk redo yara
dasht gtk+3 mdp remarshal yarn
dateutils gtk-doc mdv renameutils yasm
davix gtk-mac-integration media-info repo yaz
davmail gtkmm mednafen restic ydcv
dbhash gtkmm3 megacmd restview yelp-tools
dbus gtksourceview3 megatools rethinkdb ykman
dbxml gtksourceviewmm memcached riak yle-dl
dcd gtksourceviewmm3 menhir riemann-client yosys
dcm2niix gtkspell3 mercurial ripgrep you-get
ddgr gucharmap meson rlwrap youtube-dl
dependency-check guile meson-internal rmlint yq
deployer guile@2.0 mesos robot-framework yubico-piv-tool
devtodo gupnp-av metabase rocksdb z3
dfmt gupnp-tools metaproxy rom-tools zabbix
dhall-json gwyddion metashell root zanata-client
dialog gzip metricbeat roswell zbackup
diamond hadolint micronaut rp zebra
diff-pdf handbrake midnight-commander rpm zenity
diff-so-fancy hapi-fhir-cli mikutter rst-lint zeromq
diffoscope haproxy mill rswift zig
diffutils harfbuzz miller rtags zile
digdag hashpump mimic ruby zim
digitemp haskell-stack minimal-racket ruby-build zimg
direnv haste-client minimesos ruby@2.0 zmqpp
dita-ot hbase minio ruby@2.3 znc
django-completion hcloud minio-mc rust zookeeper
dlib hdf5 miniserve rustup-init zorba
dmd hdf5@1.8 minizinc s-search zpython
dnscrypt-proxy hebcal mint s3cmd zsh
dnscrypt-wrapper helmfile mitie safe zsh-autosuggestions
dnsmasq help2man mkcert sagittarius-scheme zsh-completions
dnsperf hfstospell mkclean salt zstd
dnstwist highlight mkdocs saxon zurl
docfx hiredis mkl-dnn sbcl
docker hive mkvtoolnix sbt
docker-completion hledger mlt sbt@0.13
docker-compose hlint mmark scala
==> Renamed Formulae
gtksourceview@4 -> gtksourceview4 hh -> hstr php72 -> php@7.2
gutenberg -> zola mat -> mat2 rebar@3 -> rebar3
==> Deleted Formulae
apache-arrow cctools gjstest hyper llvm@3.7 nesemu2 php@5.6 queequeg sary
apache-arrow-glib cctools-headers gnome-doc-utils ib lsh nethack4 php@7.0 reclass sickbeard
apple-gcc42 corebird gradle@2.14 juju-quickstart maven@3.0 onepass pldebugger redis@2.8 sonarlint
aptly-completion cputhrottle gv kibana@4.4 maven@3.1 open-vcdiff pxz rock submarine
asciinema2gif datomic hachoir-metadata ld64 mediatomb opensyobon pyexiv2 ruby@1.8 taylor
casperjs ffmbc heroku liblastfm mimms percona-server@5.6 qt@5.5 ruby@2.2 tcptrack
==> Tapping homebrew/cask
Cloning into '/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask'...
remote: Enumerating objects: 4198, done.
remote: Counting objects: 100% (4198/4198), done.
remote: Compressing objects: 100% (4179/4179), done.
remote: Total 4198 (delta 28), reused 627 (delta 16), pack-reused 0
Receiving objects: 100% (4198/4198), 1.33 MiB | 1.44 MiB/s, done.
Resolving deltas: 100% (28/28), done.
Tapped 1 command and 4107 casks (4,207 files, 4.2MB).
==> Satisfying dependencies
==> Downloading https://download.java.net/java/GA/jdk11/9/GPL/openjdk-11.0.2_osx-x64_bin.tar.gz
######################################################################## 100.0%
==> Verifying SHA-256 checksum for Cask 'java'.
==> Installing Cask java
==> Creating Caskroom at /usr/local/Caskroom
==> We'll set permissions properly so we won't need sudo in the future.
Password:
🍺 java was successfully installed!
macs-MacBook-Air:api-edo-distate-autotests alex$ java --version
openjdk 11.0.2 2019-01-15
OpenJDK Runtime Environment 18.9 (build 11.0.2+9)
OpenJDK 64-Bit Server VM 18.9 (build 11.0.2+9, mixed mode)
macs-MacBook-Air:api-edo-distate-autotests alex$ brew cask install java8
Error: Cask 'java8' is unavailable: No Cask with this name exists.
macs-MacBook-Air:api-edo-distate-autotests alex$ brew tap caskroom/versions
==> Tapping caskroom/versions
Cloning into '/usr/local/Homebrew/Library/Taps/caskroom/homebrew-versions'...
remote: Enumerating objects: 233, done.
remote: Counting objects: 100% (233/233), done.
remote: Compressing objects: 100% (224/224), done.
remote: Total 233 (delta 15), reused 50 (delta 7), pack-reused 0
Receiving objects: 100% (233/233), 92.46 KiB | 884.00 KiB/s, done.
Resolving deltas: 100% (15/15), done.
Tapped 210 casks (252 files, 349KB).
macs-MacBook-Air:api-edo-distate-autotests alex$ brew cask install java8
==> Satisfying dependencies
==> Downloading https://download.java.net/java/early_access/jdk8/b03/BCL/jdk-8u202-ea-bin-b03-macosx-x86_64-07_nov_2018.dmg
curl: (22) The requested URL returned error: 404 Not Found
Error: Download failed on Cask 'java8' with message: Download failed: https://download.java.net/java/early_access/jdk8/b03/BCL/jdk-8u202-ea-bin-b03-macosx-x86_64-07_nov_2018.dmg
macs-MacBook-Air:api-edo-distate-autotests alex$ brew tap caskroom/versions
macs-MacBook-Air:api-edo-distate-autotests alex$ brew cask install java8
Updating Homebrew...
==> Satisfying dependencies
==> Downloading https://download.java.net/java/early_access/jdk8/b03/BCL/jdk-8u202-ea-bin-b03-macosx-x86_64-07_nov_2018.dmg
curl: (22) The requested URL returned error: 404 Not Found
Error: Download failed on Cask 'java8' with message: Download failed: https://download.java.net/java/early_access/jdk8/b03/BCL/jdk-8u202-ea-bin-b03-macosx-x86_64-07_nov_2018.dmg
macs-MacBook-Air:api-edo-distate-autotests alex$ brew cask fetch java8
==> Downloading external files for Cask java8
==> Downloading https://download.java.net/java/early_access/jdk8/b03/BCL/jdk-8u202-ea-bin-b03-macosx-x86_64-07_nov_2018.dmg
curl: (22) The requested URL returned error: 404 Not Found
Error: Download failed on Cask 'java8' with message: Download failed: https://download.java.net/java/early_access/jdk8/b03/BCL/jdk-8u202-ea-bin-b03-macosx-x86_64-07_nov_2018.dmg
macs-MacBook-Air:api-edo-distate-autotests alex$ brew cask audit --download java8
==> Downloading https://download.java.net/java/early_access/jdk8/b03/BCL/jdk-8u202-ea-bin-b03-macosx-x86_64-07_nov_2018.dmg
curl: (22) The requested URL returned error: 404 Not Found
audit for java8: failed
- download not possible: Download failed on Cask 'java8' with message: Download failed: https://download.java.net/java/early_access/jdk8/b03/BCL/jdk-8u202-ea-bin-b03-macosx-x86_64-07_nov_2018.dmg
- The URL https://download.java.net/java/early_access/jdk8/b03/BCL/jdk-8u202-ea-bin-b03-macosx-x86_64-07_nov_2018.dmg is not reachable (HTTP status code 404)
Error: audit failed for casks: java8
macs-MacBook-Air:api-edo-distate-autotests alex$ brew cask style --fix java8
==> Installing or updating 'bundler' gem
Fetching: bundler-2.0.1.gem (100%)
Successfully installed bundler-2.0.1
1 gem installed
The following gems are missing
* ast (2.4.0)
* json (2.1.0)
* docile (1.3.1)
* simplecov-html (0.10.2)
* simplecov (0.16.1)
* tins (1.20.2)
* term-ansicolor (1.7.1)
* thor (0.19.4)
* coveralls (0.8.22)
* diff-lcs (1.3)
* hpricot (0.8.6)
* jaro_winkler (1.5.2)
* mustache (1.1.0)
* parallel (1.13.0)
* parallel_tests (2.27.1)
* parser (2.6.0.0)
* powerpack (0.1.2)
* rainbow (3.0.0)
* rdiscount (2.2.0.1)
* ronn (0.7.3)
* rspec-support (3.8.0)
* rspec-core (3.8.0)
* rspec-expectations (3.8.2)
* rspec-mocks (3.8.0)
* rspec (3.8.0)
* rspec-its (1.2.0)
* rspec-retry (0.6.1)
* rspec-wait (0.0.9)
* ruby-progressbar (1.10.0)
* unicode-display_width (1.4.1)
* rubocop (0.63.1)
* simplecov-cobertura (1.3.0)
Install missing gems with `bundle install`
Fetching gem metadata from https://rubygems.org/........
Fetching ast 2.4.0
Using bundler 2.0.1
Fetching json 2.1.0
Fetching docile 1.3.1
Installing ast 2.4.0
Installing docile 1.3.1
Fetching simplecov-html 0.10.2
Fetching tins 1.20.2
Installing json 2.1.0 with native extensions
Installing simplecov-html 0.10.2
Installing tins 1.20.2
Fetching thor 0.19.4
Installing thor 0.19.4
Fetching diff-lcs 1.3
Fetching hpricot 0.8.6
Installing diff-lcs 1.3
Fetching jaro_winkler 1.5.2
Installing hpricot 0.8.6 with native extensions
Installing jaro_winkler 1.5.2 with native extensions
Fetching mustache 1.1.0
Installing mustache 1.1.0
Fetching parallel 1.13.0
Installing parallel 1.13.0
Fetching powerpack 0.1.2
Installing powerpack 0.1.2
Fetching rainbow 3.0.0
Fetching rdiscount 2.2.0.1
Installing rainbow 3.0.0
Fetching rspec-support 3.8.0
Installing rspec-support 3.8.0
Fetching ruby-progressbar 1.10.0
Fetching unicode-display_width 1.4.1
Installing rdiscount 2.2.0.1 with native extensions
Installing unicode-display_width 1.4.1
Installing ruby-progressbar 1.10.0
Fetching parser 2.6.0.0
Fetching term-ansicolor 1.7.1
Fetching parallel_tests 2.27.1
Installing term-ansicolor 1.7.1
Installing parallel_tests 2.27.1
Installing parser 2.6.0.0
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
current directory: /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/ext/json/ext/parser
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/bin/ruby -r ./siteconf20190204-74534-1np7hmk.rb extconf.rb
checking for rb_enc_raise() in ruby.h... *** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers. Check the mkmf.log file for more details. You may
need configuration options.
Provided configuration options:
--with-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/bin/$(RUBY_BASE_NAME)
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/2.3.0/mkmf.rb:456:in `try_do': The compiler failed to generate an executable file. (RuntimeError)
You have to install development tools first.
from /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/2.3.0/mkmf.rb:535:in `block in try_link0'
from /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/2.3.0/tmpdir.rb:89:in `mktmpdir'
from /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/2.3.0/mkmf.rb:532:in `try_link0'
from /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/2.3.0/mkmf.rb:556:in `try_link'
from /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/2.3.0/mkmf.rb:765:in `try_func'
from /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/2.3.0/mkmf.rb:1051:in `block in have_func'
from /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/2.3.0/mkmf.rb:942:in `block in checking_for'
from /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/2.3.0/mkmf.rb:350:in `block (2 levels) in postpone'
from /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/2.3.0/mkmf.rb:320:in `open'
from /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/2.3.0/mkmf.rb:350:in `block in postpone'
from /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/2.3.0/mkmf.rb:320:in `open'
from /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/2.3.0/mkmf.rb:346:in `postpone'
from /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/2.3.0/mkmf.rb:941:in `checking_for'
from /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/2.3.0/mkmf.rb:1050:in `have_func'
from extconf.rb:4:in `<main>'
To see why this extension failed to compile, please check the mkmf.log which can be found here:
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.3.0/extensions/universal-darwin-9/2.3.0-static/json-2.1.0/mkmf.log
extconf failed, exit code 1
Gem files will remain installed in /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/json-2.1.0 for inspection.
Results logged to /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.3.0/extensions/universal-darwin-9/2.3.0-static/json-2.1.0/gem_make.out
An error occurred while installing json (2.1.0), and Bundler cannot continue.
Make sure that `gem install json -v '2.1.0' --source 'https://rubygems.org/'` succeeds before bundling.
In Gemfile:
coveralls was resolved to 0.8.22, which depends on
simplecov was resolved to 0.16.1, which depends on
json
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
current directory: /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/hpricot-0.8.6/ext/fast_xs
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/bin/ruby -r ./siteconf20190204-74534-xa7mf6.rb extconf.rb
checking for stdio.h... *** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers. Check the mkmf.log file for more details. You may
need configuration options.
Provided configuration options:
--with-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/bin/$(RUBY_BASE_NAME)
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/2.3.0/mkmf.rb:456:in `try_do': The compiler failed to generate an executable file. (RuntimeError)
You have to install development tools first.
from /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/2.3.0/mkmf.rb:571:in `block in try_compile'
from /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/2.3.0/mkmf.rb:524:in `with_werror'
from /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/2.3.0/mkmf.rb:571:in `try_compile'
from /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/2.3.0/mkmf.rb:1091:in `block in have_header'
from /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/2.3.0/mkmf.rb:942:in `block in checking_for'
from /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/2.3.0/mkmf.rb:350:in `block (2 levels) in postpone'
from /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/2.3.0/mkmf.rb:320:in `open'
from /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/2.3.0/mkmf.rb:350:in `block in postpone'
from /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/2.3.0/mkmf.rb:320:in `open'
from /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/2.3.0/mkmf.rb:346:in `postpone'
from /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/2.3.0/mkmf.rb:941:in `checking_for'
from /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/2.3.0/mkmf.rb:1090:in `have_header'
from extconf.rb:2:in `<main>'
To see why this extension failed to compile, please check the mkmf.log which can be found here:
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.3.0/extensions/universal-darwin-9/2.3.0-static/hpricot-0.8.6/mkmf.log
extconf failed, exit code 1
Gem files will remain installed in /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/hpricot-0.8.6 for inspection.
Results logged to /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.3.0/extensions/universal-darwin-9/2.3.0-static/hpricot-0.8.6/gem_make.out
An error occurred while installing hpricot (0.8.6), and Bundler cannot continue.
Make sure that `gem install hpricot -v '0.8.6' --source 'https://rubygems.org/'` succeeds before bundling.
In Gemfile:
ronn was resolved to 0.7.3, which depends on
hpricot
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/current/bin/ruby: No such file or directory -- rubocop (LoadError)
Error: style check failed
macs-MacBook-Air:api-edo-distate-autotests alex$ brew cask install java8
==> Satisfying dependencies
==> Downloading https://download.java.net/java/early_access/jdk8/b03/BCL/jdk-8u202-ea-bin-b03-macosx-x86_64-07_nov_2018.dmg
curl: (22) The requested URL returned error: 404 Not Found
Error: Download failed on Cask 'java8' with message: Download failed: https://download.java.net/java/early_access/jdk8/b03/BCL/jdk-8u202-ea-bin-b03-macosx-x86_64-07_nov_2018.dmg
macs-MacBook-Air:api-edo-distate-autotests alex$ java --version
openjdk 11.0.2 2019-01-15
OpenJDK Runtime Environment 18.9 (build 11.0.2+9)
OpenJDK 64-Bit Server VM 18.9 (build 11.0.2+9, mixed mode)
macs-MacBook-Air:api-edo-distate-autotests alex$ java --version
openjdk 11.0.2 2019-01-15
OpenJDK Runtime Environment 18.9 (build 11.0.2+9)
OpenJDK 64-Bit Server VM 18.9 (build 11.0.2+9, mixed mode)
macs-MacBook-Air:api-edo-distate-autotests alex$ export JAVA_HOME=`/usr/libexec/java_home -v 1.8`
macs-MacBook-Air:api-edo-distate-autotests alex$ java --version
Unrecognized option: --version
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
macs-MacBook-Air:api-edo-distate-autotests alex$ java --version
Unrecognized option: --version
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
macs-MacBook-Air:api-edo-distate-autotests alex$ /usr/libexec/java_home
/Library/Java/JavaVirtualMachines/openjdk-11.0.2.jdk/Contents/Home
macs-MacBook-Air:api-edo-distate-autotests alex$ /usr/libexec/java_home -v
java_home: option requires an argument -- v
/Library/Java/JavaVirtualMachines/openjdk-11.0.2.jdk/Contents/Home
macs-MacBook-Air:api-edo-distate-autotests alex$ /usr/libexec/java_home -v 1.8
/Library/Java/JavaVirtualMachines/jdk1.8.0_201.jdk/Contents/Home
macs-MacBook-Air:api-edo-distate-autotests alex$ export JAVA_HOME=$(/usr/libexec/java_home -v 1.8)
macs-MacBook-Air:api-edo-distate-autotests alex$ java --version
Unrecognized option: --version
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
macs-MacBook-Air:api-edo-distate-autotests alex$ java -v
Unrecognized option: -v
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
macs-MacBook-Air:api-edo-distate-autotests alex$ java
Usage: java [-options] class [args...]
(to execute a class)
or java [-options] -jar jarfile [args...]
(to execute a jar file)
where options include:
-d32 use a 32-bit data model if available
-d64 use a 64-bit data model if available
-server to select the "server" VM
The default VM is server,
because you are running on a server-class machine.
-cp <class search path of directories and zip/jar files>
-classpath <class search path of directories and zip/jar files>
A : separated list of directories, JAR archives,
and ZIP archives to search for class files.
-D<name>=<value>
set a system property
-verbose:[class|gc|jni]
enable verbose output
-version print product version and exit
-version:<value>
Warning: this feature is deprecated and will be removed
in a future release.
require the specified version to run
-showversion print product version and continue
-jre-restrict-search | -no-jre-restrict-search
Warning: this feature is deprecated and will be removed
in a future release.
include/exclude user private JREs in the version search
-? -help print this help message
-X print help on non-standard options
-ea[:<packagename>...|:<classname>]
-enableassertions[:<packagename>...|:<classname>]
enable assertions with specified granularity
-da[:<packagename>...|:<classname>]
-disableassertions[:<packagename>...|:<classname>]
disable assertions with specified granularity
-esa | -enablesystemassertions
enable system assertions
-dsa | -disablesystemassertions
disable system assertions
-agentlib:<libname>[=<options>]
load native agent library <libname>, e.g. -agentlib:hprof
see also, -agentlib:jdwp=help and -agentlib:hprof=help
-agentpath:<pathname>[=<options>]
load native agent library by full pathname
-javaagent:<jarpath>[=<options>]
load Java programming language agent, see java.lang.instrument
-splash:<imagepath>
show splash screen with specified image
See http://www.oracle.com/technetwork/java/javase/documentation/index.html for more details.
macs-MacBook-Air:api-edo-distate-autotests alex$ java -version
java version "1.8.0_201"
Java(TM) SE Runtime Environment (build 1.8.0_201-b09)
Java HotSpot(TM) 64-Bit Server VM (build 25.201-b09, mixed mode)
macs-MacBook-Air:api-edo-distate-autotests alex$ ./gradlew clean test --tests generator.WaybillFlowUlGen --info
Initialized native services in: /Users/alex/.gradle/native
Found daemon DaemonInfo{pid=70510, address=[49d395ff-043b-4be2-b0fb-1a6cea8f2ffd port:51957, addresses:[/0:0:0:0:0:0:0:1, /127.0.0.1]], state=Idle, lastBusy=1549287775997, context=DefaultDaemonContext[uid=b791c722-fd2b-4a17-86d2-7bde91648649,javaHome=/Library/Java/JavaVirtualMachines/openjdk-11.0.2.jdk/Contents/Home,daemonRegistryDir=/Users/alex/.gradle/daemon,pid=70510,idleTimeout=10800000,priority=NORMAL,daemonOpts=--add-opens,java.base/java.util=ALL-UNNAMED,--add-opens,java.base/java.lang=ALL-UNNAMED,--add-opens,java.base/java.lang.invoke=ALL-UNNAMED,--add-opens,java.prefs/java.util.prefs=ALL-UNNAMED,-XX:MaxMetaspaceSize=256m,-XX:+HeapDumpOnOutOfMemoryError,-Xmx512m,-Dfile.encoding=UTF-8,-Duser.country=RU,-Duser.language=en,-Duser.variant]} however its context does not match the desired criteria.
Java home is different.
Wanted: DefaultDaemonContext[uid=null,javaHome=/Library/Java/JavaVirtualMachines/jdk1.8.0_201.jdk/Contents/Home,daemonRegistryDir=/Users/alex/.gradle/daemon,pid=75691,idleTimeout=null,priority=NORMAL,daemonOpts=-XX:MaxMetaspaceSize=256m,-XX:+HeapDumpOnOutOfMemoryError,-Xmx512m,-Dfile.encoding=UTF-8,-Duser.country=RU,-Duser.language=en,-Duser.variant]
Actual: DefaultDaemonContext[uid=b791c722-fd2b-4a17-86d2-7bde91648649,javaHome=/Library/Java/JavaVirtualMachines/openjdk-11.0.2.jdk/Contents/Home,daemonRegistryDir=/Users/alex/.gradle/daemon,pid=70510,idleTimeout=10800000,priority=NORMAL,daemonOpts=--add-opens,java.base/java.util=ALL-UNNAMED,--add-opens,java.base/java.lang=ALL-UNNAMED,--add-opens,java.base/java.lang.invoke=ALL-UNNAMED,--add-opens,java.prefs/java.util.prefs=ALL-UNNAMED,-XX:MaxMetaspaceSize=256m,-XX:+HeapDumpOnOutOfMemoryError,-Xmx512m,-Dfile.encoding=UTF-8,-Duser.country=RU,-Duser.language=en,-Duser.variant]
Looking for a different daemon...
Found daemon DaemonInfo{pid=12882, address=[65868b6b-45e3-47c2-9759-a8bb7a244e5f port:60563, addresses:[/0:0:0:0:0:0:0:1, /127.0.0.1]], state=Idle, lastBusy=1549286363719, context=DefaultDaemonContext[uid=a3dd053f-dcc0-4949-be5b-824bcfaf1c72,javaHome=/Library/Java/JavaVirtualMachines/jdk-11.0.1.jdk/Contents/Home,daemonRegistryDir=/Users/alex/.gradle/daemon,pid=12882,idleTimeout=10800000,priority=NORMAL,daemonOpts=--add-opens,java.base/java.util=ALL-UNNAMED,--add-opens,java.base/java.lang=ALL-UNNAMED,--add-opens,java.base/java.lang.invoke=ALL-UNNAMED,--add-opens,java.prefs/java.util.prefs=ALL-UNNAMED,-XX:MaxMetaspaceSize=256m,-XX:+HeapDumpOnOutOfMemoryError,-Xmx512m,-Dfile.encoding=UTF-8,-Duser.country=RU,-Duser.language=en,-Duser.variant]} however its context does not match the desired criteria.
Java home is different.
Wanted: DefaultDaemonContext[uid=null,javaHome=/Library/Java/JavaVirtualMachines/jdk1.8.0_201.jdk/Contents/Home,daemonRegistryDir=/Users/alex/.gradle/daemon,pid=75691,idleTimeout=null,priority=NORMAL,daemonOpts=-XX:MaxMetaspaceSize=256m,-XX:+HeapDumpOnOutOfMemoryError,-Xmx512m,-Dfile.encoding=UTF-8,-Duser.country=RU,-Duser.language=en,-Duser.variant]
Actual: DefaultDaemonContext[uid=a3dd053f-dcc0-4949-be5b-824bcfaf1c72,javaHome=/Library/Java/JavaVirtualMachines/jdk-11.0.1.jdk/Contents/Home,daemonRegistryDir=/Users/alex/.gradle/daemon,pid=12882,idleTimeout=10800000,priority=NORMAL,daemonOpts=--add-opens,java.base/java.util=ALL-UNNAMED,--add-opens,java.base/java.lang=ALL-UNNAMED,--add-opens,java.base/java.lang.invoke=ALL-UNNAMED,--add-opens,java.prefs/java.util.prefs=ALL-UNNAMED,-XX:MaxMetaspaceSize=256m,-XX:+HeapDumpOnOutOfMemoryError,-Xmx512m,-Dfile.encoding=UTF-8,-Duser.country=RU,-Duser.language=en,-Duser.variant]
Looking for a different daemon...
Removing 0 daemon stop events from registry
Starting a Gradle Daemon, 2 incompatible Daemons could not be reused, use --status for details
Starting process 'Gradle build daemon'. Working directory: /Users/alex/.gradle/daemon/5.0 Command: /Library/Java/JavaVirtualMachines/jdk1.8.0_201.jdk/Contents/Home/bin/java -XX:MaxMetaspaceSize=256m -XX:+HeapDumpOnOutOfMemoryError -Xmx512m -Dfile.encoding=UTF-8 -Duser.country=RU -Duser.language=en -Duser.variant -cp /Users/alex/.gradle/wrapper/dists/gradle-5.0-bin/pu5208521seraqlersebvqk/gradle-5.0/lib/gradle-launcher-5.0.jar org.gradle.launcher.daemon.bootstrap.GradleDaemon 5.0
Successfully started process 'Gradle build daemon'
An attempt to start the daemon took 1.538 secs.
The client will now receive all logging from the daemon (pid: 75709). The daemon log file: /Users/alex/.gradle/daemon/5.0/daemon-75709.out.log
Starting build in new daemon [memory: 477.6 MB]
Using 4 worker leases.
Starting Build
Settings evaluated using settings file '/Users/alex/projects/api-edo-distate-autotests/settings.gradle'.
Projects loaded. Root project using build file '/Users/alex/projects/api-edo-distate-autotests/build.gradle'.
Included projects: [root project 'api-edo-distate-autotests', project ':api', project ':model']
> Configure project :api
Evaluating project ':api' using build file '/Users/alex/projects/api-edo-distate-autotests/api/build.gradle'.
> Configure project :model
Evaluating project ':model' using build file '/Users/alex/projects/api-edo-distate-autotests/model/build.gradle'.
> Configure project :
Evaluating root project 'api-edo-distate-autotests' using build file '/Users/alex/projects/api-edo-distate-autotests/build.gradle'.
Автотесты
All projects evaluated.
Selected primary task 'clean' from project :
Selected primary task 'test' from project :
Tasks to be executed: [task ':clean', task ':api:clean', task ':model:clean', task ':api:compileJava', task ':api:compileGroovy', task ':api:processResources', task ':api:classes', task ':api:jar', task ':model:compileJava', task ':model:compileGroovy', task ':model:processResources', task ':model:classes', task ':model:jar', task ':compileJava', task ':compileGroovy', task ':processResources', task ':classes', task ':compileTestJava', task ':compileTestGroovy', task ':processTestResources', task ':testClasses', task ':test', task ':api:compileTestJava', task ':api:compileTestGroovy', task ':api:processTestResources', task ':api:testClasses', task ':api:test', task ':model:compileTestJava', task ':model:compileTestGroovy', task ':model:processTestResources', task ':model:testClasses', task ':model:test']
:clean (Thread[Execution worker for ':',5,main]) started.
> Task :clean
Task ':clean' is not up-to-date because:
Task has not declared any outputs despite executing actions.
:clean (Thread[Execution worker for ':',5,main]) completed. Took 0.095 secs.
:api:clean (Thread[Execution worker for ':',5,main]) started.
> Task :api:clean
Task ':api:clean' is not up-to-date because:
Task has not declared any outputs despite executing actions.
:api:clean (Thread[Execution worker for ':',5,main]) completed. Took 0.014 secs.
:model:clean (Thread[Execution worker for ':',5,main]) started.
> Task :model:clean
Task ':model:clean' is not up-to-date because:
Task has not declared any outputs despite executing actions.
:model:clean (Thread[Execution worker for ':',5,main]) completed. Took 0.032 secs.
:api:compileJava (Thread[Execution worker for ':',5,main]) started.
> Task :api:compileJava NO-SOURCE
file or directory '/Users/alex/projects/api-edo-distate-autotests/api/src/main/java', not found
Skipping task ':api:compileJava' as it has no source files and no previous output files.
:api:compileJava (Thread[Execution worker for ':',5,main]) completed. Took 0.023 secs.
:api:compileGroovy (Thread[Execution worker for ':',5,main]) started.
This JVM does not support getting OS memory, so no OS memory status updates will be broadcast
Initialized native services in: /Users/alex/.gradle/native
> Task :api:compileGroovy
Task ':api:compileGroovy' is not up-to-date because:
Value of input property 'groovyCompilerJvmVersion' has changed for task ':api:compileGroovy'
Value of input property 'javaToolChain.version' has changed for task ':api:compileGroovy'
Value of input property 'sourceCompatibility' has changed for task ':api:compileGroovy'
Starting process 'Gradle Worker Daemon 1'. Working directory: /Users/alex/.gradle/workers Command: /Library/Java/JavaVirtualMachines/jdk1.8.0_201.jdk/Contents/Home/bin/java -Djava.security.manager=worker.org.gradle.process.internal.worker.child.BootstrapSecurityManager -Xmx512m -Dfile.encoding=UTF-8 -Duser.country=RU -Duser.language=en -Duser.variant -cp /Users/alex/.gradle/caches/5.0/workerMain/gradle-worker.jar worker.org.gradle.process.internal.worker.GradleWorkerMain 'Gradle Worker Daemon 1'
Successfully started process 'Gradle Worker Daemon 1'
Started Gradle worker daemon (0.694 secs) with fork options DaemonForkOptions{executable=/Library/Java/JavaVirtualMachines/jdk1.8.0_201.jdk/Contents/Home/bin/java, minHeapSize=null, maxHeapSize=null, jvmArgs=[], classpath=[/Users/alex/.gradle/caches/modules-2/files-2.1/org.codehaus.groovy/groovy-all/2.4.16/aa30a6479a3f6efc2ba8cd810cc2caf22a613b19/groovy-all-2.4.16.jar, /Users/alex/.gradle/wrapper/dists/gradle-5.0-bin/pu5208521seraqlersebvqk/gradle-5.0/lib/ant-1.9.13.jar, /Users/alex/.gradle/wrapper/dists/gradle-5.0-bin/pu5208521seraqlersebvqk/gradle-5.0/lib/ant-launcher-1.9.13.jar], keepAliveMode=SESSION}.
:api:compileGroovy (Thread[Execution worker for ':',5,main]) completed. Took 3.235 secs.
:api:processResources (Thread[Execution worker for ':',5,main]) started.
> Task :api:processResources
Task ':api:processResources' is not up-to-date because:
Output property 'destinationDir' file /Users/alex/projects/api-edo-distate-autotests/api/build/resources/main has been removed.
Output property 'destinationDir' file /Users/alex/projects/api-edo-distate-autotests/api/build/resources/main/META-INF has been removed.
Output property 'destinationDir' file /Users/alex/projects/api-edo-distate-autotests/api/build/resources/main/META-INF/services has been removed.
:api:processResources (Thread[Execution worker for ':',5,main]) completed. Took 0.043 secs.
:api:classes (Thread[Execution worker for ':',5,main]) started.
> Task :api:classes
Skipping task ':api:classes' as it has no actions.
:api:classes (Thread[Execution worker for ':',5,main]) completed. Took 0.0 secs.
:api:jar (Thread[Execution worker for ':',5,main]) started.
> Task :api:jar
Task ':api:jar' is not up-to-date because:
Output property 'archivePath' file /Users/alex/projects/api-edo-distate-autotests/api/build/libs/api-1.0-SNAPSHOT.jar has been removed.
:api:jar (Thread[Execution worker for ':',5,main]) completed. Took 0.118 secs.
:model:compileJava (Thread[Execution worker for ':',5,main]) started.
> Task :model:compileJava NO-SOURCE
file or directory '/Users/alex/projects/api-edo-distate-autotests/model/src/main/java', not found
Skipping task ':model:compileJava' as it has no source files and no previous output files.
:model:compileJava (Thread[Execution worker for ':',5,main]) completed. Took 0.003 secs.
:model:compileGroovy (Thread[Execution worker for ':' Thread 2,5,main]) started.
> Task :model:compileGroovy
Task ':model:compileGroovy' is not up-to-date because:
Value of input property 'groovyCompilerJvmVersion' has changed for task ':model:compileGroovy'
Value of input property 'javaToolChain.version' has changed for task ':model:compileGroovy'
Value of input property 'sourceCompatibility' has changed for task ':model:compileGroovy'
:model:compileGroovy (Thread[Execution worker for ':' Thread 2,5,main]) completed. Took 1.639 secs.
:model:processResources (Thread[Execution worker for ':',5,main]) started.
> Task :model:processResources
Task ':model:processResources' is not up-to-date because:
Output property 'destinationDir' file /Users/alex/projects/api-edo-distate-autotests/model/build/resources/main has been removed.
Output property 'destinationDir' file /Users/alex/projects/api-edo-distate-autotests/model/build/resources/main/META-INF has been removed.
Output property 'destinationDir' file /Users/alex/projects/api-edo-distate-autotests/model/build/resources/main/META-INF/services has been removed.
:model:processResources (Thread[Execution worker for ':',5,main]) completed. Took 0.012 secs.
:model:classes (Thread[Execution worker for ':',5,main]) started.
> Task :model:classes
Skipping task ':model:classes' as it has no actions.
:model:classes (Thread[Execution worker for ':',5,main]) completed. Took 0.0 secs.
:model:jar (Thread[Execution worker for ':',5,main]) started.
> Task :model:jar
Task ':model:jar' is not up-to-date because:
Output property 'archivePath' file /Users/alex/projects/api-edo-distate-autotests/model/build/libs/model-1.0-SNAPSHOT.jar has been removed.
:model:jar (Thread[Execution worker for ':',5,main]) completed. Took 0.118 secs.
:compileJava (Thread[Execution worker for ':' Thread 3,5,main]) started.
> Task :compileJava NO-SOURCE
file or directory '/Users/alex/projects/api-edo-distate-autotests/src/main/java', not found
Skipping task ':compileJava' as it has no source files and no previous output files.
:compileJava (Thread[Execution worker for ':' Thread 3,5,main]) completed. Took 0.002 secs.
:compileGroovy (Thread[Execution worker for ':' Thread 3,5,main]) started.
> Task :compileGroovy NO-SOURCE
file or directory '/Users/alex/projects/api-edo-distate-autotests/src/main/groovy', not found
Skipping task ':compileGroovy' as it has no source files and no previous output files.
:compileGroovy (Thread[Execution worker for ':' Thread 3,5,main]) completed. Took 0.004 secs.
:processResources (Thread[Execution worker for ':' Thread 3,5,main]) started.
> Task :processResources NO-SOURCE
file or directory '/Users/alex/projects/api-edo-distate-autotests/src/main/resources', not found
Skipping task ':processResources' as it has no source files and no previous output files.
:processResources (Thread[Execution worker for ':' Thread 3,5,main]) completed. Took 0.003 secs.
:classes (Thread[Execution worker for ':' Thread 3,5,main]) started.
> Task :classes UP-TO-DATE
Skipping task ':classes' as it has no actions.
:classes (Thread[Execution worker for ':' Thread 3,5,main]) completed. Took 0.0 secs.
:compileTestJava (Thread[Execution worker for ':' Thread 3,5,main]) started.
> Task :compileTestJava NO-SOURCE
file or directory '/Users/alex/projects/api-edo-distate-autotests/src/test/java', not found
Skipping task ':compileTestJava' as it has no source files and no previous output files.
:compileTestJava (Thread[Execution worker for ':' Thread 3,5,main]) completed. Took 0.002 secs.
:compileTestGroovy (Thread[Execution worker for ':' Thread 3,5,main]) started.
> Task :compileTestGroovy
Task ':compileTestGroovy' is not up-to-date because:
Value of input property 'groovyCompilerJvmVersion' has changed for task ':compileTestGroovy'
Value of input property 'javaToolChain.version' has changed for task ':compileTestGroovy'
Value of input property 'sourceCompatibility' has changed for task ':compileTestGroovy'
:compileTestGroovy (Thread[Execution worker for ':' Thread 3,5,main]) completed. Took 2.169 secs.
:processTestResources (Thread[Execution worker for ':' Thread 3,5,main]) started.
> Task :processTestResources
Task ':processTestResources' is not up-to-date because:
Output property 'destinationDir' file /Users/alex/projects/api-edo-distate-autotests/build/resources/test has been removed.
Output property 'destinationDir' file /Users/alex/projects/api-edo-distate-autotests/build/resources/test/allure.properties has been removed.
Output property 'destinationDir' file /Users/alex/projects/api-edo-distate-autotests/build/resources/test/logback.xml has been removed.
:processTestResources (Thread[Execution worker for ':' Thread 3,5,main]) completed. Took 0.012 secs.
:testClasses (Thread[Execution worker for ':' Thread 3,5,main]) started.
> Task :testClasses
Skipping task ':testClasses' as it has no actions.
:testClasses (Thread[Execution worker for ':' Thread 3,5,main]) completed. Took 0.0 secs.
:test (Thread[Execution worker for ':' Thread 3,5,main]) started.
Gradle Test Executor 2 started executing tests.
> Task :test
Task ':test' is not up-to-date because:
Task has failed previously.
Starting process 'Gradle Test Executor 2'. Working directory: /Users/alex/projects/api-edo-distate-autotests Command: /Library/Java/JavaVirtualMachines/jdk1.8.0_201.jdk/Contents/Home/bin/java -Dallure.results.directory=/Users/alex/projects/api-edo-distate-autotests/build/allure-results -Djava.security.manager=worker.org.gradle.process.internal.worker.child.BootstrapSecurityManager -Dorg.gradle.native=false -javaagent:/Users/alex/.gradle/caches/modules-2/files-2.1/org.aspectj/aspectjweaver/1.8.10/e198c5fee28988c355f74e06461614eae36b2032/aspectjweaver-1.8.10.jar -javaagent:/Users/alex/.gradle/caches/modules-2/files-2.1/org.aspectj/aspectjweaver/1.8.10/e198c5fee28988c355f74e06461614eae36b2032/aspectjweaver-1.8.10.jar -Xmx512m -Dfile.encoding=UTF-8 -Duser.country=RU -Duser.language=en -Duser.variant -ea -cp /Users/alex/.gradle/caches/5.0/workerMain/gradle-worker.jar worker.org.gradle.process.internal.worker.GradleWorkerMain 'Gradle Test Executor 2'
Successfully started process 'Gradle Test Executor 2'
generator.WaybillFlowUlGen STANDARD_OUT
17:01:52,984 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback-test.xml]
17:01:52,984 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback.groovy]
17:01:52,984 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [logback.xml] at [file:/Users/alex/projects/api-edo-distate-autotests/build/resources/test/logback.xml]
17:01:53,162 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - debug attribute not set
17:01:53,178 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]
17:01:53,186 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [STDOUT]
17:01:53,205 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
17:01:53,298 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.rolling.RollingFileAppender]
17:01:53,310 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [FILE-AUDIT]
17:01:53,314 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
17:01:53,337 |-INFO in c.q.l.core.rolling.TimeBasedRollingPolicy@1998327928 - No compression will be used
17:01:53,339 |-INFO in c.q.l.core.rolling.TimeBasedRollingPolicy@1998327928 - Will use the pattern logsScrapyard/archived/debug.%d{yyyy-MM-dd}.%i.log for the active file
17:01:53,344 |-INFO in ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP@6d13f108 - The date pattern is 'yyyy-MM-dd' from file name pattern 'logsScrapyard/archived/debug.%d{yyyy-MM-dd}.%i.log'.
17:01:53,344 |-INFO in ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP@6d13f108 - Roll-over at midnight.
17:01:53,349 |-INFO in ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP@6d13f108 - Setting initial period to Mon Feb 04 16:39:53 MSK 2019
17:01:53,351 |-WARN in ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP@6d13f108 - SizeAndTimeBasedFNATP is deprecated. Use SizeAndTimeBasedRollingPolicy instead
17:01:53,351 |-WARN in ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP@6d13f108 - For more information see http://logback.qos.ch/manual/appenders.html#SizeAndTimeBasedRollingPolicy
17:01:53,357 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[FILE-AUDIT] - Active log file name: logsScrapyard/debug.log
17:01:53,357 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[FILE-AUDIT] - File property is set to [logsScrapyard/debug.log]
17:01:53,359 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.rolling.RollingFileAppender]
17:01:53,359 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [FILE-ERROR]
17:01:53,360 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
17:01:53,362 |-INFO in c.q.l.core.rolling.TimeBasedRollingPolicy@347731115 - No compression will be used
17:01:53,362 |-INFO in c.q.l.core.rolling.TimeBasedRollingPolicy@347731115 - Will use the pattern logsScrapyard/archived/error.%d{yyyy-MM-dd}.%i.log for the active file
17:01:53,363 |-INFO in ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP@777850d4 - The date pattern is 'yyyy-MM-dd' from file name pattern 'logsScrapyard/archived/error.%d{yyyy-MM-dd}.%i.log'.
17:01:53,363 |-INFO in ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP@777850d4 - Roll-over at midnight.
17:01:53,363 |-INFO in ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP@777850d4 - Setting initial period to Mon Feb 04 16:39:53 MSK 2019
17:01:53,363 |-WARN in ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP@777850d4 - SizeAndTimeBasedFNATP is deprecated. Use SizeAndTimeBasedRollingPolicy instead
17:01:53,363 |-WARN in ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP@777850d4 - For more information see http://logback.qos.ch/manual/appenders.html#SizeAndTimeBasedRollingPolicy
17:01:53,364 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[FILE-ERROR] - Active log file name: logsScrapyard/error.log
17:01:53,364 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[FILE-ERROR] - File property is set to [logsScrapyard/error.log]
17:01:53,364 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [de.huxhorn.lilith.logback.appender.ClassicMultiplexSocketAppender]
17:01:53,393 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [multiplex]
17:01:53,413 |-INFO in de.huxhorn.lilith.logback.appender.ClassicMultiplexSocketAppender[multiplex] - Waiting 1s to establish connections.
17:01:54,415 |-INFO in de.huxhorn.lilith.logback.appender.ClassicMultiplexSocketAppender[multiplex] - Started de.huxhorn.lilith.logback.appender.ClassicMultiplexSocketAppender[multiplex]
17:01:54,415 |-INFO in ch.qos.logback.classic.joran.action.RootLoggerAction - Setting level of ROOT logger to DEBUG
17:01:54,415 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [STDOUT] to Logger[ROOT]
17:01:54,417 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [FILE-ERROR] to Logger[ROOT]
17:01:54,417 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [FILE-AUDIT] to Logger[ROOT]
17:01:54,417 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [multiplex] to Logger[ROOT]
17:01:54,420 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org] to OFF
17:01:54,420 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [io] to OFF
17:01:54,420 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - End of configuration.
17:01:54,421 |-INFO in ch.qos.logback.classic.joran.JoranConfigurator@60701193 - Registering current configuration as safe fallback point
2019-02-04 17:01:55 [Test worker] DEBUG ApiConfig - LOADING FILE: ConnectSettings
2019-02-04 17:01:56 [Test worker] DEBUG ApiConfig - ***{"host":"diflow6.local","port":80,"ssl":false,"application":"api"}
2019-02-04 17:01:56 [Test worker] DEBUG ApiConfig - LOADING FILE: ApiSettings
2019-02-04 17:01:56 [Test worker] DEBUG ApiConfig - ***{"comparisonMethod":"matches"}
2019-02-04 17:01:56 [Test worker] DEBUG ApiConfig - LOADING FILE: CrypTcpSettings
2019-02-04 17:01:56 [Test worker] DEBUG ApiConfig - ***{"crypTcpCommandWindows":"cmd /c exec\\cryptcp.x64.exe -sign -dn stas","crypTcpCommandLinux":"/opt/cprocsp/bin/cryptcp -sign -dn OGRN=1127747209031 -nochain "}
2019-02-04 17:01:56 [Test worker] INFO spock.LoggingListener - Запуск спеки "generator.WaybillFlowUlGen:WaybillFlowUlGen"
2019-02-04 17:01:56 [Test worker] INFO AllureEnviromentHelper - ***1. Start writing properties to Property file
2019-02-04 17:01:56 [Test worker] INFO AllureEnviromentHelper - ***2. Writing properties to Property file : {Author e-mail=stas.seredkin@distate.ru, Java version=25.201-b09, OS=Mac OS X}
2019-02-04 17:01:56 [Test worker] INFO AllureEnviromentHelper - ***3. Successfully written properties to file = %s
2019-02-04 17:01:56 [Test worker] INFO spock.LoggingListener - ***Запуск фичи "generator.WaybillFlowUlGen:WaybillFlowUlGen:Вариант 1. Принятие документа с функцией ДОП для ЮЛ"
generator.WaybillFlowUlGen > Вариант 1. Принятие документа с функцией ДОП для ЮЛ STANDARD_OUT
2019-02-04 17:01:56 [Test worker] INFO spock.LoggingListener - ******Запуск итерации "generator.WaybillFlowUlGen:WaybillFlowUlGen:Вариант 1. Принятие документа с функцией ДОП для ЮЛ:Вариант 1. Принятие документа с функцией ДОП для ЮЛ"
2019-02-04 17:01:56 [Test worker] DEBUG ApiConfig - *********LOADING FILE: TestData
2019-02-04 17:01:56 [Test worker] DEBUG ApiConfig - ************{"email":"ololo@roskomnadzor.govno","password":"q1w2e3r4t5","wrongEmail":"22stas.seredkin@distate.ru","wrongPassword":"1123QWqw1234","email2":"ololo1@ya.ru","password2":"q1w2e3r4t5","signature":"bla-bla-bla"}
2019-02-04 17:01:57 [Test worker] INFO Commands - *********Шаг: Получаем токен для пользователя с email:ololo@roskomnadzor.govno, и паролем:q1w2e3r4t5
2019-02-04 17:01:57 [Test worker] DEBUG Rest - *********REQUEST: POST "/security/token":"{
"email": "ololo@roskomnadzor.govno",
"password": "q1w2e3r4t5"
}"
2019-02-04 17:02:09 [Test worker] DEBUG Rest - *********RESPONSE: 200 "{"success":true,"token":{"value":"6179792e15b7e0b6002016dfc35fd921","expireAt":"2019-04-02UTC14:02:10"}}"
2019-02-04 17:02:09 [Test worker] DEBUG ResponseFactory - *********CREATING "TokenResponse<Object>" WITH BODY "{"success":true,"token":{"value":"6179792e15b7e0b6002016dfc35fd921","expireAt":"2019-04-02UTC14:02:10"}}"
2019-02-04 17:02:09 [Test worker] DEBUG AbstractRequest - *********EXECUTE RESULT: {
"success": true,
"token": {
"value": "6179792e15b7e0b6002016dfc35fd921",
"expireAt": "2019-04-02UTC14:02:10"
},
"statusCode": 200
}
2019-02-04 17:02:09 [Test worker] INFO Commands - *********Шаг: Получаем информацию по текущему пользователю
2019-02-04 17:02:09 [Test worker] DEBUG Rest - *********REQUEST with token: GET "/current/user":"{}"
2019-02-04 17:02:11 [Test worker] DEBUG Rest - *********RESPONSE with token: 403 "{"success":false,"codeDescription":"\u0414\u043e\u0441\u0442\u0443\u043f \u0437\u0430\u043f\u0440\u0435\u0449\u0435\u043d","code":105}"
2019-02-04 17:02:11 [Test worker] DEBUG ResponseFactory - *********CREATING "JsonResponse<Object>" WITH BODY "{"success":false,"codeDescription":"\u0414\u043e\u0441\u0442\u0443\u043f \u0437\u0430\u043f\u0440\u0435\u0449\u0435\u043d","code":105}"
2019-02-04 17:02:11 [Test worker] DEBUG AbstractRequest - *********EXECUTE RESULT: {
"result": {
"success": false,
"codeDescription": "Доступ запрещен",
"code": 105
},
"statusCode": 403
}
2019-02-04 17:02:11 [Test worker] ERROR spock.LoggingListener - *********Ошибка в "generator.WaybillFlowUlGen:WaybillFlowUlGen:Вариант 1. Принятие документа с функцией ДОП для ЮЛ:setup" строка -1 : org.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot cast object '{
"result": {
"success": false,
"codeDescription": "Доступ запрещен",
"code": 105
},
"statusCode": 403
}' with class 'model.internal.JsonResponse' to class 'model.responses.current.UserResponse'
2019-02-04 17:02:11 [Test worker] INFO spock.LoggingListener - *********Окончание итерации "generator.WaybillFlowUlGen:WaybillFlowUlGen:Вариант 1. Принятие документа с функцией ДОП для ЮЛ:Вариант 1. Принятие документа с функцией ДОП для ЮЛ"
2019-02-04 17:02:11 [Test worker] INFO spock.LoggingListener - ******Запуск итерации "generator.WaybillFlowUlGen:WaybillFlowUlGen:Вариант 1. Принятие документа с функцией ДОП для ЮЛ:Вариант 1. Принятие документа с функцией ДОП для ЮЛ"
2019-02-04 17:02:11 [Test worker] INFO Commands - *********Шаг: Получаем токен для пользователя с email:ololo@roskomnadzor.govno, и паролем:q1w2e3r4t5
2019-02-04 17:02:11 [Test worker] DEBUG Rest - *********REQUEST: POST "/security/token":"{
"email": "ololo@roskomnadzor.govno",
"password": "q1w2e3r4t5"
}"
2019-02-04 17:02:14 [Test worker] DEBUG Rest - *********RESPONSE: 200 "{"success":true,"token":{"value":"6dc842703116aa7eac910190a0b39778","expireAt":"2019-04-02UTC14:02:16"}}"
2019-02-04 17:02:14 [Test worker] DEBUG ResponseFactory - *********CREATING "TokenResponse<Object>" WITH BODY "{"success":true,"token":{"value":"6dc842703116aa7eac910190a0b39778","expireAt":"2019-04-02UTC14:02:16"}}"
2019-02-04 17:02:14 [Test worker] DEBUG AbstractRequest - *********EXECUTE RESULT: {
"success": true,
"token": {
"value": "6dc842703116aa7eac910190a0b39778",
"expireAt": "2019-04-02UTC14:02:16"
},
"statusCode": 200
}
2019-02-04 17:02:14 [Test worker] INFO Commands - *********Шаг: Получаем информацию по текущему пользователю
2019-02-04 17:02:14 [Test worker] DEBUG Rest - *********REQUEST with token: GET "/current/user":"{}"
2019-02-04 17:02:16 [Test worker] DEBUG Rest - *********RESPONSE with token: 200 "{"employee":{"email":"ololo@roskomnadzor.govno","position":"\u0446\u0430\u0440\u044c","defaultDivision":{"title":"\u041e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u043e\u0444\u0438\u0441","kpp":"012312312","address":{"country":{"code":"643","title":"\u0420\u043e\u0441\u0441\u0438\u044f"},"region":{"code":"04","title":"\u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0438\u043a\u0430 \u0410\u043b\u0442\u0430\u0439"},"postalCode":"111111","district":"\u0420\u0430\u0439\u043e\u043d1234","city":"\u0421\u0430\u043d\u043a\u0442-\u041f\u0435\u0442\u0435\u0440\u0431\u0443\u0440\u0433","settlement":"\u041d\u0430\u0441\u0435\u043b\u0451\u043d\u043d\u044b\u0439 \u043f\u0443\u043d\u043a\u0442","street":"\u041d\u043e\u0432\u043e\u0440\u043e\u0449\u0438\u043d\u0441\u043a\u0430\u044f","house":"12699","building":"914","room":"123"},"classificationNumber":"3333333333","id":18}},"person":{"socialNumber":null,"surname":"\u0413\u0440\u043e\u0437\u043d\u044b\u0439","name":"\u0418\u0432\u0430\u043d","patronymic":"\u0412\u0430\u0441\u0438\u043b\u044c\u0435\u0432\u0438\u0447"},"company":{"name":"\u041e\u041e\u041e \"\u0424\u0440\u043e\u043d\u0442-\u0415\u043d\u0434 \u0422\u0435\u0441\u0442\"","taxAuthority":{"code":"0521","title":"\u041c\u0435\u0436\u0440\u0430\u0439\u043e\u043d\u043d\u0430\u044f \u0438\u043d\u0441\u043f\u0435\u043a\u0446\u0438\u044f \u0424\u041d\u0421 \u0420\u043e\u0441\u0441\u0438\u0438 \u2116 9 \u043f\u043e \u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0438\u043a\u0435 \u0414\u0430\u0433\u0435\u0441\u0442\u0430\u043d"},"accountNumber":"11111111111111111112","inn":"9987109031","bik":"044030761","ogrn":"1127747209031","infsoobBeenSent":true,"type":{"title":"\u042e\u041b","systemName":"UL"},"division":{"title":"\u041e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u043e\u0444\u0438\u0441","kpp":"012312312","address":{"country":{"code":"643","title":"\u0420\u043e\u0441\u0441\u0438\u044f"},"region":{"code":"04","title":"\u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0438\u043a\u0430 \u0410\u043b\u0442\u0430\u0439"},"postalCode":"111111","district":"\u0420\u0430\u0439\u043e\u043d1234","city":"\u0421\u0430\u043d\u043a\u0442-\u041f\u0435\u0442\u0435\u0440\u0431\u0443\u0440\u0433","settlement":"\u041d\u0430\u0441\u0435\u043b\u0451\u043d\u043d\u044b\u0439 \u043f\u0443\u043d\u043a\u0442","street":"\u041d\u043e\u0432\u043e\u0440\u043e\u0449\u0438\u043d\u0441\u043a\u0430\u044f","house":"12699","building":"914","room":"123"},"classificationNumber":"3333333333","id":18}},"certificate":null}"
2019-02-04 17:02:16 [Test worker] DEBUG ResponseFactory - *********CREATING "UserResponse<Object>" WITH BODY "{"employee":{"email":"ololo@roskomnadzor.govno","position":"\u0446\u0430\u0440\u044c","defaultDivision":{"title":"\u041e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u043e\u0444\u0438\u0441","kpp":"012312312","address":{"country":{"code":"643","title":"\u0420\u043e\u0441\u0441\u0438\u044f"},"region":{"code":"04","title":"\u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0438\u043a\u0430 \u0410\u043b\u0442\u0430\u0439"},"postalCode":"111111","district":"\u0420\u0430\u0439\u043e\u043d1234","city":"\u0421\u0430\u043d\u043a\u0442-\u041f\u0435\u0442\u0435\u0440\u0431\u0443\u0440\u0433","settlement":"\u041d\u0430\u0441\u0435\u043b\u0451\u043d\u043d\u044b\u0439 \u043f\u0443\u043d\u043a\u0442","street":"\u041d\u043e\u0432\u043e\u0440\u043e\u0449\u0438\u043d\u0441\u043a\u0430\u044f","house":"12699","building":"914","room":"123"},"classificationNumber":"3333333333","id":18}},"person":{"socialNumber":null,"surname":"\u0413\u0440\u043e\u0437\u043d\u044b\u0439","name":"\u0418\u0432\u0430\u043d","patronymic":"\u0412\u0430\u0441\u0438\u043b\u044c\u0435\u0432\u0438\u0447"},"company":{"name":"\u041e\u041e\u041e \"\u0424\u0440\u043e\u043d\u0442-\u0415\u043d\u0434 \u0422\u0435\u0441\u0442\"","taxAuthority":{"code":"0521","title":"\u041c\u0435\u0436\u0440\u0430\u0439\u043e\u043d\u043d\u0430\u044f \u0438\u043d\u0441\u043f\u0435\u043a\u0446\u0438\u044f \u0424\u041d\u0421 \u0420\u043e\u0441\u0441\u0438\u0438 \u2116 9 \u043f\u043e \u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0438\u043a\u0435 \u0414\u0430\u0433\u0435\u0441\u0442\u0430\u043d"},"accountNumber":"11111111111111111112","inn":"9987109031","bik":"044030761","ogrn":"1127747209031","infsoobBeenSent":true,"type":{"title":"\u042e\u041b","systemName":"UL"},"division":{"title":"\u041e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u043e\u0444\u0438\u0441","kpp":"012312312","address":{"country":{"code":"643","title":"\u0420\u043e\u0441\u0441\u0438\u044f"},"region":{"code":"04","title":"\u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0438\u043a\u0430 \u0410\u043b\u0442\u0430\u0439"},"postalCode":"111111","district":"\u0420\u0430\u0439\u043e\u043d1234","city":"\u0421\u0430\u043d\u043a\u0442-\u041f\u0435\u0442\u0435\u0440\u0431\u0443\u0440\u0433","settlement":"\u041d\u0430\u0441\u0435\u043b\u0451\u043d\u043d\u044b\u0439 \u043f\u0443\u043d\u043a\u0442","street":"\u041d\u043e\u0432\u043e\u0440\u043e\u0449\u0438\u043d\u0441\u043a\u0430\u044f","house":"12699","building":"914","room":"123"},"classificationNumber":"3333333333","id":18}},"certificate":null}"
2019-02-04 17:02:16 [Test worker] DEBUG AbstractRequest - *********EXECUTE RESULT: {
"employee": {
"email": "ololo@roskomnadzor.govno",
"position": "царь"
},
"person": {
"socialNumber": null,
"surname": "Грозный",
"name": "Иван",
"patronymic": "Васильевич"
},
"company": {
"name": "ООО \"Фронт-Енд Тест\"",
"inn": "9987109031",
"bikj": null,
"ogrn": "1127747209031",
"infsoobBeenSent": true,
"accountNumber": "11111111111111111112",
"type": {
"systemName": "UL",
"title": "ЮЛ"
},
"taxAuthority": {
"code": "0521",
"title": "Межрайонная инспекция ФНС России № 9 по Республике Дагестан"
},
"division": {
"id": "18",
"kpp": "012312312",
"title": "Основной офис",
"classificationNumber": "3333333333",
"address": {
"country": {
"code": "643",
"title": "Россия"
},
"region": {
"code": "04",
"title": "Республика Алтай"
},
"postalCode": "111111",
"district": "Район1234",
"city": "Санкт-Петербург",
"settlement": "Населённый пункт",
"street": "Новорощинская",
"house": "12699",
"building": "914",
"room": "123"
}
}
},
"certificate": null,
"statusCode": 200
}
2019-02-04 17:02:16 [Test worker] INFO Commands - *********Шаг: Получаем токен для пользователя с email:ololo1@ya.ru, и паролем:q1w2e3r4t5
2019-02-04 17:02:16 [Test worker] DEBUG Rest - *********REQUEST: POST "/security/token":"{
"email": "ololo1@ya.ru",
"password": "q1w2e3r4t5"
}"
2019-02-04 17:02:19 [Test worker] DEBUG Rest - *********RESPONSE: 200 "{"success":true,"token":{"value":"37f0cfea73543efb5312c93fd26bb8b6","expireAt":"2019-04-02UTC14:02:21"}}"
2019-02-04 17:02:19 [Test worker] DEBUG ResponseFactory - *********CREATING "TokenResponse<Object>" WITH BODY "{"success":true,"token":{"value":"37f0cfea73543efb5312c93fd26bb8b6","expireAt":"2019-04-02UTC14:02:21"}}"
2019-02-04 17:02:19 [Test worker] DEBUG AbstractRequest - *********EXECUTE RESULT: {
"success": true,
"token": {
"value": "37f0cfea73543efb5312c93fd26bb8b6",
"expireAt": "2019-04-02UTC14:02:21"
},
"statusCode": 200
}
2019-02-04 17:02:19 [Test worker] INFO Commands - *********Шаг: Получаем информацию по текущему пользователю
2019-02-04 17:02:19 [Test worker] DEBUG Rest - *********REQUEST with token: GET "/current/user":"{}"
2019-02-04 17:02:21 [Test worker] DEBUG Rest - *********RESPONSE with token: 200 "{"employee":{"email":"ololo1@ya.ru","position":"\u043f\u0438\u0441\u0430\u0442\u0435\u043b\u044c","defaultDivision":{"title":"\u041e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u043e\u0444\u0438\u0441","kpp":"111111231","address":{"country":{"code":"643","title":"\u0420\u043e\u0441\u0441\u0438\u044f"},"region":{"code":"15","title":"\u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0438\u043a\u0430 \u0421\u0435\u0432\u0435\u0440\u043d\u0430\u044f \u041e\u0441\u0435\u0442\u0438\u044f - \u0410\u043b\u0430\u043d\u0438\u044f"},"postalCode":"777777","district":"asfsdfafd","city":null,"settlement":null,"street":"uuuuh123","house":"991231kkk","building":"8989898","room":"8884"},"classificationNumber":"1231231231","id":19}},"person":{"socialNumber":null,"surname":"\u041c\u0443\u0440\u0430\u043a\u0430\u043c\u0438","name":"\u0425\u0430\u0440\u0443\u043a\u0438","patronymic":null},"company":{"name":"\u041e\u041e\u041e \u0422\u0420\u0418\u0417","taxAuthority":{"code":"0548","title":"\u041c\u0435\u0436\u0440\u0430\u0439\u043e\u043d\u043d\u0430\u044f \u0438\u043d\u0441\u043f\u0435\u043a\u0446\u0438\u044f \u0424\u041d\u0421 \u0420\u043e\u0441\u0441\u0438\u0438 \u2116 6 \u043f\u043e \u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0438\u043a\u0435 \u0414\u0430\u0433\u0435\u0441\u0442\u0430\u043d"},"accountNumber":"44444444444444444444","inn":"7906505148","bik":"040813816","ogrn":"1127907000374","infsoobBeenSent":true,"type":{"title":"\u042e\u041b","systemName":"UL"},"division":{"title":"\u041e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u043e\u0444\u0438\u0441","kpp":"111111231","address":{"country":{"code":"643","title":"\u0420\u043e\u0441\u0441\u0438\u044f"},"region":{"code":"15","title":"\u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0438\u043a\u0430 \u0421\u0435\u0432\u0435\u0440\u043d\u0430\u044f \u041e\u0441\u0435\u0442\u0438\u044f - \u0410\u043b\u0430\u043d\u0438\u044f"},"postalCode":"777777","district":"asfsdfafd","city":null,"settlement":null,"street":"uuuuh123","house":"991231kkk","building":"8989898","room":"8884"},"classificationNumber":"1231231231","id":19}},"certificate":null}"
2019-02-04 17:02:21 [Test worker] DEBUG ResponseFactory - *********CREATING "UserResponse<Object>" WITH BODY "{"employee":{"email":"ololo1@ya.ru","position":"\u043f\u0438\u0441\u0430\u0442\u0435\u043b\u044c","defaultDivision":{"title":"\u041e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u043e\u0444\u0438\u0441","kpp":"111111231","address":{"country":{"code":"643","title":"\u0420\u043e\u0441\u0441\u0438\u044f"},"region":{"code":"15","title":"\u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0438\u043a\u0430 \u0421\u0435\u0432\u0435\u0440\u043d\u0430\u044f \u041e\u0441\u0435\u0442\u0438\u044f - \u0410\u043b\u0430\u043d\u0438\u044f"},"postalCode":"777777","district":"asfsdfafd","city":null,"settlement":null,"street":"uuuuh123","house":"991231kkk","building":"8989898","room":"8884"},"classificationNumber":"1231231231","id":19}},"person":{"socialNumber":null,"surname":"\u041c\u0443\u0440\u0430\u043a\u0430\u043c\u0438","name":"\u0425\u0430\u0440\u0443\u043a\u0438","patronymic":null},"company":{"name":"\u041e\u041e\u041e \u0422\u0420\u0418\u0417","taxAuthority":{"code":"0548","title":"\u041c\u0435\u0436\u0440\u0430\u0439\u043e\u043d\u043d\u0430\u044f \u0438\u043d\u0441\u043f\u0435\u043a\u0446\u0438\u044f \u0424\u041d\u0421 \u0420\u043e\u0441\u0441\u0438\u0438 \u2116 6 \u043f\u043e \u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0438\u043a\u0435 \u0414\u0430\u0433\u0435\u0441\u0442\u0430\u043d"},"accountNumber":"44444444444444444444","inn":"7906505148","bik":"040813816","ogrn":"1127907000374","infsoobBeenSent":true,"type":{"title":"\u042e\u041b","systemName":"UL"},"division":{"title":"\u041e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u043e\u0444\u0438\u0441","kpp":"111111231","address":{"country":{"code":"643","title":"\u0420\u043e\u0441\u0441\u0438\u044f"},"region":{"code":"15","title":"\u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0438\u043a\u0430 \u0421\u0435\u0432\u0435\u0440\u043d\u0430\u044f \u041e\u0441\u0435\u0442\u0438\u044f - \u0410\u043b\u0430\u043d\u0438\u044f"},"postalCode":"777777","district":"asfsdfafd","city":null,"settlement":null,"street":"uuuuh123","house":"991231kkk","building":"8989898","room":"8884"},"classificationNumber":"1231231231","id":19}},"certificate":null}"
2019-02-04 17:02:21 [Test worker] DEBUG AbstractRequest - *********EXECUTE RESULT: {
"employee": {
"email": "ololo1@ya.ru",
"position": "писатель"
},
"person": {
"socialNumber": null,
"surname": "Мураками",
"name": "Харуки",
"patronymic": null
},
"company": {
"name": "ООО ТРИЗ",
"inn": "7906505148",
"bikj": null,
"ogrn": "1127907000374",
"infsoobBeenSent": true,
"accountNumber": "44444444444444444444",
"type": {
"systemName": "UL",
"title": "ЮЛ"
},
"taxAuthority": {
"code": "0548",
"title": "Межрайонная инспекция ФНС России № 6 по Республике Дагестан"
},
"division": {
"id": "19",
"kpp": "111111231",
"title": "Основной офис",
"classificationNumber": "1231231231",
"address": {
"country": {
"code": "643",
"title": "Россия"
},
"region": {
"code": "15",
"title": "Республика Северная Осетия - Алания"
},
"postalCode": "777777",
"district": "asfsdfafd",
"city": null,
"settlement": null,
"street": "uuuuh123",
"house": "991231kkk",
"building": "8989898",
"room": "8884"
}
}
},
"certificate": null,
"statusCode": 200
}
2019-02-04 17:02:21 [Test worker] INFO BaseSpockTest - *********Создаём документ
2019-02-04 17:02:21 [Test worker] DEBUG ApiConfig - *********LOADING FILE: CreateUniversalTransferDocumentWaybillUlRequest
2019-02-04 17:02:21 [Test worker] DEBUG ApiConfig - ************{"seller":2,"buyer":3,"name":"NAME_TEST","number":"NUMBER_TEST","date":"24.10.2018","shipment":{"operationInformation":"12321","shipmentDate":"24.10.2018","basis":{"title":"123","number":"12321","date":"24.10.2018"},"passedBy":{"employee":{"position":"312312","surname":"123","name":"12312","patronymic":"321"},"duty":"3123"},"transportation":{"transportationInformation":"12312","waybill":{"number":"123213","date":"24.10.2018"},"carrier":null},"contract":{"passingInformation":"12321","passingDate":null}},"table":{"goods":[{"title":"123","measurement":{"code":"109","title":"Ар (100 м2)"},"count":"1","price":"1","code":null,"costBeforeTax":"11","excise":"1","taxRate":"18","costAfterTax":"1.00","amountOfTax":"1","kind":null,"declaration":null,"infoFields":[{"attribute":"attribute1","value":"value1"},{"attribute":"attribute2","value":"value2"}]}],"totalAmountOfTax":"1.00","totalCostBeforeTax":"11.00","totalCostAfterTax":"1.00"},"invoice":{"infoFields":[{"attribute":"attribute1","value":"value1"},{"attribute":"attribute2","value":"value2"}],"consignee":null,"consignor":{"type":"UL","name":"ООО \"ДиТестМонтаж\"","kpp":"111111111","okpo":"3123213123","divisionName":null,"inn":"7813385180","address":{"russianAddress":{"regionCode":"26","postalCode":"123213","district":null,"city":null,"settlement":null,"street":null,"house":null,"building":null,"room":null},"location":null},"contact":null,"bankDetails":{"accountNumber":"11111111111111111111","bank":{"name":null,"bik":"046015933"}}},"currency":{"code":"643","title":"Российский рубль","exchangeRate":null},"govContractId":"312","payment":{"number":"123","date":"24.10.2018"}},"signor":{"type":"UL-signor","position":"Игнатьевич","companyName":"ООО \"ДиТестМонтаж\"","inn":"7813385180","additionalData":null,"surname":"Терентьев","name":"Павел","patronymic":null,"duty":5,"status":1}}
2019-02-04 17:02:21 [Test worker] INFO Commands - *********Шаг: Создаём документ: УПД с функцией ДОП для ЮЛ
2019-02-04 17:02:21 [Test worker] DEBUG Rest - *********REQUEST with token: POST "/service/document/create/universal_transfer_document_waybill":"{
"name": "NAME_TEST",
"shipment": {
"operationInformation": "12321",
"shipmentDate": "24.10.2018",
"basis": {
"title": "123",
"number": "12321",
"date": "24.10.2018"
},
"passedBy": {
"employee": {
"position": "312312",
"surname": "123",
"name": "12312",
"patronymic": "321"
},
"duty": "3123"
},
"transportation": {
"transportationInformation": "12312",
"waybill": {
"number": "123213",
"date": "24.10.2018"
},
"carrier": null
},
"contract": {
"passingInformation": "12321",
"passingDate": null
}
},
"seller": 2,
"buyer": 3,
"number": "NUMBER_TEST",
"date": "24.10.2018",
"table": {
"goods": [
{
"title": "123",
"measurement": {
"code": "109",
"title": "Ар (100 м2)"
},
"count": "1",
"price": "1",
"code": null,
"costBeforeTax": "11",
"excise": "1",
"taxRate": "18",
"costAfterTax": "1.00",
"amountOfTax": "1",
"kind": null,
"declaration": null,
"infoFields": [
{
"attribute": "attribute1",
"value": "value1"
},
{
"attribute": "attribute2",
"value": "value2"
}
]
}
],
"totalAmountOfTax": "1.00",
"totalCostBeforeTax": "11.00",
"totalCostAfterTax": "1.00"
},
"invoice": {
"consignee": null,
"consignor": {
"type": "UL",
"address": {
"russianAddress": {
"regionCode": "26",
"postalCode": "123213",
"district": null,
"city": null,
"settlement": null,
"street": null,
"house": null,
"building": null,
"room": null
},
"location": null
},
"contact": null,
"bankDetails": {
"accountNumber": "11111111111111111111",
"bank": {
"name": null,
"bik": "046015933"
}
},
"okpo": "3123213123",
"inn": "7813385180",
"name": "ООО \"ДиТестМонтаж\"",
"kpp": "111111111",
"divisionName": null
},
"currency": {
"code": "643",
"title": "Российский рубль",
"exchangeRate": null
},
"govContractId": "312",
"payment": {
"number": "123",
"date": "24.10.2018"
},
"infoFields": [
{
"attribute": "attribute1",
"value": "value1"
},
{
"attribute": "attribute2",
"value": "value2"
}
]
},
"signor": {
"type": "UL-signor",
"surname": "Терентьев",
"name": "Павел",
"patronymic": null,
"additionalData": null,
"duty": 5,
"status": 1,
"position": "Игнатьевич",
"companyName": "ООО \"ДиТестМонтаж\"",
"inn": "7813385180"
}
}"
2019-02-04 17:02:22 [Test worker] DEBUG Rest - *********RESPONSE with token: 403 "{"success":false,"codeDescription":"\u0414\u043e\u0441\u0442\u0443\u043f \u0437\u0430\u043f\u0440\u0435\u0449\u0435\u043d","code":105}"
2019-02-04 17:02:22 [Test worker] DEBUG ResponseFactory - *********CREATING "JsonResponse<Object>" WITH BODY "{"success":false,"codeDescription":"\u0414\u043e\u0441\u0442\u0443\u043f \u0437\u0430\u043f\u0440\u0435\u0449\u0435\u043d","code":105}"
2019-02-04 17:02:22 [Test worker] DEBUG AbstractRequest - *********EXECUTE RESULT: {
"result": {
"success": false,
"codeDescription": "Доступ запрещен",
"code": 105
},
"statusCode": 403
}
2019-02-04 17:02:22 [Test worker] ERROR spock.LoggingListener - *********Ошибка в "generator.WaybillFlowUlGen:WaybillFlowUlGen:Вариант 1. Принятие документа с функцией ДОП для ЮЛ:Вариант 1. Принятие документа с функцией ДОП для ЮЛ" строка 36 : org.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot cast object '{
"result": {
"success": false,
"codeDescription": "Доступ запрещен",
"code": 105
},
"statusCode": 403
}' with class 'model.internal.JsonResponse' to class 'model.responses.service.document.create.CreateDocumentResponse'
2019-02-04 17:02:22 [Test worker] INFO spock.LoggingListener - *********Окончание итерации "generator.WaybillFlowUlGen:WaybillFlowUlGen:Вариант 1. Принятие документа с функцией ДОП для ЮЛ:Вариант 1. Принятие документа с функцией ДОП для ЮЛ"
2019-02-04 17:02:22 [Test worker] INFO spock.LoggingListener - ******Запуск итерации "generator.WaybillFlowUlGen:WaybillFlowUlGen:Вариант 1. Принятие документа с функцией ДОП для ЮЛ:Вариант 1. Принятие документа с функцией ДОП для ЮЛ"
2019-02-04 17:02:22 [Test worker] INFO Commands - *********Шаг: Получаем токен для пользователя с email:ololo@roskomnadzor.govno, и паролем:q1w2e3r4t5
2019-02-04 17:02:22 [Test worker] DEBUG Rest - *********REQUEST: POST "/security/token":"{
"email": "ololo@roskomnadzor.govno",
"password": "q1w2e3r4t5"
}"
2019-02-04 17:02:25 [Test worker] DEBUG Rest - *********RESPONSE: 200 "{"success":true,"token":{"value":"89066f7686afe1945eafd867266b4ab8","expireAt":"2019-04-02UTC14:02:27"}}"
2019-02-04 17:02:25 [Test worker] DEBUG ResponseFactory - *********CREATING "TokenResponse<Object>" WITH BODY "{"success":true,"token":{"value":"89066f7686afe1945eafd867266b4ab8","expireAt":"2019-04-02UTC14:02:27"}}"
2019-02-04 17:02:25 [Test worker] DEBUG AbstractRequest - *********EXECUTE RESULT: {
"success": true,
"token": {
"value": "89066f7686afe1945eafd867266b4ab8",
"expireAt": "2019-04-02UTC14:02:27"
},
"statusCode": 200
}
2019-02-04 17:02:25 [Test worker] INFO Commands - *********Шаг: Получаем информацию по текущему пользователю
2019-02-04 17:02:25 [Test worker] DEBUG Rest - *********REQUEST with token: GET "/current/user":"{}"
2019-02-04 17:02:26 [Test worker] DEBUG Rest - *********RESPONSE with token: 200 "{"employee":{"email":"ololo@roskomnadzor.govno","position":"\u0446\u0430\u0440\u044c","defaultDivision":{"title":"\u041e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u043e\u0444\u0438\u0441","kpp":"012312312","address":{"country":{"code":"643","title":"\u0420\u043e\u0441\u0441\u0438\u044f"},"region":{"code":"04","title":"\u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0438\u043a\u0430 \u0410\u043b\u0442\u0430\u0439"},"postalCode":"111111","district":"\u0420\u0430\u0439\u043e\u043d1234","city":"\u0421\u0430\u043d\u043a\u0442-\u041f\u0435\u0442\u0435\u0440\u0431\u0443\u0440\u0433","settlement":"\u041d\u0430\u0441\u0435\u043b\u0451\u043d\u043d\u044b\u0439 \u043f\u0443\u043d\u043a\u0442","street":"\u041d\u043e\u0432\u043e\u0440\u043e\u0449\u0438\u043d\u0441\u043a\u0430\u044f","house":"12699","building":"914","room":"123"},"classificationNumber":"3333333333","id":18}},"person":{"socialNumber":null,"surname":"\u0413\u0440\u043e\u0437\u043d\u044b\u0439","name":"\u0418\u0432\u0430\u043d","patronymic":"\u0412\u0430\u0441\u0438\u043b\u044c\u0435\u0432\u0438\u0447"},"company":{"name":"\u041e\u041e\u041e \"\u0424\u0440\u043e\u043d\u0442-\u0415\u043d\u0434 \u0422\u0435\u0441\u0442\"","taxAuthority":{"code":"0521","title":"\u041c\u0435\u0436\u0440\u0430\u0439\u043e\u043d\u043d\u0430\u044f \u0438\u043d\u0441\u043f\u0435\u043a\u0446\u0438\u044f \u0424\u041d\u0421 \u0420\u043e\u0441\u0441\u0438\u0438 \u2116 9 \u043f\u043e \u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0438\u043a\u0435 \u0414\u0430\u0433\u0435\u0441\u0442\u0430\u043d"},"accountNumber":"11111111111111111112","inn":"9987109031","bik":"044030761","ogrn":"1127747209031","infsoobBeenSent":true,"type":{"title":"\u042e\u041b","systemName":"UL"},"division":{"title":"\u041e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u043e\u0444\u0438\u0441","kpp":"012312312","address":{"country":{"code":"643","title":"\u0420\u043e\u0441\u0441\u0438\u044f"},"region":{"code":"04","title":"\u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0438\u043a\u0430 \u0410\u043b\u0442\u0430\u0439"},"postalCode":"111111","district":"\u0420\u0430\u0439\u043e\u043d1234","city":"\u0421\u0430\u043d\u043a\u0442-\u041f\u0435\u0442\u0435\u0440\u0431\u0443\u0440\u0433","settlement":"\u041d\u0430\u0441\u0435\u043b\u0451\u043d\u043d\u044b\u0439 \u043f\u0443\u043d\u043a\u0442","street":"\u041d\u043e\u0432\u043e\u0440\u043e\u0449\u0438\u043d\u0441\u043a\u0430\u044f","house":"12699","building":"914","room":"123"},"classificationNumber":"3333333333","id":18}},"certificate":null}"
2019-02-04 17:02:26 [Test worker] DEBUG ResponseFactory - *********CREATING "UserResponse<Object>" WITH BODY "{"employee":{"email":"ololo@roskomnadzor.govno","position":"\u0446\u0430\u0440\u044c","defaultDivision":{"title":"\u041e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u043e\u0444\u0438\u0441","kpp":"012312312","address":{"country":{"code":"643","title":"\u0420\u043e\u0441\u0441\u0438\u044f"},"region":{"code":"04","title":"\u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0438\u043a\u0430 \u0410\u043b\u0442\u0430\u0439"},"postalCode":"111111","district":"\u0420\u0430\u0439\u043e\u043d1234","city":"\u0421\u0430\u043d\u043a\u0442-\u041f\u0435\u0442\u0435\u0440\u0431\u0443\u0440\u0433","settlement":"\u041d\u0430\u0441\u0435\u043b\u0451\u043d\u043d\u044b\u0439 \u043f\u0443\u043d\u043a\u0442","street":"\u041d\u043e\u0432\u043e\u0440\u043e\u0449\u0438\u043d\u0441\u043a\u0430\u044f","house":"12699","building":"914","room":"123"},"classificationNumber":"3333333333","id":18}},"person":{"socialNumber":null,"surname":"\u0413\u0440\u043e\u0437\u043d\u044b\u0439","name":"\u0418\u0432\u0430\u043d","patronymic":"\u0412\u0430\u0441\u0438\u043b\u044c\u0435\u0432\u0438\u0447"},"company":{"name":"\u041e\u041e\u041e \"\u0424\u0440\u043e\u043d\u0442-\u0415\u043d\u0434 \u0422\u0435\u0441\u0442\"","taxAuthority":{"code":"0521","title":"\u041c\u0435\u0436\u0440\u0430\u0439\u043e\u043d\u043d\u0430\u044f \u0438\u043d\u0441\u043f\u0435\u043a\u0446\u0438\u044f \u0424\u041d\u0421 \u0420\u043e\u0441\u0441\u0438\u0438 \u2116 9 \u043f\u043e \u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0438\u043a\u0435 \u0414\u0430\u0433\u0435\u0441\u0442\u0430\u043d"},"accountNumber":"11111111111111111112","inn":"9987109031","bik":"044030761","ogrn":"1127747209031","infsoobBeenSent":true,"type":{"title":"\u042e\u041b","systemName":"UL"},"division":{"title":"\u041e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u043e\u0444\u0438\u0441","kpp":"012312312","address":{"country":{"code":"643","title":"\u0420\u043e\u0441\u0441\u0438\u044f"},"region":{"code":"04","title":"\u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0438\u043a\u0430 \u0410\u043b\u0442\u0430\u0439"},"postalCode":"111111","district":"\u0420\u0430\u0439\u043e\u043d1234","city":"\u0421\u0430\u043d\u043a\u0442-\u041f\u0435\u0442\u0435\u0440\u0431\u0443\u0440\u0433","settlement":"\u041d\u0430\u0441\u0435\u043b\u0451\u043d\u043d\u044b\u0439 \u043f\u0443\u043d\u043a\u0442","street":"\u041d\u043e\u0432\u043e\u0440\u043e\u0449\u0438\u043d\u0441\u043a\u0430\u044f","house":"12699","building":"914","room":"123"},"classificationNumber":"3333333333","id":18}},"certificate":null}"
2019-02-04 17:02:26 [Test worker] DEBUG AbstractRequest - *********EXECUTE RESULT: {
"employee": {
"email": "ololo@roskomnadzor.govno",
"position": "царь"
},
"person": {
"socialNumber": null,
"surname": "Грозный",
"name": "Иван",
"patronymic": "Васильевич"
},
"company": {
"name": "ООО \"Фронт-Енд Тест\"",
"inn": "9987109031",
"bikj": null,
"ogrn": "1127747209031",
"infsoobBeenSent": true,
"accountNumber": "11111111111111111112",
"type": {
"systemName": "UL",
"title": "ЮЛ"
},
"taxAuthority": {
"code": "0521",
"title": "Межрайонная инспекция ФНС России № 9 по Республике Дагестан"
},
"division": {
"id": "18",
"kpp": "012312312",
"title": "Основной офис",
"classificationNumber": "3333333333",
"address": {
"country": {
"code": "643",
"title": "Россия"
},
"region": {
"code": "04",
"title": "Республика Алтай"
},
"postalCode": "111111",
"district": "Район1234",
"city": "Санкт-Петербург",
"settlement": "Населённый пункт",
"street": "Новорощинская",
"house": "12699",
"building": "914",
"room": "123"
}
}
},
"certificate": null,
"statusCode": 200
}
2019-02-04 17:02:26 [Test worker] INFO Commands - *********Шаг: Получаем токен для пользователя с email:ololo1@ya.ru, и паролем:q1w2e3r4t5
2019-02-04 17:02:26 [Test worker] DEBUG Rest - *********REQUEST: POST "/security/token":"{
"email": "ololo1@ya.ru",
"password": "q1w2e3r4t5"
}"
Stopped 1 worker daemon(s).
> Task :test
2019-02-04 17:02:30 [Test worker] DEBUG Rest - *********RESPONSE: 200 "{"success":true,"token":{"value":"5796fe785b25b151bb92301358ca151a","expireAt":"2019-04-02UTC14:02:31"}}"
2019-02-04 17:02:30 [Test worker] DEBUG ResponseFactory - *********CREATING "TokenResponse<Object>" WITH BODY "{"success":true,"token":{"value":"5796fe785b25b151bb92301358ca151a","expireAt":"2019-04-02UTC14:02:31"}}"
2019-02-04 17:02:30 [Test worker] DEBUG AbstractRequest - *********EXECUTE RESULT: {
"success": true,
"token": {
"value": "5796fe785b25b151bb92301358ca151a",
"expireAt": "2019-04-02UTC14:02:31"
},
"statusCode": 200
}
2019-02-04 17:02:30 [Test worker] INFO Commands - *********Шаг: Получаем информацию по текущему пользователю
2019-02-04 17:02:30 [Test worker] DEBUG Rest - *********REQUEST with token: GET "/current/user":"{}"
2019-02-04 17:02:31 [Test worker] DEBUG Rest - *********RESPONSE with token: 200 "{"employee":{"email":"ololo1@ya.ru","position":"\u043f\u0438\u0441\u0430\u0442\u0435\u043b\u044c","defaultDivision":{"title":"\u041e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u043e\u0444\u0438\u0441","kpp":"111111231","address":{"country":{"code":"643","title":"\u0420\u043e\u0441\u0441\u0438\u044f"},"region":{"code":"15","title":"\u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0438\u043a\u0430 \u0421\u0435\u0432\u0435\u0440\u043d\u0430\u044f \u041e\u0441\u0435\u0442\u0438\u044f - \u0410\u043b\u0430\u043d\u0438\u044f"},"postalCode":"777777","district":"asfsdfafd","city":null,"settlement":null,"street":"uuuuh123","house":"991231kkk","building":"8989898","room":"8884"},"classificationNumber":"1231231231","id":19}},"person":{"socialNumber":null,"surname":"\u041c\u0443\u0440\u0430\u043a\u0430\u043c\u0438","name":"\u0425\u0430\u0440\u0443\u043a\u0438","patronymic":null},"company":{"name":"\u041e\u041e\u041e \u0422\u0420\u0418\u0417","taxAuthority":{"code":"0548","title":"\u041c\u0435\u0436\u0440\u0430\u0439\u043e\u043d\u043d\u0430\u044f \u0438\u043d\u0441\u043f\u0435\u043a\u0446\u0438\u044f \u0424\u041d\u0421 \u0420\u043e\u0441\u0441\u0438\u0438 \u2116 6 \u043f\u043e \u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0438\u043a\u0435 \u0414\u0430\u0433\u0435\u0441\u0442\u0430\u043d"},"accountNumber":"44444444444444444444","inn":"7906505148","bik":"040813816","ogrn":"1127907000374","infsoobBeenSent":true,"type":{"title":"\u042e\u041b","systemName":"UL"},"division":{"title":"\u041e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u043e\u0444\u0438\u0441","kpp":"111111231","address":{"country":{"code":"643","title":"\u0420\u043e\u0441\u0441\u0438\u044f"},"region":{"code":"15","title":"\u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0438\u043a\u0430 \u0421\u0435\u0432\u0435\u0440\u043d\u0430\u044f \u041e\u0441\u0435\u0442\u0438\u044f - \u0410\u043b\u0430\u043d\u0438\u044f"},"postalCode":"777777","district":"asfsdfafd","city":null,"settlement":null,"street":"uuuuh123","house":"991231kkk","building":"8989898","room":"8884"},"classificationNumber":"1231231231","id":19}},"certificate":null}"
2019-02-04 17:02:31 [Test worker] DEBUG ResponseFactory - *********CREATING "UserResponse<Object>" WITH BODY "{"employee":{"email":"ololo1@ya.ru","position":"\u043f\u0438\u0441\u0430\u0442\u0435\u043b\u044c","defaultDivision":{"title":"\u041e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u043e\u0444\u0438\u0441","kpp":"111111231","address":{"country":{"code":"643","title":"\u0420\u043e\u0441\u0441\u0438\u044f"},"region":{"code":"15","title":"\u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0438\u043a\u0430 \u0421\u0435\u0432\u0435\u0440\u043d\u0430\u044f \u041e\u0441\u0435\u0442\u0438\u044f - \u0410\u043b\u0430\u043d\u0438\u044f"},"postalCode":"777777","district":"asfsdfafd","city":null,"settlement":null,"street":"uuuuh123","house":"991231kkk","building":"8989898","room":"8884"},"classificationNumber":"1231231231","id":19}},"person":{"socialNumber":null,"surname":"\u041c\u0443\u0440\u0430\u043a\u0430\u043c\u0438","name":"\u0425\u0430\u0440\u0443\u043a\u0438","patronymic":null},"company":{"name":"\u041e\u041e\u041e \u0422\u0420\u0418\u0417","taxAuthority":{"code":"0548","title":"\u041c\u0435\u0436\u0440\u0430\u0439\u043e\u043d\u043d\u0430\u044f \u0438\u043d\u0441\u043f\u0435\u043a\u0446\u0438\u044f \u0424\u041d\u0421 \u0420\u043e\u0441\u0441\u0438\u0438 \u2116 6 \u043f\u043e \u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0438\u043a\u0435 \u0414\u0430\u0433\u0435\u0441\u0442\u0430\u043d"},"accountNumber":"44444444444444444444","inn":"7906505148","bik":"040813816","ogrn":"1127907000374","infsoobBeenSent":true,"type":{"title":"\u042e\u041b","systemName":"UL"},"division":{"title":"\u041e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u043e\u0444\u0438\u0441","kpp":"111111231","address":{"country":{"code":"643","title":"\u0420\u043e\u0441\u0441\u0438\u044f"},"region":{"code":"15","title":"\u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0438\u043a\u0430 \u0421\u0435\u0432\u0435\u0440\u043d\u0430\u044f \u041e\u0441\u0435\u0442\u0438\u044f - \u0410\u043b\u0430\u043d\u0438\u044f"},"postalCode":"777777","district":"asfsdfafd","city":null,"settlement":null,"street":"uuuuh123","house":"991231kkk","building":"8989898","room":"8884"},"classificationNumber":"1231231231","id":19}},"certificate":null}"
2019-02-04 17:02:31 [Test worker] DEBUG AbstractRequest - *********EXECUTE RESULT: {
"employee": {
"email": "ololo1@ya.ru",
"position": "писатель"
},
"person": {
"socialNumber": null,
"surname": "Мураками",
"name": "Харуки",
"patronymic": null
},
"company": {
"name": "ООО ТРИЗ",
"inn": "7906505148",
"bikj": null,
"ogrn": "1127907000374",
"infsoobBeenSent": true,
"accountNumber": "44444444444444444444",
"type": {
"systemName": "UL",
"title": "ЮЛ"
},
"taxAuthority": {
"code": "0548",
"title": "Межрайонная инспекция ФНС России № 6 по Республике Дагестан"
},
"division": {
"id": "19",
"kpp": "111111231",
"title": "Основной офис",
"classificationNumber": "1231231231",
"address": {
"country": {
"code": "643",
"title": "Россия"
},
"region": {
"code": "15",
"title": "Республика Северная Осетия - Алания"
},
"postalCode": "777777",
"district": "asfsdfafd",
"city": null,
"settlement": null,
"street": "uuuuh123",
"house": "991231kkk",
"building": "8989898",
"room": "8884"
}
}
},
"certificate": null,
"statusCode": 200
}
2019-02-04 17:02:31 [Test worker] INFO BaseSpockTest - *********Создаём документ
2019-02-04 17:02:31 [Test worker] DEBUG ApiConfig - *********LOADING FILE: CreateUniversalTransferDocumentWaybillUlRequest
2019-02-04 17:02:31 [Test worker] DEBUG ApiConfig - ************{"seller":2,"buyer":3,"name":"NAME_TEST","number":"NUMBER_TEST","date":"24.10.2018","shipment":{"operationInformation":"12321","shipmentDate":"24.10.2018","basis":{"title":"123","number":"12321","date":"24.10.2018"},"passedBy":{"employee":{"position":"312312","surname":"123","name":"12312","patronymic":"321"},"duty":"3123"},"transportation":{"transportationInformation":"12312","waybill":{"number":"123213","date":"24.10.2018"},"carrier":null},"contract":{"passingInformation":"12321","passingDate":null}},"table":{"goods":[{"title":"123","measurement":{"code":"109","title":"Ар (100 м2)"},"count":"1","price":"1","code":null,"costBeforeTax":"11","excise":"1","taxRate":"18","costAfterTax":"1.00","amountOfTax":"1","kind":null,"declaration":null,"infoFields":[{"attribute":"attribute1","value":"value1"},{"attribute":"attribute2","value":"value2"}]}],"totalAmountOfTax":"1.00","totalCostBeforeTax":"11.00","totalCostAfterTax":"1.00"},"invoice":{"infoFields":[{"attribute":"attribute1","value":"value1"},{"attribute":"attribute2","value":"value2"}],"consignee":null,"consignor":{"type":"UL","name":"ООО \"ДиТестМонтаж\"","kpp":"111111111","okpo":"3123213123","divisionName":null,"inn":"7813385180","address":{"russianAddress":{"regionCode":"26","postalCode":"123213","district":null,"city":null,"settlement":null,"street":null,"house":null,"building":null,"room":null},"location":null},"contact":null,"bankDetails":{"accountNumber":"11111111111111111111","bank":{"name":null,"bik":"046015933"}}},"currency":{"code":"643","title":"Российский рубль","exchangeRate":null},"govContractId":"312","payment":{"number":"123","date":"24.10.2018"}},"signor":{"type":"UL-signor","position":"Игнатьевич","companyName":"ООО \"ДиТестМонтаж\"","inn":"7813385180","additionalData":null,"surname":"Терентьев","name":"Павел","patronymic":null,"duty":5,"status":1}}
2019-02-04 17:02:31 [Test worker] INFO Commands - *********Шаг: Создаём документ: УПД с функцией ДОП для ЮЛ
2019-02-04 17:02:31 [Test worker] DEBUG Rest - *********REQUEST with token: POST "/service/document/create/universal_transfer_document_waybill":"{
"name": "NAME_TEST",
"shipment": {
"operationInformation": "12321",
"shipmentDate": "24.10.2018",
"basis": {
"title": "123",
"number": "12321",
"date": "24.10.2018"
},
"passedBy": {
"employee": {
"position": "312312",
"surname": "123",
"name": "12312",
"patronymic": "321"
},
"duty": "3123"
},
"transportation": {
"transportationInformation": "12312",
"waybill": {
"number": "123213",
"date": "24.10.2018"
},
"carrier": null
},
"contract": {
"passingInformation": "12321",
"passingDate": null
}
},
"seller": 2,
"buyer": 3,
"number": "NUMBER_TEST",
"date": "24.10.2018",
"table": {
"goods": [
{
"title": "123",
"measurement": {
"code": "109",
"title": "Ар (100 м2)"
},
"count": "1",
"price": "1",
"code": null,
"costBeforeTax": "11",
"excise": "1",
"taxRate": "18",
"costAfterTax": "1.00",
"amountOfTax": "1",
"kind": null,
"declaration": null,
"infoFields": [
{
"attribute": "attribute1",
"value": "value1"
},
{
"attribute": "attribute2",
"value": "value2"
}
]
}
],
"totalAmountOfTax": "1.00",
"totalCostBeforeTax": "11.00",
"totalCostAfterTax": "1.00"
},
"invoice": {
"consignee": null,
"consignor": {
"type": "UL",
"address": {
"russianAddress": {
"regionCode": "26",
"postalCode": "123213",
"district": null,
"city": null,
"settlement": null,
"street": null,
"house": null,
"building": null,
"room": null
},
"location": null
},
"contact": null,
"bankDetails": {
"accountNumber": "11111111111111111111",
"bank": {
"name": null,
"bik": "046015933"
}
},
"okpo": "3123213123",
"inn": "7813385180",
"name": "ООО \"ДиТестМонтаж\"",
"kpp": "111111111",
"divisionName": null
},
"currency": {
"code": "643",
"title": "Российский рубль",
"exchangeRate": null
},
"govContractId": "312",
"payment": {
"number": "123",
"date": "24.10.2018"
},
"infoFields": [
{
"attribute": "attribute1",
"value": "value1"
},
{
"attribute": "attribute2",
"value": "value2"
}
]
},
"signor": {
"type": "UL-signor",
"surname": "Терентьев",
"name": "Павел",
"patronymic": null,
"additionalData": null,
"duty": 5,
"status": 1,
"position": "Игнатьевич",
"companyName": "ООО \"ДиТестМонтаж\"",
"inn": "7813385180"
}
}"
2019-02-04 17:02:32 [Test worker] DEBUG Rest - *********RESPONSE with token: 403 "{"success":false,"codeDescription":"\u0414\u043e\u0441\u0442\u0443\u043f \u0437\u0430\u043f\u0440\u0435\u0449\u0435\u043d","code":105}"
2019-02-04 17:02:32 [Test worker] DEBUG ResponseFactory - *********CREATING "JsonResponse<Object>" WITH BODY "{"success":false,"codeDescription":"\u0414\u043e\u0441\u0442\u0443\u043f \u0437\u0430\u043f\u0440\u0435\u0449\u0435\u043d","code":105}"
2019-02-04 17:02:32 [Test worker] DEBUG AbstractRequest - *********EXECUTE RESULT: {
"result": {
"success": false,
"codeDescription": "Доступ запрещен",
"code": 105
},
"statusCode": 403
}
2019-02-04 17:02:32 [Test worker] ERROR spock.LoggingListener - *********Ошибка в "generator.WaybillFlowUlGen:WaybillFlowUlGen:Вариант 1. Принятие документа с функцией ДОП для ЮЛ:Вариант 1. Принятие документа с функцией ДОП для ЮЛ" строка 36 : org.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot cast object '{
"result": {
"success": false,
"codeDescription": "Доступ запрещен",
"code": 105
},
"statusCode": 403
}' with class 'model.internal.JsonResponse' to class 'model.responses.service.document.create.CreateDocumentResponse'
2019-02-04 17:02:32 [Test worker] INFO spock.LoggingListener - *********Окончание итерации "generator.WaybillFlowUlGen:WaybillFlowUlGen:Вариант 1. Принятие документа с функцией ДОП для ЮЛ:Вариант 1. Принятие документа с функцией ДОП для ЮЛ"
2019-02-04 17:02:32 [Test worker] INFO spock.LoggingListener - ******Окончание фичи "generator.WaybillFlowUlGen:WaybillFlowUlGen:Вариант 1. Принятие документа с функцией ДОП для ЮЛ"
Gradle Test Executor 2 finished executing tests.
> Task :test FAILED
Executed test ==> generator.WaybillFlowUlGen.Вариант 1. Принятие документа с функцией ДОП для ЮЛ with result: FAILURE
generator.WaybillFlowUlGen > Вариант 1. Принятие документа с функцией ДОП для ЮЛ FAILED
org.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot cast object '{
"result": {
"success": false,
"codeDescription": "Доступ запрещен",
"code": 105
},
"statusCode": 403
}' with class 'model.internal.JsonResponse' to class 'model.responses.current.UserResponse'
at generator.WaybillFlowUlGen.setup(WaybillFlowUlGen.groovy:30)
org.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot cast object '{
"result": {
"success": false,
"codeDescription": "Доступ запрещен",
"code": 105
},
"statusCode": 403
}' with class 'model.internal.JsonResponse' to class 'model.responses.service.document.create.CreateDocumentResponse'
at generator.WaybillFlowUlGen.Вариант 1. Принятие документа с функцией ДОП для ЮЛ(WaybillFlowUlGen.groovy:40)
org.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot cast object '{
"result": {
"success": false,
"codeDescription": "Доступ запрещен",
"code": 105
},
"statusCode": 403
}' with class 'model.internal.JsonResponse' to class 'model.responses.service.document.create.CreateDocumentResponse'
at generator.WaybillFlowUlGen.Вариант 1. Принятие документа с функцией ДОП для ЮЛ(WaybillFlowUlGen.groovy:40)
generator.WaybillFlowUlGen STANDARD_OUT
2019-02-04 17:02:32 [Test worker] INFO spock.LoggingListener - ***Окончание спеки "generator.WaybillFlowUlGen:WaybillFlowUlGen"
1 test completed, 1 failed
Finished generating test XML results (0.037 secs) into: /Users/alex/projects/api-edo-distate-autotests/build/test-results/test
Generating HTML test report...
Finished generating test html results (0.055 secs) into: /Users/alex/projects/api-edo-distate-autotests/build/reports/tests/test
:test (Thread[Execution worker for ':' Thread 3,5,main]) completed. Took 42.711 secs.
:api:compileTestJava (Thread[Execution worker for ':' Thread 3,5,main]) started.
> Task :api:compileTestJava NO-SOURCE
file or directory '/Users/alex/projects/api-edo-distate-autotests/api/src/test/java', not found
Skipping task ':api:compileTestJava' as it has no source files and no previous output files.
:api:compileTestJava (Thread[Execution worker for ':' Thread 3,5,main]) completed. Took 0.002 secs.
:api:compileTestGroovy (Thread[Execution worker for ':' Thread 3,5,main]) started.
> Task :api:compileTestGroovy NO-SOURCE
file or directory '/Users/alex/projects/api-edo-distate-autotests/api/src/test/groovy', not found
Skipping task ':api:compileTestGroovy' as it has no source files and no previous output files.
:api:compileTestGroovy (Thread[Execution worker for ':' Thread 3,5,main]) completed. Took 0.002 secs.
:api:processTestResources (Thread[Execution worker for ':' Thread 3,5,main]) started.
> Task :api:processTestResources NO-SOURCE
file or directory '/Users/alex/projects/api-edo-distate-autotests/api/src/test/resources', not found
Skipping task ':api:processTestResources' as it has no source files and no previous output files.
:api:processTestResources (Thread[Execution worker for ':' Thread 3,5,main]) completed. Took 0.0 secs.
:api:testClasses (Thread[Execution worker for ':' Thread 3,5,main]) started.
> Task :api:testClasses UP-TO-DATE
Skipping task ':api:testClasses' as it has no actions.
:api:testClasses (Thread[Execution worker for ':' Thread 3,5,main]) completed. Took 0.0 secs.
:api:test (Thread[Execution worker for ':' Thread 3,5,main]) started.
> Task :api:test NO-SOURCE
Skipping task ':api:test' as it has no source files and no previous output files.
:api:test (Thread[Execution worker for ':' Thread 3,5,main]) completed. Took 0.004 secs.
:model:compileTestJava (Thread[Daemon worker,5,main]) started.
> Task :model:compileTestJava NO-SOURCE
file or directory '/Users/alex/projects/api-edo-distate-autotests/model/src/test/java', not found
Skipping task ':model:compileTestJava' as it has no source files and no previous output files.
:model:compileTestJava (Thread[Daemon worker,5,main]) completed. Took 0.001 secs.
:model:compileTestGroovy (Thread[Execution worker for ':' Thread 3,5,main]) started.
> Task :model:compileTestGroovy NO-SOURCE
file or directory '/Users/alex/projects/api-edo-distate-autotests/model/src/test/groovy', not found
Skipping task ':model:compileTestGroovy' as it has no source files and no previous output files.
:model:compileTestGroovy (Thread[Execution worker for ':' Thread 3,5,main]) completed. Took 0.001 secs.
:model:processTestResources (Thread[Execution worker for ':' Thread 3,5,main]) started.
> Task :model:processTestResources NO-SOURCE
file or directory '/Users/alex/projects/api-edo-distate-autotests/model/src/test/resources', not found
Skipping task ':model:processTestResources' as it has no source files and no previous output files.
:model:processTestResources (Thread[Execution worker for ':' Thread 3,5,main]) completed. Took 0.0 secs.
:model:testClasses (Thread[Execution worker for ':' Thread 3,5,main]) started.
> Task :model:testClasses UP-TO-DATE
Skipping task ':model:testClasses' as it has no actions.
:model:testClasses (Thread[Execution worker for ':' Thread 3,5,main]) completed. Took 0.0 secs.
:model:test (Thread[Execution worker for ':' Thread 3,5,main]) started.
> Task :model:test NO-SOURCE
Skipping task ':model:test' as it has no source files and no previous output files.
:model:test (Thread[Execution worker for ':' Thread 3,5,main]) completed. Took 0.001 secs.
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':test'.
> There were failing tests. See the report at: file:///Users/alex/projects/api-edo-distate-autotests/build/reports/tests/test/index.html
* Try:
Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 58s
12 actionable tasks: 12 executed
macs-MacBook-Air:api-edo-distate-autotests alex$ /opt/cprocsp/bin/cryptcp -sign -dn OGRN=1127747209031 -nochain
CryptCP 4.0 (c) "Crypto-Pro", 2002-2017.
Command prompt Utility for file signature and encryption.
Error: No file mask.
/dailybuildsbranches/CSP_4_0/CSPbuild/CSP/samples/CPCrypt/Files.cpp:282: 0x20000190
[ErrorCode: 0x20000190]
macs-MacBook-Air:api-edo-distate-autotests alex$ /opt/cprocsp/bin/cryptcp -sign -dn OGRN=1127747209031 -nochain waybill1.xml
CryptCP 4.0 (c) "Crypto-Pro", 2002-2017.
Command prompt Utility for file signature and encryption.
The following certificate will be used:
RDN:Рожин, Алексей Александрович, разработчик ПО, ул. Новорощинская 4, "ООО ""Фронт-Енд Тест""", 0, "ООО ""Фронт-Енд Тест""", Санкт-Петербург, 78 Санкт-Петербург, RU, alex.rozin@distate.ru, 009987109031, 1127747209031, 08836009031
Valid from 03.09.2018 08:23:00 to 03.12.2019 08:33:00
Folder './':
waybill1.xml... Signing the data...
Signed message is created.
[ReturnCode: 0]
macs-MacBook-Air:api-edo-distate-autotests alex$ ls
README.md build exec gradle.properties logsScrapyard src waybill1.xml.sig
Screenshot_1.png build.gradle generator gradlew model testData
api config gradle gradlew.bat settings.gradle waybill1.xml
macs-MacBook-Air:api-edo-distate-autotests alex$ ./gradlew clean test --tests generator.WaybillFlowUlGen --info
Initialized native services in: /Users/alex/.gradle/native
Found daemon DaemonInfo{pid=70510, address=[49d395ff-043b-4be2-b0fb-1a6cea8f2ffd port:51957, addresses:[/0:0:0:0:0:0:0:1, /127.0.0.1]], state=Idle, lastBusy=1549287775997, context=DefaultDaemonContext[uid=b791c722-fd2b-4a17-86d2-7bde91648649,javaHome=/Library/Java/JavaVirtualMachines/openjdk-11.0.2.jdk/Contents/Home,daemonRegistryDir=/Users/alex/.gradle/daemon,pid=70510,idleTimeout=10800000,priority=NORMAL,daemonOpts=--add-opens,java.base/java.util=ALL-UNNAMED,--add-opens,java.base/java.lang=ALL-UNNAMED,--add-opens,java.base/java.lang.invoke=ALL-UNNAMED,--add-opens,java.prefs/java.util.prefs=ALL-UNNAMED,-XX:MaxMetaspaceSize=256m,-XX:+HeapDumpOnOutOfMemoryError,-Xmx512m,-Dfile.encoding=UTF-8,-Duser.country=RU,-Duser.language=en,-Duser.variant]} however its context does not match the desired criteria.
Java home is different.
Wanted: DefaultDaemonContext[uid=null,javaHome=/Library/Java/JavaVirtualMachines/jdk1.8.0_201.jdk/Contents/Home,daemonRegistryDir=/Users/alex/.gradle/daemon,pid=76108,idleTimeout=null,priority=NORMAL,daemonOpts=-XX:MaxMetaspaceSize=256m,-XX:+HeapDumpOnOutOfMemoryError,-Xmx512m,-Dfile.encoding=UTF-8,-Duser.country=RU,-Duser.language=en,-Duser.variant]
Actual: DefaultDaemonContext[uid=b791c722-fd2b-4a17-86d2-7bde91648649,javaHome=/Library/Java/JavaVirtualMachines/openjdk-11.0.2.jdk/Contents/Home,daemonRegistryDir=/Users/alex/.gradle/daemon,pid=70510,idleTimeout=10800000,priority=NORMAL,daemonOpts=--add-opens,java.base/java.util=ALL-UNNAMED,--add-opens,java.base/java.lang=ALL-UNNAMED,--add-opens,java.base/java.lang.invoke=ALL-UNNAMED,--add-opens,java.prefs/java.util.prefs=ALL-UNNAMED,-XX:MaxMetaspaceSize=256m,-XX:+HeapDumpOnOutOfMemoryError,-Xmx512m,-Dfile.encoding=UTF-8,-Duser.country=RU,-Duser.language=en,-Duser.variant]
Looking for a different daemon...
Found daemon DaemonInfo{pid=12882, address=[65868b6b-45e3-47c2-9759-a8bb7a244e5f port:60563, addresses:[/0:0:0:0:0:0:0:1, /127.0.0.1]], state=Idle, lastBusy=1549286363719, context=DefaultDaemonContext[uid=a3dd053f-dcc0-4949-be5b-824bcfaf1c72,javaHome=/Library/Java/JavaVirtualMachines/jdk-11.0.1.jdk/Contents/Home,daemonRegistryDir=/Users/alex/.gradle/daemon,pid=12882,idleTimeout=10800000,priority=NORMAL,daemonOpts=--add-opens,java.base/java.util=ALL-UNNAMED,--add-opens,java.base/java.lang=ALL-UNNAMED,--add-opens,java.base/java.lang.invoke=ALL-UNNAMED,--add-opens,java.prefs/java.util.prefs=ALL-UNNAMED,-XX:MaxMetaspaceSize=256m,-XX:+HeapDumpOnOutOfMemoryError,-Xmx512m,-Dfile.encoding=UTF-8,-Duser.country=RU,-Duser.language=en,-Duser.variant]} however its context does not match the desired criteria.
Java home is different.
Wanted: DefaultDaemonContext[uid=null,javaHome=/Library/Java/JavaVirtualMachines/jdk1.8.0_201.jdk/Contents/Home,daemonRegistryDir=/Users/alex/.gradle/daemon,pid=76108,idleTimeout=null,priority=NORMAL,daemonOpts=-XX:MaxMetaspaceSize=256m,-XX:+HeapDumpOnOutOfMemoryError,-Xmx512m,-Dfile.encoding=UTF-8,-Duser.country=RU,-Duser.language=en,-Duser.variant]
Actual: DefaultDaemonContext[uid=a3dd053f-dcc0-4949-be5b-824bcfaf1c72,javaHome=/Library/Java/JavaVirtualMachines/jdk-11.0.1.jdk/Contents/Home,daemonRegistryDir=/Users/alex/.gradle/daemon,pid=12882,idleTimeout=10800000,priority=NORMAL,daemonOpts=--add-opens,java.base/java.util=ALL-UNNAMED,--add-opens,java.base/java.lang=ALL-UNNAMED,--add-opens,java.base/java.lang.invoke=ALL-UNNAMED,--add-opens,java.prefs/java.util.prefs=ALL-UNNAMED,-XX:MaxMetaspaceSize=256m,-XX:+HeapDumpOnOutOfMemoryError,-Xmx512m,-Dfile.encoding=UTF-8,-Duser.country=RU,-Duser.language=en,-Duser.variant]
Looking for a different daemon...
The client will now receive all logging from the daemon (pid: 75709). The daemon log file: /Users/alex/.gradle/daemon/5.0/daemon-75709.out.log
Starting 2nd build in daemon [uptime: 9 mins 38.836 secs, performance: 100%, no major garbage collections]
Using 4 worker leases.
Starting Build
Settings evaluated using settings file '/Users/alex/projects/api-edo-distate-autotests/settings.gradle'.
Projects loaded. Root project using build file '/Users/alex/projects/api-edo-distate-autotests/build.gradle'.
Included projects: [root project 'api-edo-distate-autotests', project ':api', project ':model']
> Configure project :api
Evaluating project ':api' using build file '/Users/alex/projects/api-edo-distate-autotests/api/build.gradle'.
> Configure project :model
Evaluating project ':model' using build file '/Users/alex/projects/api-edo-distate-autotests/model/build.gradle'.
> Configure project :
Evaluating root project 'api-edo-distate-autotests' using build file '/Users/alex/projects/api-edo-distate-autotests/build.gradle'.
Автотесты
All projects evaluated.
Selected primary task 'clean' from project :
Selected primary task 'test' from project :
Tasks to be executed: [task ':clean', task ':api:clean', task ':model:clean', task ':api:compileJava', task ':api:compileGroovy', task ':api:processResources', task ':api:classes', task ':api:jar', task ':model:compileJava', task ':model:compileGroovy', task ':model:processResources', task ':model:classes', task ':model:jar', task ':compileJava', task ':compileGroovy', task ':processResources', task ':classes', task ':compileTestJava', task ':compileTestGroovy', task ':processTestResources', task ':testClasses', task ':test', task ':api:compileTestJava', task ':api:compileTestGroovy', task ':api:processTestResources', task ':api:testClasses', task ':api:test', task ':model:compileTestJava', task ':model:compileTestGroovy', task ':model:processTestResources', task ':model:testClasses', task ':model:test']
:clean (Thread[Execution worker for ':',5,main]) started.
> Task :clean
Task ':clean' is not up-to-date because:
Task has not declared any outputs despite executing actions.
:clean (Thread[Execution worker for ':',5,main]) completed. Took 0.03 secs.
:api:clean (Thread[Execution worker for ':',5,main]) started.
> Task :api:clean
Task ':api:clean' is not up-to-date because:
Task has not declared any outputs despite executing actions.
:api:clean (Thread[Execution worker for ':',5,main]) completed. Took 0.012 secs.
:model:clean (Thread[Execution worker for ':',5,main]) started.
> Task :model:clean
Task ':model:clean' is not up-to-date because:
Task has not declared any outputs despite executing actions.
:model:clean (Thread[Execution worker for ':',5,main]) completed. Took 0.032 secs.
:api:compileJava (Thread[Execution worker for ':',5,main]) started.
> Task :api:compileJava NO-SOURCE
file or directory '/Users/alex/projects/api-edo-distate-autotests/api/src/main/java', not found
Skipping task ':api:compileJava' as it has no source files and no previous output files.
:api:compileJava (Thread[Execution worker for ':',5,main]) completed. Took 0.002 secs.
:api:compileGroovy (Thread[Execution worker for ':',5,main]) started.
This JVM does not support getting OS memory, so no OS memory status updates will be broadcast
Initialized native services in: /Users/alex/.gradle/native
> Task :api:compileGroovy
Task ':api:compileGroovy' is not up-to-date because:
Output property 'destinationDir' file /Users/alex/projects/api-edo-distate-autotests/api/build/classes/groovy/main has been removed.
Output property 'destinationDir' file /Users/alex/projects/api-edo-distate-autotests/api/build/classes/groovy/main/config has been removed.
Output property 'destinationDir' file /Users/alex/projects/api-edo-distate-autotests/api/build/classes/groovy/main/config/ApiConfig$_getListOfFiles_closure1.class has been removed.
Starting process 'Gradle Worker Daemon 3'. Working directory: /Users/alex/.gradle/workers Command: /Library/Java/JavaVirtualMachines/jdk1.8.0_201.jdk/Contents/Home/bin/java -Djava.security.manager=worker.org.gradle.process.internal.worker.child.BootstrapSecurityManager -Xmx512m -Dfile.encoding=UTF-8 -Duser.country=RU -Duser.language=en -Duser.variant -cp /Users/alex/.gradle/caches/5.0/workerMain/gradle-worker.jar worker.org.gradle.process.internal.worker.GradleWorkerMain 'Gradle Worker Daemon 3'
Successfully started process 'Gradle Worker Daemon 3'
Started Gradle worker daemon (0.905 secs) with fork options DaemonForkOptions{executable=/Library/Java/JavaVirtualMachines/jdk1.8.0_201.jdk/Contents/Home/bin/java, minHeapSize=null, maxHeapSize=null, jvmArgs=[], classpath=[/Users/alex/.gradle/caches/modules-2/files-2.1/org.codehaus.groovy/groovy-all/2.4.16/aa30a6479a3f6efc2ba8cd810cc2caf22a613b19/groovy-all-2.4.16.jar, /Users/alex/.gradle/wrapper/dists/gradle-5.0-bin/pu5208521seraqlersebvqk/gradle-5.0/lib/ant-1.9.13.jar, /Users/alex/.gradle/wrapper/dists/gradle-5.0-bin/pu5208521seraqlersebvqk/gradle-5.0/lib/ant-launcher-1.9.13.jar], keepAliveMode=SESSION}.
:api:compileGroovy (Thread[Execution worker for ':',5,main]) completed. Took 3.421 secs.
:api:processResources (Thread[Execution worker for ':',5,main]) started.
> Task :api:processResources
Task ':api:processResources' is not up-to-date because:
Output property 'destinationDir' file /Users/alex/projects/api-edo-distate-autotests/api/build/resources/main has been removed.
Output property 'destinationDir' file /Users/alex/projects/api-edo-distate-autotests/api/build/resources/main/META-INF has been removed.
Output property 'destinationDir' file /Users/alex/projects/api-edo-distate-autotests/api/build/resources/main/META-INF/services has been removed.
:api:processResources (Thread[Execution worker for ':',5,main]) completed. Took 0.008 secs.
:api:classes (Thread[Execution worker for ':',5,main]) started.
> Task :api:classes
Skipping task ':api:classes' as it has no actions.
:api:classes (Thread[Execution worker for ':',5,main]) completed. Took 0.0 secs.
:api:jar (Thread[Execution worker for ':',5,main]) started.
> Task :api:jar
Task ':api:jar' is not up-to-date because:
Output property 'archivePath' file /Users/alex/projects/api-edo-distate-autotests/api/build/libs/api-1.0-SNAPSHOT.jar has been removed.
:api:jar (Thread[Execution worker for ':',5,main]) completed. Took 0.032 secs.
:model:compileJava (Thread[Execution worker for ':',5,main]) started.
> Task :model:compileJava NO-SOURCE
file or directory '/Users/alex/projects/api-edo-distate-autotests/model/src/main/java', not found
Skipping task ':model:compileJava' as it has no source files and no previous output files.
:model:compileJava (Thread[Execution worker for ':',5,main]) completed. Took 0.0 secs.
:model:compileGroovy (Thread[Execution worker for ':',5,main]) started.
> Task :model:compileGroovy
Task ':model:compileGroovy' is not up-to-date because:
Output property 'destinationDir' file /Users/alex/projects/api-edo-distate-autotests/model/build/classes/groovy/main has been removed.
Output property 'destinationDir' file /Users/alex/projects/api-edo-distate-autotests/model/build/classes/groovy/main/config has been removed.
Output property 'destinationDir' file /Users/alex/projects/api-edo-distate-autotests/model/build/classes/groovy/main/config/StaticFixtures.class has been removed.
:model:compileGroovy (Thread[Execution worker for ':',5,main]) completed. Took 1.483 secs.
:model:processResources (Thread[Execution worker for ':',5,main]) started.
> Task :model:processResources
Task ':model:processResources' is not up-to-date because:
Output property 'destinationDir' file /Users/alex/projects/api-edo-distate-autotests/model/build/resources/main has been removed.
Output property 'destinationDir' file /Users/alex/projects/api-edo-distate-autotests/model/build/resources/main/META-INF has been removed.
Output property 'destinationDir' file /Users/alex/projects/api-edo-distate-autotests/model/build/resources/main/META-INF/services has been removed.
:model:processResources (Thread[Execution worker for ':',5,main]) completed. Took 0.012 secs.
:model:classes (Thread[Execution worker for ':',5,main]) started.
> Task :model:classes
Skipping task ':model:classes' as it has no actions.
:model:classes (Thread[Execution worker for ':',5,main]) completed. Took 0.0 secs.
:model:jar (Thread[Execution worker for ':',5,main]) started.
> Task :model:jar
Task ':model:jar' is not up-to-date because:
Output property 'archivePath' file /Users/alex/projects/api-edo-distate-autotests/model/build/libs/model-1.0-SNAPSHOT.jar has been removed.
:model:jar (Thread[Execution worker for ':',5,main]) completed. Took 0.136 secs.
:compileJava (Thread[Daemon worker Thread 2,5,main]) started.
> Task :compileJava NO-SOURCE
file or directory '/Users/alex/projects/api-edo-distate-autotests/src/main/java', not found
Skipping task ':compileJava' as it has no source files and no previous output files.
:compileJava (Thread[Daemon worker Thread 2,5,main]) completed. Took 0.001 secs.
:compileGroovy (Thread[Daemon worker Thread 2,5,main]) started.
> Task :compileGroovy NO-SOURCE
file or directory '/Users/alex/projects/api-edo-distate-autotests/src/main/groovy', not found
Skipping task ':compileGroovy' as it has no source files and no previous output files.
:compileGroovy (Thread[Daemon worker Thread 2,5,main]) completed. Took 0.0 secs.
:processResources (Thread[Daemon worker Thread 2,5,main]) started.
> Task :processResources NO-SOURCE
file or directory '/Users/alex/projects/api-edo-distate-autotests/src/main/resources', not found
Skipping task ':processResources' as it has no source files and no previous output files.
:processResources (Thread[Daemon worker Thread 2,5,main]) completed. Took 0.0 secs.
:classes (Thread[Daemon worker Thread 2,5,main]) started.
> Task :classes UP-TO-DATE
Skipping task ':classes' as it has no actions.
:classes (Thread[Daemon worker Thread 2,5,main]) completed. Took 0.0 secs.
:compileTestJava (Thread[Daemon worker Thread 2,5,main]) started.
> Task :compileTestJava NO-SOURCE
file or directory '/Users/alex/projects/api-edo-distate-autotests/src/test/java', not found
Skipping task ':compileTestJava' as it has no source files and no previous output files.
:compileTestJava (Thread[Daemon worker Thread 2,5,main]) completed. Took 0.0 secs.
:compileTestGroovy (Thread[Daemon worker Thread 2,5,main]) started.
> Task :compileTestGroovy
Task ':compileTestGroovy' is not up-to-date because:
Output property 'destinationDir' file /Users/alex/projects/api-edo-distate-autotests/build/classes/groovy/test has been removed.
Output property 'destinationDir' file /Users/alex/projects/api-edo-distate-autotests/build/classes/groovy/test/apiBackend has been removed.
Output property 'destinationDir' file /Users/alex/projects/api-edo-distate-autotests/build/classes/groovy/test/apiBackend/current has been removed.
:compileTestGroovy (Thread[Daemon worker Thread 2,5,main]) completed. Took 1.844 secs.
:processTestResources (Thread[Daemon worker Thread 2,5,main]) started.
> Task :processTestResources
Task ':processTestResources' is not up-to-date because:
Output property 'destinationDir' file /Users/alex/projects/api-edo-distate-autotests/build/resources/test has been removed.
Output property 'destinationDir' file /Users/alex/projects/api-edo-distate-autotests/build/resources/test/allure.properties has been removed.
Output property 'destinationDir' file /Users/alex/projects/api-edo-distate-autotests/build/resources/test/logback.xml has been removed.
:processTestResources (Thread[Daemon worker Thread 2,5,main]) completed. Took 0.013 secs.
:testClasses (Thread[Execution worker for ':' Thread 2,5,main]) started.
> Task :testClasses
Skipping task ':testClasses' as it has no actions.
:testClasses (Thread[Execution worker for ':' Thread 2,5,main]) completed. Took 0.0 secs.
:test (Thread[Execution worker for ':' Thread 2,5,main]) started.
Gradle Test Executor 4 started executing tests.
> Task :test
Task ':test' is not up-to-date because:
Task has failed previously.
Starting process 'Gradle Test Executor 4'. Working directory: /Users/alex/projects/api-edo-distate-autotests Command: /Library/Java/JavaVirtualMachines/jdk1.8.0_201.jdk/Contents/Home/bin/java -Dallure.results.directory=/Users/alex/projects/api-edo-distate-autotests/build/allure-results -Djava.security.manager=worker.org.gradle.process.internal.worker.child.BootstrapSecurityManager -Dorg.gradle.native=false -javaagent:/Users/alex/.gradle/caches/modules-2/files-2.1/org.aspectj/aspectjweaver/1.8.10/e198c5fee28988c355f74e06461614eae36b2032/aspectjweaver-1.8.10.jar -javaagent:/Users/alex/.gradle/caches/modules-2/files-2.1/org.aspectj/aspectjweaver/1.8.10/e198c5fee28988c355f74e06461614eae36b2032/aspectjweaver-1.8.10.jar -Xmx512m -Dfile.encoding=UTF-8 -Duser.country=RU -Duser.language=en -Duser.variant -ea -cp /Users/alex/.gradle/caches/5.0/workerMain/gradle-worker.jar worker.org.gradle.process.internal.worker.GradleWorkerMain 'Gradle Test Executor 4'
Successfully started process 'Gradle Test Executor 4'
generator.WaybillFlowUlGen STANDARD_OUT
17:11:26,302 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback-test.xml]
17:11:26,303 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback.groovy]
17:11:26,303 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [logback.xml] at [file:/Users/alex/projects/api-edo-distate-autotests/build/resources/test/logback.xml]
17:11:26,496 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - debug attribute not set
17:11:26,512 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]
17:11:26,521 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [STDOUT]
17:11:26,541 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
17:11:26,646 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.rolling.RollingFileAppender]
17:11:26,660 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [FILE-AUDIT]
17:11:26,662 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
17:11:26,689 |-INFO in c.q.l.core.rolling.TimeBasedRollingPolicy@1667087538 - No compression will be used
17:11:26,691 |-INFO in c.q.l.core.rolling.TimeBasedRollingPolicy@1667087538 - Will use the pattern logsScrapyard/archived/debug.%d{yyyy-MM-dd}.%i.log for the active file
17:11:26,698 |-INFO in ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP@75afd1c3 - The date pattern is 'yyyy-MM-dd' from file name pattern 'logsScrapyard/archived/debug.%d{yyyy-MM-dd}.%i.log'.
17:11:26,698 |-INFO in ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP@75afd1c3 - Roll-over at midnight.
17:11:26,703 |-INFO in ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP@75afd1c3 - Setting initial period to Mon Feb 04 17:02:32 MSK 2019
17:11:26,704 |-WARN in ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP@75afd1c3 - SizeAndTimeBasedFNATP is deprecated. Use SizeAndTimeBasedRollingPolicy instead
17:11:26,704 |-WARN in ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP@75afd1c3 - For more information see http://logback.qos.ch/manual/appenders.html#SizeAndTimeBasedRollingPolicy
17:11:26,709 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[FILE-AUDIT] - Active log file name: logsScrapyard/debug.log
17:11:26,709 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[FILE-AUDIT] - File property is set to [logsScrapyard/debug.log]
17:11:26,710 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.rolling.RollingFileAppender]
17:11:26,710 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [FILE-ERROR]
17:11:26,711 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
17:11:26,713 |-INFO in c.q.l.core.rolling.TimeBasedRollingPolicy@1936699313 - No compression will be used
17:11:26,713 |-INFO in c.q.l.core.rolling.TimeBasedRollingPolicy@1936699313 - Will use the pattern logsScrapyard/archived/error.%d{yyyy-MM-dd}.%i.log for the active file
17:11:26,714 |-INFO in ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP@6f7b8cd2 - The date pattern is 'yyyy-MM-dd' from file name pattern 'logsScrapyard/archived/error.%d{yyyy-MM-dd}.%i.log'.
17:11:26,714 |-INFO in ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP@6f7b8cd2 - Roll-over at midnight.
17:11:26,714 |-INFO in ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP@6f7b8cd2 - Setting initial period to Mon Feb 04 17:02:32 MSK 2019
17:11:26,714 |-WARN in ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP@6f7b8cd2 - SizeAndTimeBasedFNATP is deprecated. Use SizeAndTimeBasedRollingPolicy instead
17:11:26,714 |-WARN in ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP@6f7b8cd2 - For more information see http://logback.qos.ch/manual/appenders.html#SizeAndTimeBasedRollingPolicy
17:11:26,715 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[FILE-ERROR] - Active log file name: logsScrapyard/error.log
17:11:26,715 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[FILE-ERROR] - File property is set to [logsScrapyard/error.log]
17:11:26,715 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [de.huxhorn.lilith.logback.appender.ClassicMultiplexSocketAppender]
17:11:26,748 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [multiplex]
17:11:26,770 |-INFO in de.huxhorn.lilith.logback.appender.ClassicMultiplexSocketAppender[multiplex] - Waiting 1s to establish connections.
17:11:27,772 |-INFO in de.huxhorn.lilith.logback.appender.ClassicMultiplexSocketAppender[multiplex] - Started de.huxhorn.lilith.logback.appender.ClassicMultiplexSocketAppender[multiplex]
17:11:27,772 |-INFO in ch.qos.logback.classic.joran.action.RootLoggerAction - Setting level of ROOT logger to DEBUG
17:11:27,773 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [STDOUT] to Logger[ROOT]
17:11:27,775 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [FILE-ERROR] to Logger[ROOT]
17:11:27,775 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [FILE-AUDIT] to Logger[ROOT]
17:11:27,775 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [multiplex] to Logger[ROOT]
17:11:27,777 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org] to OFF
17:11:27,777 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [io] to OFF
17:11:27,777 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - End of configuration.
17:11:27,779 |-INFO in ch.qos.logback.classic.joran.JoranConfigurator@614d15a3 - Registering current configuration as safe fallback point
2019-02-04 17:11:28 [Test worker] DEBUG ApiConfig - LOADING FILE: ConnectSettings
2019-02-04 17:11:29 [Test worker] DEBUG ApiConfig - ***{"host":"diflow6.local","port":80,"ssl":false,"application":"api"}
2019-02-04 17:11:29 [Test worker] DEBUG ApiConfig - LOADING FILE: ApiSettings
2019-02-04 17:11:29 [Test worker] DEBUG ApiConfig - ***{"comparisonMethod":"matches"}
2019-02-04 17:11:29 [Test worker] DEBUG ApiConfig - LOADING FILE: CrypTcpSettings
2019-02-04 17:11:29 [Test worker] DEBUG ApiConfig - ***{"crypTcpCommandWindows":"cmd /c exec\\cryptcp.x64.exe -sign -dn stas","crypTcpCommandLinux":"/opt/cprocsp/bin/cryptcp -sign -dn OGRN=1127747209031 -nochain "}
2019-02-04 17:11:29 [Test worker] INFO spock.LoggingListener - Запуск спеки "generator.WaybillFlowUlGen:WaybillFlowUlGen"
2019-02-04 17:11:29 [Test worker] INFO AllureEnviromentHelper - ***1. Start writing properties to Property file
2019-02-04 17:11:29 [Test worker] INFO AllureEnviromentHelper - ***2. Writing properties to Property file : {Author e-mail=stas.seredkin@distate.ru, Java version=25.201-b09, OS=Mac OS X}
2019-02-04 17:11:29 [Test worker] INFO AllureEnviromentHelper - ***3. Successfully written properties to file = %s
2019-02-04 17:11:29 [Test worker] INFO spock.LoggingListener - ***Запуск фичи "generator.WaybillFlowUlGen:WaybillFlowUlGen:Вариант 1. Принятие документа с функцией ДОП для ЮЛ"
generator.WaybillFlowUlGen > Вариант 1. Принятие документа с функцией ДОП для ЮЛ STANDARD_OUT
2019-02-04 17:11:30 [Test worker] INFO spock.LoggingListener - ******Запуск итерации "generator.WaybillFlowUlGen:WaybillFlowUlGen:Вариант 1. Принятие документа с функцией ДОП для ЮЛ:Вариант 1. Принятие документа с функцией ДОП для ЮЛ"
2019-02-04 17:11:30 [Test worker] DEBUG ApiConfig - *********LOADING FILE: TestData
2019-02-04 17:11:30 [Test worker] DEBUG ApiConfig - ************{"email":"ololo@roskomnadzor.govno","password":"q1w2e3r4t5","wrongEmail":"22stas.seredkin@distate.ru","wrongPassword":"1123QWqw1234","email2":"ololo1@ya.ru","password2":"q1w2e3r4t5","signature":"bla-bla-bla"}
2019-02-04 17:11:30 [Test worker] INFO Commands - *********Шаг: Получаем токен для пользователя с email:ololo@roskomnadzor.govno, и паролем:q1w2e3r4t5
2019-02-04 17:11:30 [Test worker] DEBUG Rest - *********REQUEST: POST "/security/token":"{
"email": "ololo@roskomnadzor.govno",
"password": "q1w2e3r4t5"
}"
2019-02-04 17:11:41 [Test worker] DEBUG Rest - *********RESPONSE: 200 "{"success":true,"token":{"value":"f3694c78e651cf221d936a5a46c5d9af","expireAt":"2019-04-02UTC14:11:43"}}"
2019-02-04 17:11:41 [Test worker] DEBUG ResponseFactory - *********CREATING "TokenResponse<Object>" WITH BODY "{"success":true,"token":{"value":"f3694c78e651cf221d936a5a46c5d9af","expireAt":"2019-04-02UTC14:11:43"}}"
2019-02-04 17:11:42 [Test worker] DEBUG AbstractRequest - *********EXECUTE RESULT: {
"success": true,
"token": {
"value": "f3694c78e651cf221d936a5a46c5d9af",
"expireAt": "2019-04-02UTC14:11:43"
},
"statusCode": 200
}
2019-02-04 17:11:42 [Test worker] INFO Commands - *********Шаг: Получаем информацию по текущему пользователю
2019-02-04 17:11:42 [Test worker] DEBUG Rest - *********REQUEST with token: GET "/current/user":"{}"
2019-02-04 17:11:43 [Test worker] DEBUG Rest - *********RESPONSE with token: 200 "{"employee":{"email":"ololo@roskomnadzor.govno","position":"\u0446\u0430\u0440\u044c","defaultDivision":{"title":"\u041e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u043e\u0444\u0438\u0441","kpp":"012312312","address":{"country":{"code":"643","title":"\u0420\u043e\u0441\u0441\u0438\u044f"},"region":{"code":"04","title":"\u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0438\u043a\u0430 \u0410\u043b\u0442\u0430\u0439"},"postalCode":"111111","district":"\u0420\u0430\u0439\u043e\u043d1234","city":"\u0421\u0430\u043d\u043a\u0442-\u041f\u0435\u0442\u0435\u0440\u0431\u0443\u0440\u0433","settlement":"\u041d\u0430\u0441\u0435\u043b\u0451\u043d\u043d\u044b\u0439 \u043f\u0443\u043d\u043a\u0442","street":"\u041d\u043e\u0432\u043e\u0440\u043e\u0449\u0438\u043d\u0441\u043a\u0430\u044f","house":"12699","building":"914","room":"123"},"classificationNumber":"3333333333","id":18}},"person":{"socialNumber":null,"surname":"\u0413\u0440\u043e\u0437\u043d\u044b\u0439","name":"\u0418\u0432\u0430\u043d","patronymic":"\u0412\u0430\u0441\u0438\u043b\u044c\u0435\u0432\u0438\u0447"},"company":{"name":"\u041e\u041e\u041e \"\u0424\u0440\u043e\u043d\u0442-\u0415\u043d\u0434 \u0422\u0435\u0441\u0442\"","taxAuthority":{"code":"0521","title":"\u041c\u0435\u0436\u0440\u0430\u0439\u043e\u043d\u043d\u0430\u044f \u0438\u043d\u0441\u043f\u0435\u043a\u0446\u0438\u044f \u0424\u041d\u0421 \u0420\u043e\u0441\u0441\u0438\u0438 \u2116 9 \u043f\u043e \u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0438\u043a\u0435 \u0414\u0430\u0433\u0435\u0441\u0442\u0430\u043d"},"accountNumber":"11111111111111111112","inn":"9987109031","bik":"044030761","ogrn":"1127747209031","infsoobBeenSent":true,"type":{"title":"\u042e\u041b","systemName":"UL"},"division":{"title":"\u041e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u043e\u0444\u0438\u0441","kpp":"012312312","address":{"country":{"code":"643","title":"\u0420\u043e\u0441\u0441\u0438\u044f"},"region":{"code":"04","title":"\u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0438\u043a\u0430 \u0410\u043b\u0442\u0430\u0439"},"postalCode":"111111","district":"\u0420\u0430\u0439\u043e\u043d1234","city":"\u0421\u0430\u043d\u043a\u0442-\u041f\u0435\u0442\u0435\u0440\u0431\u0443\u0440\u0433","settlement":"\u041d\u0430\u0441\u0435\u043b\u0451\u043d\u043d\u044b\u0439 \u043f\u0443\u043d\u043a\u0442","street":"\u041d\u043e\u0432\u043e\u0440\u043e\u0449\u0438\u043d\u0441\u043a\u0430\u044f","house":"12699","building":"914","room":"123"},"classificationNumber":"3333333333","id":18}},"certificate":null}"
2019-02-04 17:11:43 [Test worker] DEBUG ResponseFactory - *********CREATING "UserResponse<Object>" WITH BODY "{"employee":{"email":"ololo@roskomnadzor.govno","position":"\u0446\u0430\u0440\u044c","defaultDivision":{"title":"\u041e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u043e\u0444\u0438\u0441","kpp":"012312312","address":{"country":{"code":"643","title":"\u0420\u043e\u0441\u0441\u0438\u044f"},"region":{"code":"04","title":"\u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0438\u043a\u0430 \u0410\u043b\u0442\u0430\u0439"},"postalCode":"111111","district":"\u0420\u0430\u0439\u043e\u043d1234","city":"\u0421\u0430\u043d\u043a\u0442-\u041f\u0435\u0442\u0435\u0440\u0431\u0443\u0440\u0433","settlement":"\u041d\u0430\u0441\u0435\u043b\u0451\u043d\u043d\u044b\u0439 \u043f\u0443\u043d\u043a\u0442","street":"\u041d\u043e\u0432\u043e\u0440\u043e\u0449\u0438\u043d\u0441\u043a\u0430\u044f","house":"12699","building":"914","room":"123"},"classificationNumber":"3333333333","id":18}},"person":{"socialNumber":null,"surname":"\u0413\u0440\u043e\u0437\u043d\u044b\u0439","name":"\u0418\u0432\u0430\u043d","patronymic":"\u0412\u0430\u0441\u0438\u043b\u044c\u0435\u0432\u0438\u0447"},"company":{"name":"\u041e\u041e\u041e \"\u0424\u0440\u043e\u043d\u0442-\u0415\u043d\u0434 \u0422\u0435\u0441\u0442\"","taxAuthority":{"code":"0521","title":"\u041c\u0435\u0436\u0440\u0430\u0439\u043e\u043d\u043d\u0430\u044f \u0438\u043d\u0441\u043f\u0435\u043a\u0446\u0438\u044f \u0424\u041d\u0421 \u0420\u043e\u0441\u0441\u0438\u0438 \u2116 9 \u043f\u043e \u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0438\u043a\u0435 \u0414\u0430\u0433\u0435\u0441\u0442\u0430\u043d"},"accountNumber":"11111111111111111112","inn":"9987109031","bik":"044030761","ogrn":"1127747209031","infsoobBeenSent":true,"type":{"title":"\u042e\u041b","systemName":"UL"},"division":{"title":"\u041e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u043e\u0444\u0438\u0441","kpp":"012312312","address":{"country":{"code":"643","title":"\u0420\u043e\u0441\u0441\u0438\u044f"},"region":{"code":"04","title":"\u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0438\u043a\u0430 \u0410\u043b\u0442\u0430\u0439"},"postalCode":"111111","district":"\u0420\u0430\u0439\u043e\u043d1234","city":"\u0421\u0430\u043d\u043a\u0442-\u041f\u0435\u0442\u0435\u0440\u0431\u0443\u0440\u0433","settlement":"\u041d\u0430\u0441\u0435\u043b\u0451\u043d\u043d\u044b\u0439 \u043f\u0443\u043d\u043a\u0442","street":"\u041d\u043e\u0432\u043e\u0440\u043e\u0449\u0438\u043d\u0441\u043a\u0430\u044f","house":"12699","building":"914","room":"123"},"classificationNumber":"3333333333","id":18}},"certificate":null}"
2019-02-04 17:11:43 [Test worker] DEBUG AbstractRequest - *********EXECUTE RESULT: {
"employee": {
"email": "ololo@roskomnadzor.govno",
"position": "царь"
},
"person": {
"socialNumber": null,
"surname": "Грозный",
"name": "Иван",
"patronymic": "Васильевич"
},
"company": {
"name": "ООО \"Фронт-Енд Тест\"",
"inn": "9987109031",
"bikj": null,
"ogrn": "1127747209031",
"infsoobBeenSent": true,
"accountNumber": "11111111111111111112",
"type": {
"systemName": "UL",
"title": "ЮЛ"
},
"taxAuthority": {
"code": "0521",
"title": "Межрайонная инспекция ФНС России № 9 по Республике Дагестан"
},
"division": {
"id": "18",
"kpp": "012312312",
"title": "Основной офис",
"classificationNumber": "3333333333",
"address": {
"country": {
"code": "643",
"title": "Россия"
},
"region": {
"code": "04",
"title": "Республика Алтай"
},
"postalCode": "111111",
"district": "Район1234",
"city": "Санкт-Петербург",
"settlement": "Населённый пункт",
"street": "Новорощинская",
"house": "12699",
"building": "914",
"room": "123"
}
}
},
"certificate": null,
"statusCode": 200
}
2019-02-04 17:11:43 [Test worker] INFO Commands - *********Шаг: Получаем токен для пользователя с email:ololo1@ya.ru, и паролем:q1w2e3r4t5
2019-02-04 17:11:43 [Test worker] DEBUG Rest - *********REQUEST: POST "/security/token":"{
"email": "ololo1@ya.ru",
"password": "q1w2e3r4t5"
}"
2019-02-04 17:11:47 [Test worker] DEBUG Rest - *********RESPONSE: 200 "{"success":true,"token":{"value":"f6b56e904e613190a342f8692e957159","expireAt":"2019-04-02UTC14:11:48"}}"
2019-02-04 17:11:47 [Test worker] DEBUG ResponseFactory - *********CREATING "TokenResponse<Object>" WITH BODY "{"success":true,"token":{"value":"f6b56e904e613190a342f8692e957159","expireAt":"2019-04-02UTC14:11:48"}}"
2019-02-04 17:11:47 [Test worker] DEBUG AbstractRequest - *********EXECUTE RESULT: {
"success": true,
"token": {
"value": "f6b56e904e613190a342f8692e957159",
"expireAt": "2019-04-02UTC14:11:48"
},
"statusCode": 200
}
2019-02-04 17:11:47 [Test worker] INFO Commands - *********Шаг: Получаем информацию по текущему пользователю
2019-02-04 17:11:47 [Test worker] DEBUG Rest - *********REQUEST with token: GET "/current/user":"{}"
2019-02-04 17:11:48 [Test worker] DEBUG Rest - *********RESPONSE with token: 200 "{"employee":{"email":"ololo1@ya.ru","position":"\u043f\u0438\u0441\u0430\u0442\u0435\u043b\u044c","defaultDivision":{"title":"\u041e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u043e\u0444\u0438\u0441","kpp":"111111231","address":{"country":{"code":"643","title":"\u0420\u043e\u0441\u0441\u0438\u044f"},"region":{"code":"15","title":"\u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0438\u043a\u0430 \u0421\u0435\u0432\u0435\u0440\u043d\u0430\u044f \u041e\u0441\u0435\u0442\u0438\u044f - \u0410\u043b\u0430\u043d\u0438\u044f"},"postalCode":"777777","district":"asfsdfafd","city":null,"settlement":null,"street":"uuuuh123","house":"991231kkk","building":"8989898","room":"8884"},"classificationNumber":"1231231231","id":19}},"person":{"socialNumber":null,"surname":"\u041c\u0443\u0440\u0430\u043a\u0430\u043c\u0438","name":"\u0425\u0430\u0440\u0443\u043a\u0438","patronymic":null},"company":{"name":"\u041e\u041e\u041e \u0422\u0420\u0418\u0417","taxAuthority":{"code":"0548","title":"\u041c\u0435\u0436\u0440\u0430\u0439\u043e\u043d\u043d\u0430\u044f \u0438\u043d\u0441\u043f\u0435\u043a\u0446\u0438\u044f \u0424\u041d\u0421 \u0420\u043e\u0441\u0441\u0438\u0438 \u2116 6 \u043f\u043e \u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0438\u043a\u0435 \u0414\u0430\u0433\u0435\u0441\u0442\u0430\u043d"},"accountNumber":"44444444444444444444","inn":"7906505148","bik":"040813816","ogrn":"1127907000374","infsoobBeenSent":true,"type":{"title":"\u042e\u041b","systemName":"UL"},"division":{"title":"\u041e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u043e\u0444\u0438\u0441","kpp":"111111231","address":{"country":{"code":"643","title":"\u0420\u043e\u0441\u0441\u0438\u044f"},"region":{"code":"15","title":"\u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0438\u043a\u0430 \u0421\u0435\u0432\u0435\u0440\u043d\u0430\u044f \u041e\u0441\u0435\u0442\u0438\u044f - \u0410\u043b\u0430\u043d\u0438\u044f"},"postalCode":"777777","district":"asfsdfafd","city":null,"settlement":null,"street":"uuuuh123","house":"991231kkk","building":"8989898","room":"8884"},"classificationNumber":"1231231231","id":19}},"certificate":null}"
2019-02-04 17:11:48 [Test worker] DEBUG ResponseFactory - *********CREATING "UserResponse<Object>" WITH BODY "{"employee":{"email":"ololo1@ya.ru","position":"\u043f\u0438\u0441\u0430\u0442\u0435\u043b\u044c","defaultDivision":{"title":"\u041e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u043e\u0444\u0438\u0441","kpp":"111111231","address":{"country":{"code":"643","title":"\u0420\u043e\u0441\u0441\u0438\u044f"},"region":{"code":"15","title":"\u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0438\u043a\u0430 \u0421\u0435\u0432\u0435\u0440\u043d\u0430\u044f \u041e\u0441\u0435\u0442\u0438\u044f - \u0410\u043b\u0430\u043d\u0438\u044f"},"postalCode":"777777","district":"asfsdfafd","city":null,"settlement":null,"street":"uuuuh123","house":"991231kkk","building":"8989898","room":"8884"},"classificationNumber":"1231231231","id":19}},"person":{"socialNumber":null,"surname":"\u041c\u0443\u0440\u0430\u043a\u0430\u043c\u0438","name":"\u0425\u0430\u0440\u0443\u043a\u0438","patronymic":null},"company":{"name":"\u041e\u041e\u041e \u0422\u0420\u0418\u0417","taxAuthority":{"code":"0548","title":"\u041c\u0435\u0436\u0440\u0430\u0439\u043e\u043d\u043d\u0430\u044f \u0438\u043d\u0441\u043f\u0435\u043a\u0446\u0438\u044f \u0424\u041d\u0421 \u0420\u043e\u0441\u0441\u0438\u0438 \u2116 6 \u043f\u043e \u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0438\u043a\u0435 \u0414\u0430\u0433\u0435\u0441\u0442\u0430\u043d"},"accountNumber":"44444444444444444444","inn":"7906505148","bik":"040813816","ogrn":"1127907000374","infsoobBeenSent":true,"type":{"title":"\u042e\u041b","systemName":"UL"},"division":{"title":"\u041e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u043e\u0444\u0438\u0441","kpp":"111111231","address":{"country":{"code":"643","title":"\u0420\u043e\u0441\u0441\u0438\u044f"},"region":{"code":"15","title":"\u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0438\u043a\u0430 \u0421\u0435\u0432\u0435\u0440\u043d\u0430\u044f \u041e\u0441\u0435\u0442\u0438\u044f - \u0410\u043b\u0430\u043d\u0438\u044f"},"postalCode":"777777","district":"asfsdfafd","city":null,"settlement":null,"street":"uuuuh123","house":"991231kkk","building":"8989898","room":"8884"},"classificationNumber":"1231231231","id":19}},"certificate":null}"
2019-02-04 17:11:48 [Test worker] DEBUG AbstractRequest - *********EXECUTE RESULT: {
"employee": {
"email": "ololo1@ya.ru",
"position": "писатель"
},
"person": {
"socialNumber": null,
"surname": "Мураками",
"name": "Харуки",
"patronymic": null
},
"company": {
"name": "ООО ТРИЗ",
"inn": "7906505148",
"bikj": null,
"ogrn": "1127907000374",
"infsoobBeenSent": true,
"accountNumber": "44444444444444444444",
"type": {
"systemName": "UL",
"title": "ЮЛ"
},
"taxAuthority": {
"code": "0548",
"title": "Межрайонная инспекция ФНС России № 6 по Республике Дагестан"
},
"division": {
"id": "19",
"kpp": "111111231",
"title": "Основной офис",
"classificationNumber": "1231231231",
"address": {
"country": {
"code": "643",
"title": "Россия"
},
"region": {
"code": "15",
"title": "Республика Северная Осетия - Алания"
},
"postalCode": "777777",
"district": "asfsdfafd",
"city": null,
"settlement": null,
"street": "uuuuh123",
"house": "991231kkk",
"building": "8989898",
"room": "8884"
}
}
},
"certificate": null,
"statusCode": 200
}
2019-02-04 17:11:48 [Test worker] INFO BaseSpockTest - *********Создаём документ
2019-02-04 17:11:48 [Test worker] DEBUG ApiConfig - *********LOADING FILE: CreateUniversalTransferDocumentWaybillUlRequest
2019-02-04 17:11:48 [Test worker] DEBUG ApiConfig - ************{"seller":2,"buyer":3,"name":"NAME_TEST","number":"NUMBER_TEST","date":"24.10.2018","shipment":{"operationInformation":"12321","shipmentDate":"24.10.2018","basis":{"title":"123","number":"12321","date":"24.10.2018"},"passedBy":{"employee":{"position":"312312","surname":"123","name":"12312","patronymic":"321"},"duty":"3123"},"transportation":{"transportationInformation":"12312","waybill":{"number":"123213","date":"24.10.2018"},"carrier":null},"contract":{"passingInformation":"12321","passingDate":null}},"table":{"goods":[{"title":"123","measurement":{"code":"109","title":"Ар (100 м2)"},"count":"1","price":"1","code":null,"costBeforeTax":"11","excise":"1","taxRate":"18","costAfterTax":"1.00","amountOfTax":"1","kind":null,"declaration":null,"infoFields":[{"attribute":"attribute1","value":"value1"},{"attribute":"attribute2","value":"value2"}]}],"totalAmountOfTax":"1.00","totalCostBeforeTax":"11.00","totalCostAfterTax":"1.00"},"invoice":{"infoFields":[{"attribute":"attribute1","value":"value1"},{"attribute":"attribute2","value":"value2"}],"consignee":null,"consignor":{"type":"UL","name":"ООО \"ДиТестМонтаж\"","kpp":"111111111","okpo":"3123213123","divisionName":null,"inn":"7813385180","address":{"russianAddress":{"regionCode":"26","postalCode":"123213","district":null,"city":null,"settlement":null,"street":null,"house":null,"building":null,"room":null},"location":null},"contact":null,"bankDetails":{"accountNumber":"11111111111111111111","bank":{"name":null,"bik":"046015933"}}},"currency":{"code":"643","title":"Российский рубль","exchangeRate":null},"govContractId":"312","payment":{"number":"123","date":"24.10.2018"}},"signor":{"type":"UL-signor","position":"Игнатьевич","companyName":"ООО \"ДиТестМонтаж\"","inn":"7813385180","additionalData":null,"surname":"Терентьев","name":"Павел","patronymic":null,"duty":5,"status":1}}
2019-02-04 17:11:48 [Test worker] INFO Commands - *********Шаг: Создаём документ: УПД с функцией ДОП для ЮЛ
2019-02-04 17:11:48 [Test worker] DEBUG Rest - *********REQUEST with token: POST "/service/document/create/universal_transfer_document_waybill":"{
"name": "NAME_TEST",
"shipment": {
"operationInformation": "12321",
"shipmentDate": "24.10.2018",
"basis": {
"title": "123",
"number": "12321",
"date": "24.10.2018"
},
"passedBy": {
"employee": {
"position": "312312",
"surname": "123",
"name": "12312",
"patronymic": "321"
},
"duty": "3123"
},
"transportation": {
"transportationInformation": "12312",
"waybill": {
"number": "123213",
"date": "24.10.2018"
},
"carrier": null
},
"contract": {
"passingInformation": "12321",
"passingDate": null
}
},
"seller": 18,
"buyer": 19,
"number": "2019-02-04 17:11:48.695",
"date": "24.10.2018",
"table": {
"goods": [
{
"title": "123",
"measurement": {
"code": "109",
"title": "Ар (100 м2)"
},
"count": "1",
"price": "1",
"code": null,
"costBeforeTax": "11",
"excise": "1",
"taxRate": "18",
"costAfterTax": "1.00",
"amountOfTax": "1",
"kind": null,
"declaration": null,
"infoFields": [
{
"attribute": "attribute1",
"value": "value1"
},
{
"attribute": "attribute2",
"value": "value2"
}
]
}
],
"totalAmountOfTax": "1.00",
"totalCostBeforeTax": "11.00",
"totalCostAfterTax": "1.00"
},
"invoice": {
"consignee": null,
"consignor": {
"type": "UL",
"address": {
"russianAddress": {
"regionCode": "26",
"postalCode": "123213",
"district": null,
"city": null,
"settlement": null,
"street": null,
"house": null,
"building": null,
"room": null
},
"location": null
},
"contact": null,
"bankDetails": {
"accountNumber": "11111111111111111111",
"bank": {
"name": null,
"bik": "046015933"
}
},
"okpo": "3123213123",
"inn": "7813385180",
"name": "ООО \"ДиТестМонтаж\"",
"kpp": "111111111",
"divisionName": null
},
"currency": {
"code": "643",
"title": "Российский рубль",
"exchangeRate": null
},
"govContractId": "312",
"payment": {
"number": "123",
"date": "24.10.2018"
},
"infoFields": [
{
"attribute": "attribute1",
"value": "value1"
},
{
"attribute": "attribute2",
"value": "value2"
}
]
},
"signor": {
"type": "UL-signor",
"surname": "Терентьев",
"name": "Павел",
"patronymic": null,
"additionalData": null,
"duty": 5,
"status": 1,
"position": "Игнатьевич",
"companyName": "ООО \"ДиТестМонтаж\"",
"inn": "7813385180"
}
}"
2019-02-04 17:11:49 [Test worker] DEBUG Rest - *********RESPONSE with token: 403 "{"success":false,"codeDescription":"\u0414\u043e\u0441\u0442\u0443\u043f \u0437\u0430\u043f\u0440\u0435\u0449\u0435\u043d","code":105}"
2019-02-04 17:11:49 [Test worker] DEBUG ResponseFactory - *********CREATING "JsonResponse<Object>" WITH BODY "{"success":false,"codeDescription":"\u0414\u043e\u0441\u0442\u0443\u043f \u0437\u0430\u043f\u0440\u0435\u0449\u0435\u043d","code":105}"
2019-02-04 17:11:49 [Test worker] DEBUG AbstractRequest - *********EXECUTE RESULT: {
"result": {
"success": false,
"codeDescription": "Доступ запрещен",
"code": 105
},
"statusCode": 403
}
2019-02-04 17:11:49 [Test worker] ERROR spock.LoggingListener - *********Ошибка в "generator.WaybillFlowUlGen:WaybillFlowUlGen:Вариант 1. Принятие документа с функцией ДОП для ЮЛ:Вариант 1. Принятие документа с функцией ДОП для ЮЛ" строка 36 : org.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot cast object '{
"result": {
"success": false,
"codeDescription": "Доступ запрещен",
"code": 105
},
"statusCode": 403
}' with class 'model.internal.JsonResponse' to class 'model.responses.service.document.create.CreateDocumentResponse'
2019-02-04 17:11:50 [Test worker] INFO spock.LoggingListener - *********Окончание итерации "generator.WaybillFlowUlGen:WaybillFlowUlGen:Вариант 1. Принятие документа с функцией ДОП для ЮЛ:Вариант 1. Принятие документа с функцией ДОП для ЮЛ"
2019-02-04 17:11:50 [Test worker] INFO spock.LoggingListener - ******Запуск итерации "generator.WaybillFlowUlGen:WaybillFlowUlGen:Вариант 1. Принятие документа с функцией ДОП для ЮЛ:Вариант 1. Принятие документа с функцией ДОП для ЮЛ"
2019-02-04 17:11:50 [Test worker] INFO Commands - *********Шаг: Получаем токен для пользователя с email:ololo@roskomnadzor.govno, и паролем:q1w2e3r4t5
2019-02-04 17:11:50 [Test worker] DEBUG Rest - *********REQUEST: POST "/security/token":"{
"email": "ololo@roskomnadzor.govno",
"password": "q1w2e3r4t5"
}"
2019-02-04 17:11:53 [Test worker] DEBUG Rest - *********RESPONSE: 200 "{"success":true,"token":{"value":"a2adaceb1e4e4f98baac6fbc005af6c5","expireAt":"2019-04-02UTC14:11:55"}}"
2019-02-04 17:11:53 [Test worker] DEBUG ResponseFactory - *********CREATING "TokenResponse<Object>" WITH BODY "{"success":true,"token":{"value":"a2adaceb1e4e4f98baac6fbc005af6c5","expireAt":"2019-04-02UTC14:11:55"}}"
2019-02-04 17:11:53 [Test worker] DEBUG AbstractRequest - *********EXECUTE RESULT: {
"success": true,
"token": {
"value": "a2adaceb1e4e4f98baac6fbc005af6c5",
"expireAt": "2019-04-02UTC14:11:55"
},
"statusCode": 200
}
2019-02-04 17:11:53 [Test worker] INFO Commands - *********Шаг: Получаем информацию по текущему пользователю
2019-02-04 17:11:53 [Test worker] DEBUG Rest - *********REQUEST with token: GET "/current/user":"{}"
2019-02-04 17:11:54 [Test worker] DEBUG Rest - *********RESPONSE with token: 200 "{"employee":{"email":"ololo@roskomnadzor.govno","position":"\u0446\u0430\u0440\u044c","defaultDivision":{"title":"\u041e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u043e\u0444\u0438\u0441","kpp":"012312312","address":{"country":{"code":"643","title":"\u0420\u043e\u0441\u0441\u0438\u044f"},"region":{"code":"04","title":"\u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0438\u043a\u0430 \u0410\u043b\u0442\u0430\u0439"},"postalCode":"111111","district":"\u0420\u0430\u0439\u043e\u043d1234","city":"\u0421\u0430\u043d\u043a\u0442-\u041f\u0435\u0442\u0435\u0440\u0431\u0443\u0440\u0433","settlement":"\u041d\u0430\u0441\u0435\u043b\u0451\u043d\u043d\u044b\u0439 \u043f\u0443\u043d\u043a\u0442","street":"\u041d\u043e\u0432\u043e\u0440\u043e\u0449\u0438\u043d\u0441\u043a\u0430\u044f","house":"12699","building":"914","room":"123"},"classificationNumber":"3333333333","id":18}},"person":{"socialNumber":null,"surname":"\u0413\u0440\u043e\u0437\u043d\u044b\u0439","name":"\u0418\u0432\u0430\u043d","patronymic":"\u0412\u0430\u0441\u0438\u043b\u044c\u0435\u0432\u0438\u0447"},"company":{"name":"\u041e\u041e\u041e \"\u0424\u0440\u043e\u043d\u0442-\u0415\u043d\u0434 \u0422\u0435\u0441\u0442\"","taxAuthority":{"code":"0521","title":"\u041c\u0435\u0436\u0440\u0430\u0439\u043e\u043d\u043d\u0430\u044f \u0438\u043d\u0441\u043f\u0435\u043a\u0446\u0438\u044f \u0424\u041d\u0421 \u0420\u043e\u0441\u0441\u0438\u0438 \u2116 9 \u043f\u043e \u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0438\u043a\u0435 \u0414\u0430\u0433\u0435\u0441\u0442\u0430\u043d"},"accountNumber":"11111111111111111112","inn":"9987109031","bik":"044030761","ogrn":"1127747209031","infsoobBeenSent":true,"type":{"title":"\u042e\u041b","systemName":"UL"},"division":{"title":"\u041e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u043e\u0444\u0438\u0441","kpp":"012312312","address":{"country":{"code":"643","title":"\u0420\u043e\u0441\u0441\u0438\u044f"},"region":{"code":"04","title":"\u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0438\u043a\u0430 \u0410\u043b\u0442\u0430\u0439"},"postalCode":"111111","district":"\u0420\u0430\u0439\u043e\u043d1234","city":"\u0421\u0430\u043d\u043a\u0442-\u041f\u0435\u0442\u0435\u0440\u0431\u0443\u0440\u0433","settlement":"\u041d\u0430\u0441\u0435\u043b\u0451\u043d\u043d\u044b\u0439 \u043f\u0443\u043d\u043a\u0442","street":"\u041d\u043e\u0432\u043e\u0440\u043e\u0449\u0438\u043d\u0441\u043a\u0430\u044f","house":"12699","building":"914","room":"123"},"classificationNumber":"3333333333","id":18}},"certificate":null}"
2019-02-04 17:11:54 [Test worker] DEBUG ResponseFactory - *********CREATING "UserResponse<Object>" WITH BODY "{"employee":{"email":"ololo@roskomnadzor.govno","position":"\u0446\u0430\u0440\u044c","defaultDivision":{"title":"\u041e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u043e\u0444\u0438\u0441","kpp":"012312312","address":{"country":{"code":"643","title":"\u0420\u043e\u0441\u0441\u0438\u044f"},"region":{"code":"04","title":"\u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0438\u043a\u0430 \u0410\u043b\u0442\u0430\u0439"},"postalCode":"111111","district":"\u0420\u0430\u0439\u043e\u043d1234","city":"\u0421\u0430\u043d\u043a\u0442-\u041f\u0435\u0442\u0435\u0440\u0431\u0443\u0440\u0433","settlement":"\u041d\u0430\u0441\u0435\u043b\u0451\u043d\u043d\u044b\u0439 \u043f\u0443\u043d\u043a\u0442","street":"\u041d\u043e\u0432\u043e\u0440\u043e\u0449\u0438\u043d\u0441\u043a\u0430\u044f","house":"12699","building":"914","room":"123"},"classificationNumber":"3333333333","id":18}},"person":{"socialNumber":null,"surname":"\u0413\u0440\u043e\u0437\u043d\u044b\u0439","name":"\u0418\u0432\u0430\u043d","patronymic":"\u0412\u0430\u0441\u0438\u043b\u044c\u0435\u0432\u0438\u0447"},"company":{"name":"\u041e\u041e\u041e \"\u0424\u0440\u043e\u043d\u0442-\u0415\u043d\u0434 \u0422\u0435\u0441\u0442\"","taxAuthority":{"code":"0521","title":"\u041c\u0435\u0436\u0440\u0430\u0439\u043e\u043d\u043d\u0430\u044f \u0438\u043d\u0441\u043f\u0435\u043a\u0446\u0438\u044f \u0424\u041d\u0421 \u0420\u043e\u0441\u0441\u0438\u0438 \u2116 9 \u043f\u043e \u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0438\u043a\u0435 \u0414\u0430\u0433\u0435\u0441\u0442\u0430\u043d"},"accountNumber":"11111111111111111112","inn":"9987109031","bik":"044030761","ogrn":"1127747209031","infsoobBeenSent":true,"type":{"title":"\u042e\u041b","systemName":"UL"},"division":{"title":"\u041e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u043e\u0444\u0438\u0441","kpp":"012312312","address":{"country":{"code":"643","title":"\u0420\u043e\u0441\u0441\u0438\u044f"},"region":{"code":"04","title":"\u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0438\u043a\u0430 \u0410\u043b\u0442\u0430\u0439"},"postalCode":"111111","district":"\u0420\u0430\u0439\u043e\u043d1234","city":"\u0421\u0430\u043d\u043a\u0442-\u041f\u0435\u0442\u0435\u0440\u0431\u0443\u0440\u0433","settlement":"\u041d\u0430\u0441\u0435\u043b\u0451\u043d\u043d\u044b\u0439 \u043f\u0443\u043d\u043a\u0442","street":"\u041d\u043e\u0432\u043e\u0440\u043e\u0449\u0438\u043d\u0441\u043a\u0430\u044f","house":"12699","building":"914","room":"123"},"classificationNumber":"3333333333","id":18}},"certificate":null}"
2019-02-04 17:11:54 [Test worker] DEBUG AbstractRequest - *********EXECUTE RESULT: {
"employee": {
"email": "ololo@roskomnadzor.govno",
"position": "царь"
},
"person": {
"socialNumber": null,
"surname": "Грозный",
"name": "Иван",
"patronymic": "Васильевич"
},
"company": {
"name": "ООО \"Фронт-Енд Тест\"",
"inn": "9987109031",
"bikj": null,
"ogrn": "1127747209031",
"infsoobBeenSent": true,
"accountNumber": "11111111111111111112",
"type": {
"systemName": "UL",
"title": "ЮЛ"
},
"taxAuthority": {
"code": "0521",
"title": "Межрайонная инспекция ФНС России № 9 по Республике Дагестан"
},
"division": {
"id": "18",
"kpp": "012312312",
"title": "Основной офис",
"classificationNumber": "3333333333",
"address": {
"country": {
"code": "643",
"title": "Россия"
},
"region": {
"code": "04",
"title": "Республика Алтай"
},
"postalCode": "111111",
"district": "Район1234",
"city": "Санкт-Петербург",
"settlement": "Населённый пункт",
"street": "Новорощинская",
"house": "12699",
"building": "914",
"room": "123"
}
}
},
"certificate": null,
"statusCode": 200
}
2019-02-04 17:11:54 [Test worker] INFO Commands - *********Шаг: Получаем токен для пользователя с email:ololo1@ya.ru, и паролем:q1w2e3r4t5
2019-02-04 17:11:54 [Test worker] DEBUG Rest - *********REQUEST: POST "/security/token":"{
"email": "ololo1@ya.ru",
"password": "q1w2e3r4t5"
}"
2019-02-04 17:11:57 [Test worker] DEBUG Rest - *********RESPONSE: 200 "{"success":true,"token":{"value":"0b4ba24f42682277133daa9678e410c5","expireAt":"2019-04-02UTC14:11:59"}}"
2019-02-04 17:11:57 [Test worker] DEBUG ResponseFactory - *********CREATING "TokenResponse<Object>" WITH BODY "{"success":true,"token":{"value":"0b4ba24f42682277133daa9678e410c5","expireAt":"2019-04-02UTC14:11:59"}}"
2019-02-04 17:11:57 [Test worker] DEBUG AbstractRequest - *********EXECUTE RESULT: {
"success": true,
"token": {
"value": "0b4ba24f42682277133daa9678e410c5",
"expireAt": "2019-04-02UTC14:11:59"
},
"statusCode": 200
}
2019-02-04 17:11:57 [Test worker] INFO Commands - *********Шаг: Получаем информацию по текущему пользователю
2019-02-04 17:11:57 [Test worker] DEBUG Rest - *********REQUEST with token: GET "/current/user":"{}"
2019-02-04 17:11:59 [Test worker] DEBUG Rest - *********RESPONSE with token: 200 "{"employee":{"email":"ololo1@ya.ru","position":"\u043f\u0438\u0441\u0430\u0442\u0435\u043b\u044c","defaultDivision":{"title":"\u041e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u043e\u0444\u0438\u0441","kpp":"111111231","address":{"country":{"code":"643","title":"\u0420\u043e\u0441\u0441\u0438\u044f"},"region":{"code":"15","title":"\u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0438\u043a\u0430 \u0421\u0435\u0432\u0435\u0440\u043d\u0430\u044f \u041e\u0441\u0435\u0442\u0438\u044f - \u0410\u043b\u0430\u043d\u0438\u044f"},"postalCode":"777777","district":"asfsdfafd","city":null,"settlement":null,"street":"uuuuh123","house":"991231kkk","building":"8989898","room":"8884"},"classificationNumber":"1231231231","id":19}},"person":{"socialNumber":null,"surname":"\u041c\u0443\u0440\u0430\u043a\u0430\u043c\u0438","name":"\u0425\u0430\u0440\u0443\u043a\u0438","patronymic":null},"company":{"name":"\u041e\u041e\u041e \u0422\u0420\u0418\u0417","taxAuthority":{"code":"0548","title":"\u041c\u0435\u0436\u0440\u0430\u0439\u043e\u043d\u043d\u0430\u044f \u0438\u043d\u0441\u043f\u0435\u043a\u0446\u0438\u044f \u0424\u041d\u0421 \u0420\u043e\u0441\u0441\u0438\u0438 \u2116 6 \u043f\u043e \u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0438\u043a\u0435 \u0414\u0430\u0433\u0435\u0441\u0442\u0430\u043d"},"accountNumber":"44444444444444444444","inn":"7906505148","bik":"040813816","ogrn":"1127907000374","infsoobBeenSent":true,"type":{"title":"\u042e\u041b","systemName":"UL"},"division":{"title":"\u041e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u043e\u0444\u0438\u0441","kpp":"111111231","address":{"country":{"code":"643","title":"\u0420\u043e\u0441\u0441\u0438\u044f"},"region":{"code":"15","title":"\u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0438\u043a\u0430 \u0421\u0435\u0432\u0435\u0440\u043d\u0430\u044f \u041e\u0441\u0435\u0442\u0438\u044f - \u0410\u043b\u0430\u043d\u0438\u044f"},"postalCode":"777777","district":"asfsdfafd","city":null,"settlement":null,"street":"uuuuh123","house":"991231kkk","building":"8989898","room":"8884"},"classificationNumber":"1231231231","id":19}},"certificate":null}"
2019-02-04 17:11:59 [Test worker] DEBUG ResponseFactory - *********CREATING "UserResponse<Object>" WITH BODY "{"employee":{"email":"ololo1@ya.ru","position":"\u043f\u0438\u0441\u0430\u0442\u0435\u043b\u044c","defaultDivision":{"title":"\u041e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u043e\u0444\u0438\u0441","kpp":"111111231","address":{"country":{"code":"643","title":"\u0420\u043e\u0441\u0441\u0438\u044f"},"region":{"code":"15","title":"\u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0438\u043a\u0430 \u0421\u0435\u0432\u0435\u0440\u043d\u0430\u044f \u041e\u0441\u0435\u0442\u0438\u044f - \u0410\u043b\u0430\u043d\u0438\u044f"},"postalCode":"777777","district":"asfsdfafd","city":null,"settlement":null,"street":"uuuuh123","house":"991231kkk","building":"8989898","room":"8884"},"classificationNumber":"1231231231","id":19}},"person":{"socialNumber":null,"surname":"\u041c\u0443\u0440\u0430\u043a\u0430\u043c\u0438","name":"\u0425\u0430\u0440\u0443\u043a\u0438","patronymic":null},"company":{"name":"\u041e\u041e\u041e \u0422\u0420\u0418\u0417","taxAuthority":{"code":"0548","title":"\u041c\u0435\u0436\u0440\u0430\u0439\u043e\u043d\u043d\u0430\u044f \u0438\u043d\u0441\u043f\u0435\u043a\u0446\u0438\u044f \u0424\u041d\u0421 \u0420\u043e\u0441\u0441\u0438\u0438 \u2116 6 \u043f\u043e \u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0438\u043a\u0435 \u0414\u0430\u0433\u0435\u0441\u0442\u0430\u043d"},"accountNumber":"44444444444444444444","inn":"7906505148","bik":"040813816","ogrn":"1127907000374","infsoobBeenSent":true,"type":{"title":"\u042e\u041b","systemName":"UL"},"division":{"title":"\u041e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u043e\u0444\u0438\u0441","kpp":"111111231","address":{"country":{"code":"643","title":"\u0420\u043e\u0441\u0441\u0438\u044f"},"region":{"code":"15","title":"\u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0438\u043a\u0430 \u0421\u0435\u0432\u0435\u0440\u043d\u0430\u044f \u041e\u0441\u0435\u0442\u0438\u044f - \u0410\u043b\u0430\u043d\u0438\u044f"},"postalCode":"777777","district":"asfsdfafd","city":null,"settlement":null,"street":"uuuuh123","house":"991231kkk","building":"8989898","room":"8884"},"classificationNumber":"1231231231","id":19}},"certificate":null}"
2019-02-04 17:11:59 [Test worker] DEBUG AbstractRequest - *********EXECUTE RESULT: {
"employee": {
"email": "ololo1@ya.ru",
"position": "писатель"
},
"person": {
"socialNumber": null,
"surname": "Мураками",
"name": "Харуки",
"patronymic": null
},
"company": {
"name": "ООО ТРИЗ",
"inn": "7906505148",
"bikj": null,
"ogrn": "1127907000374",
"infsoobBeenSent": true,
"accountNumber": "44444444444444444444",
"type": {
"systemName": "UL",
"title": "ЮЛ"
},
"taxAuthority": {
"code": "0548",
"title": "Межрайонная инспекция ФНС России № 6 по Республике Дагестан"
},
"division": {
"id": "19",
"kpp": "111111231",
"title": "Основной офис",
"classificationNumber": "1231231231",
"address": {
"country": {
"code": "643",
"title": "Россия"
},
"region": {
"code": "15",
"title": "Республика Северная Осетия - Алания"
},
"postalCode": "777777",
"district": "asfsdfafd",
"city": null,
"settlement": null,
"street": "uuuuh123",
"house": "991231kkk",
"building": "8989898",
"room": "8884"
}
}
},
"certificate": null,
"statusCode": 200
}
2019-02-04 17:11:59 [Test worker] INFO BaseSpockTest - *********Создаём документ
2019-02-04 17:11:59 [Test worker] DEBUG ApiConfig - *********LOADING FILE: CreateUniversalTransferDocumentWaybillUlRequest
2019-02-04 17:11:59 [Test worker] DEBUG ApiConfig - ************{"seller":2,"buyer":3,"name":"NAME_TEST","number":"NUMBER_TEST","date":"24.10.2018","shipment":{"operationInformation":"12321","shipmentDate":"24.10.2018","basis":{"title":"123","number":"12321","date":"24.10.2018"},"passedBy":{"employee":{"position":"312312","surname":"123","name":"12312","patronymic":"321"},"duty":"3123"},"transportation":{"transportationInformation":"12312","waybill":{"number":"123213","date":"24.10.2018"},"carrier":null},"contract":{"passingInformation":"12321","passingDate":null}},"table":{"goods":[{"title":"123","measurement":{"code":"109","title":"Ар (100 м2)"},"count":"1","price":"1","code":null,"costBeforeTax":"11","excise":"1","taxRate":"18","costAfterTax":"1.00","amountOfTax":"1","kind":null,"declaration":null,"infoFields":[{"attribute":"attribute1","value":"value1"},{"attribute":"attribute2","value":"value2"}]}],"totalAmountOfTax":"1.00","totalCostBeforeTax":"11.00","totalCostAfterTax":"1.00"},"invoice":{"infoFields":[{"attribute":"attribute1","value":"value1"},{"attribute":"attribute2","value":"value2"}],"consignee":null,"consignor":{"type":"UL","name":"ООО \"ДиТестМонтаж\"","kpp":"111111111","okpo":"3123213123","divisionName":null,"inn":"7813385180","address":{"russianAddress":{"regionCode":"26","postalCode":"123213","district":null,"city":null,"settlement":null,"street":null,"house":null,"building":null,"room":null},"location":null},"contact":null,"bankDetails":{"accountNumber":"11111111111111111111","bank":{"name":null,"bik":"046015933"}}},"currency":{"code":"643","title":"Российский рубль","exchangeRate":null},"govContractId":"312","payment":{"number":"123","date":"24.10.2018"}},"signor":{"type":"UL-signor","position":"Игнатьевич","companyName":"ООО \"ДиТестМонтаж\"","inn":"7813385180","additionalData":null,"surname":"Терентьев","name":"Павел","patronymic":null,"duty":5,"status":1}}
2019-02-04 17:11:59 [Test worker] INFO Commands - *********Шаг: Создаём документ: УПД с функцией ДОП для ЮЛ
2019-02-04 17:11:59 [Test worker] DEBUG Rest - *********REQUEST with token: POST "/service/document/create/universal_transfer_document_waybill":"{
"name": "NAME_TEST",
"shipment": {
"operationInformation": "12321",
"shipmentDate": "24.10.2018",
"basis": {
"title": "123",
"number": "12321",
"date": "24.10.2018"
},
"passedBy": {
"employee": {
"position": "312312",
"surname": "123",
"name": "12312",
"patronymic": "321"
},
"duty": "3123"
},
"transportation": {
"transportationInformation": "12312",
"waybill": {
"number": "123213",
"date": "24.10.2018"
},
"carrier": null
},
"contract": {
"passingInformation": "12321",
"passingDate": null
}
},
"seller": 18,
"buyer": 19,
"number": "2019-02-04 17:11:59.102",
"date": "24.10.2018",
"table": {
"goods": [
{
"title": "123",
"measurement": {
"code": "109",
"title": "Ар (100 м2)"
},
"count": "1",
"price": "1",
"code": null,
"costBeforeTax": "11",
"excise": "1",
"taxRate": "18",
"costAfterTax": "1.00",
"amountOfTax": "1",
"kind": null,
"declaration": null,
"infoFields": [
{
"attribute": "attribute1",
"value": "value1"
},
{
"attribute": "attribute2",
"value": "value2"
}
]
}
],
"totalAmountOfTax": "1.00",
"totalCostBeforeTax": "11.00",
"totalCostAfterTax": "1.00"
},
"invoice": {
"consignee": null,
"consignor": {
"type": "UL",
"address": {
"russianAddress": {
"regionCode": "26",
"postalCode": "123213",
"district": null,
"city": null,
"settlement": null,
"street": null,
"house": null,
"building": null,
"room": null
},
"location": null
},
"contact": null,
"bankDetails": {
"accountNumber": "11111111111111111111",
"bank": {
"name": null,
"bik": "046015933"
}
},
"okpo": "3123213123",
"inn": "7813385180",
"name": "ООО \"ДиТестМонтаж\"",
"kpp": "111111111",
"divisionName": null
},
"currency": {
"code": "643",
"title": "Российский рубль",
"exchangeRate": null
},
"govContractId": "312",
"payment": {
"number": "123",
"date": "24.10.2018"
},
"infoFields": [
{
"attribute": "attribute1",
"value": "value1"
},
{
"attribute": "attribute2",
"value": "value2"
}
]
},
"signor": {
"type": "UL-signor",
"surname": "Терентьев",
"name": "Павел",
"patronymic": null,
"additionalData": null,
"duty": 5,
"status": 1,
"position": "Игнатьевич",
"companyName": "ООО \"ДиТестМонтаж\"",
"inn": "7813385180"
}
}"
2019-02-04 17:12:00 [Test worker] DEBUG Rest - *********RESPONSE with token: 403 "{"success":false,"codeDescription":"\u0414\u043e\u0441\u0442\u0443\u043f \u0437\u0430\u043f\u0440\u0435\u0449\u0435\u043d","code":105}"
2019-02-04 17:12:00 [Test worker] DEBUG ResponseFactory - *********CREATING "JsonResponse<Object>" WITH BODY "{"success":false,"codeDescription":"\u0414\u043e\u0441\u0442\u0443\u043f \u0437\u0430\u043f\u0440\u0435\u0449\u0435\u043d","code":105}"
2019-02-04 17:12:00 [Test worker] DEBUG AbstractRequest - *********EXECUTE RESULT: {
"result": {
"success": false,
"codeDescription": "Доступ запрещен",
"code": 105
},
"statusCode": 403
}
2019-02-04 17:12:00 [Test worker] ERROR spock.LoggingListener - *********Ошибка в "generator.WaybillFlowUlGen:WaybillFlowUlGen:Вариант 1. Принятие документа с функцией ДОП для ЮЛ:Вариант 1. Принятие документа с функцией ДОП для ЮЛ" строка 36 : org.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot cast object '{
"result": {
"success": false,
"codeDescription": "Доступ запрещен",
"code": 105
},
"statusCode": 403
}' with class 'model.internal.JsonResponse' to class 'model.responses.service.document.create.CreateDocumentResponse'
2019-02-04 17:12:00 [Test worker] INFO spock.LoggingListener - *********Окончание итерации "generator.WaybillFlowUlGen:WaybillFlowUlGen:Вариант 1. Принятие документа с функцией ДОП для ЮЛ:Вариант 1. Принятие документа с функцией ДОП для ЮЛ"
2019-02-04 17:12:00 [Test worker] INFO spock.LoggingListener - ******Запуск итерации "generator.WaybillFlowUlGen:WaybillFlowUlGen:Вариант 1. Принятие документа с функцией ДОП для ЮЛ:Вариант 1. Принятие документа с функцией ДОП для ЮЛ"
2019-02-04 17:12:00 [Test worker] INFO Commands - *********Шаг: Получаем токен для пользователя с email:ololo@roskomnadzor.govno, и паролем:q1w2e3r4t5
2019-02-04 17:12:00 [Test worker] DEBUG Rest - *********REQUEST: POST "/security/token":"{
"email": "ololo@roskomnadzor.govno",
"password": "q1w2e3r4t5"
}"
2019-02-04 17:12:03 [Test worker] DEBUG Rest - *********RESPONSE: 200 "{"success":true,"token":{"value":"2709a16a1adbd91eb2b74cc69ba81fa7","expireAt":"2019-04-02UTC14:12:05"}}"
2019-02-04 17:12:03 [Test worker] DEBUG ResponseFactory - *********CREATING "TokenResponse<Object>" WITH BODY "{"success":true,"token":{"value":"2709a16a1adbd91eb2b74cc69ba81fa7","expireAt":"2019-04-02UTC14:12:05"}}"
2019-02-04 17:12:03 [Test worker] DEBUG AbstractRequest - *********EXECUTE RESULT: {
"success": true,
"token": {
"value": "2709a16a1adbd91eb2b74cc69ba81fa7",
"expireAt": "2019-04-02UTC14:12:05"
},
"statusCode": 200
}
2019-02-04 17:12:03 [Test worker] INFO Commands - *********Шаг: Получаем информацию по текущему пользователю
2019-02-04 17:12:03 [Test worker] DEBUG Rest - *********REQUEST with token: GET "/current/user":"{}"
2019-02-04 17:12:04 [Test worker] DEBUG Rest - *********RESPONSE with token: 200 "{"employee":{"email":"ololo@roskomnadzor.govno","position":"\u0446\u0430\u0440\u044c","defaultDivision":{"title":"\u041e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u043e\u0444\u0438\u0441","kpp":"012312312","address":{"country":{"code":"643","title":"\u0420\u043e\u0441\u0441\u0438\u044f"},"region":{"code":"04","title":"\u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0438\u043a\u0430 \u0410\u043b\u0442\u0430\u0439"},"postalCode":"111111","district":"\u0420\u0430\u0439\u043e\u043d1234","city":"\u0421\u0430\u043d\u043a\u0442-\u041f\u0435\u0442\u0435\u0440\u0431\u0443\u0440\u0433","settlement":"\u041d\u0430\u0441\u0435\u043b\u0451\u043d\u043d\u044b\u0439 \u043f\u0443\u043d\u043a\u0442","street":"\u041d\u043e\u0432\u043e\u0440\u043e\u0449\u0438\u043d\u0441\u043a\u0430\u044f","house":"12699","building":"914","room":"123"},"classificationNumber":"3333333333","id":18}},"person":{"socialNumber":null,"surname":"\u0413\u0440\u043e\u0437\u043d\u044b\u0439","name":"\u0418\u0432\u0430\u043d","patronymic":"\u0412\u0430\u0441\u0438\u043b\u044c\u0435\u0432\u0438\u0447"},"company":{"name":"\u041e\u041e\u041e \"\u0424\u0440\u043e\u043d\u0442-\u0415\u043d\u0434 \u0422\u0435\u0441\u0442\"","taxAuthority":{"code":"0521","title":"\u041c\u0435\u0436\u0440\u0430\u0439\u043e\u043d\u043d\u0430\u044f \u0438\u043d\u0441\u043f\u0435\u043a\u0446\u0438\u044f \u0424\u041d\u0421 \u0420\u043e\u0441\u0441\u0438\u0438 \u2116 9 \u043f\u043e \u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0438\u043a\u0435 \u0414\u0430\u0433\u0435\u0441\u0442\u0430\u043d"},"accountNumber":"11111111111111111112","inn":"9987109031","bik":"044030761","ogrn":"1127747209031","infsoobBeenSent":true,"type":{"title":"\u042e\u041b","systemName":"UL"},"division":{"title":"\u041e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u043e\u0444\u0438\u0441","kpp":"012312312","address":{"country":{"code":"643","title":"\u0420\u043e\u0441\u0441\u0438\u044f"},"region":{"code":"04","title":"\u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0438\u043a\u0430 \u0410\u043b\u0442\u0430\u0439"},"postalCode":"111111","district":"\u0420\u0430\u0439\u043e\u043d1234","city":"\u0421\u0430\u043d\u043a\u0442-\u041f\u0435\u0442\u0435\u0440\u0431\u0443\u0440\u0433","settlement":"\u041d\u0430\u0441\u0435\u043b\u0451\u043d\u043d\u044b\u0439 \u043f\u0443\u043d\u043a\u0442","street":"\u041d\u043e\u0432\u043e\u0440\u043e\u0449\u0438\u043d\u0441\u043a\u0430\u044f","house":"12699","building":"914","room":"123"},"classificationNumber":"3333333333","id":18}},"certificate":null}"
2019-02-04 17:12:04 [Test worker] DEBUG ResponseFactory - *********CREATING "UserResponse<Object>" WITH BODY "{"employee":{"email":"ololo@roskomnadzor.govno","position":"\u0446\u0430\u0440\u044c","defaultDivision":{"title":"\u041e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u043e\u0444\u0438\u0441","kpp":"012312312","address":{"country":{"code":"643","title":"\u0420\u043e\u0441\u0441\u0438\u044f"},"region":{"code":"04","title":"\u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0438\u043a\u0430 \u0410\u043b\u0442\u0430\u0439"},"postalCode":"111111","district":"\u0420\u0430\u0439\u043e\u043d1234","city":"\u0421\u0430\u043d\u043a\u0442-\u041f\u0435\u0442\u0435\u0440\u0431\u0443\u0440\u0433","settlement":"\u041d\u0430\u0441\u0435\u043b\u0451\u043d\u043d\u044b\u0439 \u043f\u0443\u043d\u043a\u0442","street":"\u041d\u043e\u0432\u043e\u0440\u043e\u0449\u0438\u043d\u0441\u043a\u0430\u044f","house":"12699","building":"914","room":"123"},"classificationNumber":"3333333333","id":18}},"person":{"socialNumber":null,"surname":"\u0413\u0440\u043e\u0437\u043d\u044b\u0439","name":"\u0418\u0432\u0430\u043d","patronymic":"\u0412\u0430\u0441\u0438\u043b\u044c\u0435\u0432\u0438\u0447"},"company":{"name":"\u041e\u041e\u041e \"\u0424\u0440\u043e\u043d\u0442-\u0415\u043d\u0434 \u0422\u0435\u0441\u0442\"","taxAuthority":{"code":"0521","title":"\u041c\u0435\u0436\u0440\u0430\u0439\u043e\u043d\u043d\u0430\u044f \u0438\u043d\u0441\u043f\u0435\u043a\u0446\u0438\u044f \u0424\u041d\u0421 \u0420\u043e\u0441\u0441\u0438\u0438 \u2116 9 \u043f\u043e \u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0438\u043a\u0435 \u0414\u0430\u0433\u0435\u0441\u0442\u0430\u043d"},"accountNumber":"11111111111111111112","inn":"9987109031","bik":"044030761","ogrn":"1127747209031","infsoobBeenSent":true,"type":{"title":"\u042e\u041b","systemName":"UL"},"division":{"title":"\u041e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u043e\u0444\u0438\u0441","kpp":"012312312","address":{"country":{"code":"643","title":"\u0420\u043e\u0441\u0441\u0438\u044f"},"region":{"code":"04","title":"\u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0438\u043a\u0430 \u0410\u043b\u0442\u0430\u0439"},"postalCode":"111111","district":"\u0420\u0430\u0439\u043e\u043d1234","city":"\u0421\u0430\u043d\u043a\u0442-\u041f\u0435\u0442\u0435\u0440\u0431\u0443\u0440\u0433","settlement":"\u041d\u0430\u0441\u0435\u043b\u0451\u043d\u043d\u044b\u0439 \u043f\u0443\u043d\u043a\u0442","street":"\u041d\u043e\u0432\u043e\u0440\u043e\u0449\u0438\u043d\u0441\u043a\u0430\u044f","house":"12699","building":"914","room":"123"},"classificationNumber":"3333333333","id":18}},"certificate":null}"
2019-02-04 17:12:04 [Test worker] DEBUG AbstractRequest - *********EXECUTE RESULT: {
"employee": {
"email": "ololo@roskomnadzor.govno",
"position": "царь"
},
"person": {
"socialNumber": null,
"surname": "Грозный",
"name": "Иван",
"patronymic": "Васильевич"
},
"company": {
"name": "ООО \"Фронт-Енд Тест\"",
"inn": "9987109031",
"bikj": null,
"ogrn": "1127747209031",
"infsoobBeenSent": true,
"accountNumber": "11111111111111111112",
"type": {
"systemName": "UL",
"title": "ЮЛ"
},
"taxAuthority": {
"code": "0521",
"title": "Межрайонная инспекция ФНС России № 9 по Республике Дагестан"
},
"division": {
"id": "18",
"kpp": "012312312",
"title": "Основной офис",
"classificationNumber": "3333333333",
"address": {
"country": {
"code": "643",
"title": "Россия"
},
"region": {
"code": "04",
"title": "Республика Алтай"
},
"postalCode": "111111",
"district": "Район1234",
"city": "Санкт-Петербург",
"settlement": "Населённый пункт",
"street": "Новорощинская",
"house": "12699",
"building": "914",
"room": "123"
}
}
},
"certificate": null,
"statusCode": 200
}
2019-02-04 17:12:04 [Test worker] INFO Commands - *********Шаг: Получаем токен для пользователя с email:ololo1@ya.ru, и паролем:q1w2e3r4t5
2019-02-04 17:12:04 [Test worker] DEBUG Rest - *********REQUEST: POST "/security/token":"{
"email": "ololo1@ya.ru",
"password": "q1w2e3r4t5"
}"
2019-02-04 17:12:07 [Test worker] DEBUG Rest - *********RESPONSE: 200 "{"success":true,"token":{"value":"f4d4ff71774c80bdbf0bfb1b280838ff","expireAt":"2019-04-02UTC14:12:09"}}"
2019-02-04 17:12:07 [Test worker] DEBUG ResponseFactory - *********CREATING "TokenResponse<Object>" WITH BODY "{"success":true,"token":{"value":"f4d4ff71774c80bdbf0bfb1b280838ff","expireAt":"2019-04-02UTC14:12:09"}}"
2019-02-04 17:12:07 [Test worker] DEBUG AbstractRequest - *********EXECUTE RESULT: {
"success": true,
"token": {
"value": "f4d4ff71774c80bdbf0bfb1b280838ff",
"expireAt": "2019-04-02UTC14:12:09"
},
"statusCode": 200
}
2019-02-04 17:12:07 [Test worker] INFO Commands - *********Шаг: Получаем информацию по текущему пользователю
2019-02-04 17:12:07 [Test worker] DEBUG Rest - *********REQUEST with token: GET "/current/user":"{}"
2019-02-04 17:12:08 [Test worker] DEBUG Rest - *********RESPONSE with token: 200 "{"employee":{"email":"ololo1@ya.ru","position":"\u043f\u0438\u0441\u0430\u0442\u0435\u043b\u044c","defaultDivision":{"title":"\u041e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u043e\u0444\u0438\u0441","kpp":"111111231","address":{"country":{"code":"643","title":"\u0420\u043e\u0441\u0441\u0438\u044f"},"region":{"code":"15","title":"\u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0438\u043a\u0430 \u0421\u0435\u0432\u0435\u0440\u043d\u0430\u044f \u041e\u0441\u0435\u0442\u0438\u044f - \u0410\u043b\u0430\u043d\u0438\u044f"},"postalCode":"777777","district":"asfsdfafd","city":null,"settlement":null,"street":"uuuuh123","house":"991231kkk","building":"8989898","room":"8884"},"classificationNumber":"1231231231","id":19}},"person":{"socialNumber":null,"surname":"\u041c\u0443\u0440\u0430\u043a\u0430\u043c\u0438","name":"\u0425\u0430\u0440\u0443\u043a\u0438","patronymic":null},"company":{"name":"\u041e\u041e\u041e \u0422\u0420\u0418\u0417","taxAuthority":{"code":"0548","title":"\u041c\u0435\u0436\u0440\u0430\u0439\u043e\u043d\u043d\u0430\u044f \u0438\u043d\u0441\u043f\u0435\u043a\u0446\u0438\u044f \u0424\u041d\u0421 \u0420\u043e\u0441\u0441\u0438\u0438 \u2116 6 \u043f\u043e \u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0438\u043a\u0435 \u0414\u0430\u0433\u0435\u0441\u0442\u0430\u043d"},"accountNumber":"44444444444444444444","inn":"7906505148","bik":"040813816","ogrn":"1127907000374","infsoobBeenSent":true,"type":{"title":"\u042e\u041b","systemName":"UL"},"division":{"title":"\u041e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u043e\u0444\u0438\u0441","kpp":"111111231","address":{"country":{"code":"643","title":"\u0420\u043e\u0441\u0441\u0438\u044f"},"region":{"code":"15","title":"\u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0438\u043a\u0430 \u0421\u0435\u0432\u0435\u0440\u043d\u0430\u044f \u041e\u0441\u0435\u0442\u0438\u044f - \u0410\u043b\u0430\u043d\u0438\u044f"},"postalCode":"777777","district":"asfsdfafd","city":null,"settlement":null,"street":"uuuuh123","house":"991231kkk","building":"8989898","room":"8884"},"classificationNumber":"1231231231","id":19}},"certificate":null}"
2019-02-04 17:12:08 [Test worker] DEBUG ResponseFactory - *********CREATING "UserResponse<Object>" WITH BODY "{"employee":{"email":"ololo1@ya.ru","position":"\u043f\u0438\u0441\u0430\u0442\u0435\u043b\u044c","defaultDivision":{"title":"\u041e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u043e\u0444\u0438\u0441","kpp":"111111231","address":{"country":{"code":"643","title":"\u0420\u043e\u0441\u0441\u0438\u044f"},"region":{"code":"15","title":"\u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0438\u043a\u0430 \u0421\u0435\u0432\u0435\u0440\u043d\u0430\u044f \u041e\u0441\u0435\u0442\u0438\u044f - \u0410\u043b\u0430\u043d\u0438\u044f"},"postalCode":"777777","district":"asfsdfafd","city":null,"settlement":null,"street":"uuuuh123","house":"991231kkk","building":"8989898","room":"8884"},"classificationNumber":"1231231231","id":19}},"person":{"socialNumber":null,"surname":"\u041c\u0443\u0440\u0430\u043a\u0430\u043c\u0438","name":"\u0425\u0430\u0440\u0443\u043a\u0438","patronymic":null},"company":{"name":"\u041e\u041e\u041e \u0422\u0420\u0418\u0417","taxAuthority":{"code":"0548","title":"\u041c\u0435\u0436\u0440\u0430\u0439\u043e\u043d\u043d\u0430\u044f \u0438\u043d\u0441\u043f\u0435\u043a\u0446\u0438\u044f \u0424\u041d\u0421 \u0420\u043e\u0441\u0441\u0438\u0438 \u2116 6 \u043f\u043e \u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0438\u043a\u0435 \u0414\u0430\u0433\u0435\u0441\u0442\u0430\u043d"},"accountNumber":"44444444444444444444","inn":"7906505148","bik":"040813816","ogrn":"1127907000374","infsoobBeenSent":true,"type":{"title":"\u042e\u041b","systemName":"UL"},"division":{"title":"\u041e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u043e\u0444\u0438\u0441","kpp":"111111231","address":{"country":{"code":"643","title":"\u0420\u043e\u0441\u0441\u0438\u044f"},"region":{"code":"15","title":"\u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0438\u043a\u0430 \u0421\u0435\u0432\u0435\u0440\u043d\u0430\u044f \u041e\u0441\u0435\u0442\u0438\u044f - \u0410\u043b\u0430\u043d\u0438\u044f"},"postalCode":"777777","district":"asfsdfafd","city":null,"settlement":null,"street":"uuuuh123","house":"991231kkk","building":"8989898","room":"8884"},"classificationNumber":"1231231231","id":19}},"certificate":null}"
2019-02-04 17:12:08 [Test worker] DEBUG AbstractRequest - *********EXECUTE RESULT: {
"employee": {
"email": "ololo1@ya.ru",
"position": "писатель"
},
"person": {
"socialNumber": null,
"surname": "Мураками",
"name": "Харуки",
"patronymic": null
},
"company": {
"name": "ООО ТРИЗ",
"inn": "7906505148",
"bikj": null,
"ogrn": "1127907000374",
"infsoobBeenSent": true,
"accountNumber": "44444444444444444444",
"type": {
"systemName": "UL",
"title": "ЮЛ"
},
"taxAuthority": {
"code": "0548",
"title": "Межрайонная инспекция ФНС России № 6 по Республике Дагестан"
},
"division": {
"id": "19",
"kpp": "111111231",
"title": "Основной офис",
"classificationNumber": "1231231231",
"address": {
"country": {
"code": "643",
"title": "Россия"
},
"region": {
"code": "15",
"title": "Республика Северная Осетия - Алания"
},
"postalCode": "777777",
"district": "asfsdfafd",
"city": null,
"settlement": null,
"street": "uuuuh123",
"house": "991231kkk",
"building": "8989898",
"room": "8884"
}
}
},
"certificate": null,
"statusCode": 200
}
2019-02-04 17:12:08 [Test worker] INFO BaseSpockTest - *********Создаём документ
2019-02-04 17:12:08 [Test worker] DEBUG ApiConfig - *********LOADING FILE: CreateUniversalTransferDocumentWaybillUlRequest
2019-02-04 17:12:08 [Test worker] DEBUG ApiConfig - ************{"seller":2,"buyer":3,"name":"NAME_TEST","number":"NUMBER_TEST","date":"24.10.2018","shipment":{"operationInformation":"12321","shipmentDate":"24.10.2018","basis":{"title":"123","number":"12321","date":"24.10.2018"},"passedBy":{"employee":{"position":"312312","surname":"123","name":"12312","patronymic":"321"},"duty":"3123"},"transportation":{"transportationInformation":"12312","waybill":{"number":"123213","date":"24.10.2018"},"carrier":null},"contract":{"passingInformation":"12321","passingDate":null}},"table":{"goods":[{"title":"123","measurement":{"code":"109","title":"Ар (100 м2)"},"count":"1","price":"1","code":null,"costBeforeTax":"11","excise":"1","taxRate":"18","costAfterTax":"1.00","amountOfTax":"1","kind":null,"declaration":null,"infoFields":[{"attribute":"attribute1","value":"value1"},{"attribute":"attribute2","value":"value2"}]}],"totalAmountOfTax":"1.00","totalCostBeforeTax":"11.00","totalCostAfterTax":"1.00"},"invoice":{"infoFields":[{"attribute":"attribute1","value":"value1"},{"attribute":"attribute2","value":"value2"}],"consignee":null,"consignor":{"type":"UL","name":"ООО \"ДиТестМонтаж\"","kpp":"111111111","okpo":"3123213123","divisionName":null,"inn":"7813385180","address":{"russianAddress":{"regionCode":"26","postalCode":"123213","district":null,"city":null,"settlement":null,"street":null,"house":null,"building":null,"room":null},"location":null},"contact":null,"bankDetails":{"accountNumber":"11111111111111111111","bank":{"name":null,"bik":"046015933"}}},"currency":{"code":"643","title":"Российский рубль","exchangeRate":null},"govContractId":"312","payment":{"number":"123","date":"24.10.2018"}},"signor":{"type":"UL-signor","position":"Игнатьевич","companyName":"ООО \"ДиТестМонтаж\"","inn":"7813385180","additionalData":null,"surname":"Терентьев","name":"Павел","patronymic":null,"duty":5,"status":1}}
2019-02-04 17:12:08 [Test worker] INFO Commands - *********Шаг: Создаём документ: УПД с функцией ДОП для ЮЛ
2019-02-04 17:12:08 [Test worker] DEBUG Rest - *********REQUEST with token: POST "/service/document/create/universal_transfer_document_waybill":"{
"name": "NAME_TEST",
"shipment": {
"operationInformation": "12321",
"shipmentDate": "24.10.2018",
"basis": {
"title": "123",
"number": "12321",
"date": "24.10.2018"
},
"passedBy": {
"employee": {
"position": "312312",
"surname": "123",
"name": "12312",
"patronymic": "321"
},
"duty": "3123"
},
"transportation": {
"transportationInformation": "12312",
"waybill": {
"number": "123213",
"date": "24.10.2018"
},
"carrier": null
},
"contract": {
"passingInformation": "12321",
"passingDate": null
}
},
"seller": 18,
"buyer": 19,
"number": "2019-02-04 17:12:08.822",
"date": "24.10.2018",
"table": {
"goods": [
{
"title": "123",
"measurement": {
"code": "109",
"title": "Ар (100 м2)"
},
"count": "1",
"price": "1",
"code": null,
"costBeforeTax": "11",
"excise": "1",
"taxRate": "18",
"costAfterTax": "1.00",
"amountOfTax": "1",
"kind": null,
"declaration": null,
"infoFields": [
{
"attribute": "attribute1",
"value": "value1"
},
{
"attribute": "attribute2",
"value": "value2"
}
]
}
],
"totalAmountOfTax": "1.00",
"totalCostBeforeTax": "11.00",
"totalCostAfterTax": "1.00"
},
"invoice": {
"consignee": null,
"consignor": {
"type": "UL",
"address": {
"russianAddress": {
"regionCode": "26",
"postalCode": "123213",
"district": null,
"city": null,
"settlement": null,
"street": null,
"house": null,
"building": null,
"room": null
},
"location": null
},
"contact": null,
"bankDetails": {
"accountNumber": "11111111111111111111",
"bank": {
"name": null,
"bik": "046015933"
}
},
"okpo": "3123213123",
"inn": "7813385180",
"name": "ООО \"ДиТестМонтаж\"",
"kpp": "111111111",
"divisionName": null
},
"currency": {
"code": "643",
"title": "Российский рубль",
"exchangeRate": null
},
"govContractId": "312",
"payment": {
"number": "123",
"date": "24.10.2018"
},
"infoFields": [
{
"attribute": "attribute1",
"value": "value1"
},
{
"attribute": "attribute2",
"value": "value2"
}
]
},
"signor": {
"type": "UL-signor",
"surname": "Терентьев",
"name": "Павел",
"patronymic": null,
"additionalData": null,
"duty": 5,
"status": 1,
"position": "Игнатьевич",
"companyName": "ООО \"ДиТестМонтаж\"",
"inn": "7813385180"
}
}"
2019-02-04 17:12:09 [Test worker] DEBUG Rest - *********RESPONSE with token: 403 "{"success":false,"codeDescription":"\u0414\u043e\u0441\u0442\u0443\u043f \u0437\u0430\u043f\u0440\u0435\u0449\u0435\u043d","code":105}"
2019-02-04 17:12:09 [Test worker] DEBUG ResponseFactory - *********CREATING "JsonResponse<Object>" WITH BODY "{"success":false,"codeDescription":"\u0414\u043e\u0441\u0442\u0443\u043f \u0437\u0430\u043f\u0440\u0435\u0449\u0435\u043d","code":105}"
2019-02-04 17:12:09 [Test worker] DEBUG AbstractRequest - *********EXECUTE RESULT: {
"result": {
"success": false,
"codeDescription": "Доступ запрещен",
"code": 105
},
"statusCode": 403
}
2019-02-04 17:12:09 [Test worker] ERROR spock.LoggingListener - *********Ошибка в "generator.WaybillFlowUlGen:WaybillFlowUlGen:Вариант 1. Принятие документа с функцией ДОП для ЮЛ:Вариант 1. Принятие документа с функцией ДОП для ЮЛ" строка 36 : org.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot cast object '{
"result": {
"success": false,
"codeDescription": "Доступ запрещен",
"code": 105
},
"statusCode": 403
}' with class 'model.internal.JsonResponse' to class 'model.responses.service.document.create.CreateDocumentResponse'
2019-02-04 17:12:09 [Test worker] INFO spock.LoggingListener - *********Окончание итерации "generator.WaybillFlowUlGen:WaybillFlowUlGen:Вариант 1. Принятие документа с функцией ДОП для ЮЛ:Вариант 1. Принятие документа с функцией ДОП для ЮЛ"
2019-02-04 17:12:09 [Test worker] INFO spock.LoggingListener - ******Окончание фичи "generator.WaybillFlowUlGen:WaybillFlowUlGen:Вариант 1. Принятие документа с функцией ДОП для ЮЛ"
Executed test ==> generator.WaybillFlowUlGen.Вариант 1. Принятие документа с функцией ДОП для ЮЛ with result: FAILURE
generator.WaybillFlowUlGen > Вариант 1. Принятие документа с функцией ДОП для ЮЛ FAILED
Gradle Test Executor 4 finished executing tests.
> Task :test FAILED
org.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot cast object '{
"result": {
"success": false,
"codeDescription": "Доступ запрещен",
"code": 105
},
"statusCode": 403
}' with class 'model.internal.JsonResponse' to class 'model.responses.service.document.create.CreateDocumentResponse'
at generator.WaybillFlowUlGen.Вариант 1. Принятие документа с функцией ДОП для ЮЛ(WaybillFlowUlGen.groovy:40)
org.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot cast object '{
"result": {
"success": false,
"codeDescription": "Доступ запрещен",
"code": 105
},
"statusCode": 403
}' with class 'model.internal.JsonResponse' to class 'model.responses.service.document.create.CreateDocumentResponse'
at generator.WaybillFlowUlGen.Вариант 1. Принятие документа с функцией ДОП для ЮЛ(WaybillFlowUlGen.groovy:40)
org.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot cast object '{
"result": {
"success": false,
"codeDescription": "Доступ запрещен",
"code": 105
},
"statusCode": 403
}' with class 'model.internal.JsonResponse' to class 'model.responses.service.document.create.CreateDocumentResponse'
at generator.WaybillFlowUlGen.Вариант 1. Принятие документа с функцией ДОП для ЮЛ(WaybillFlowUlGen.groovy:40)
generator.WaybillFlowUlGen STANDARD_OUT
2019-02-04 17:12:09 [Test worker] INFO spock.LoggingListener - ***Окончание спеки "generator.WaybillFlowUlGen:WaybillFlowUlGen"
1 test completed, 1 failed
Finished generating test XML results (0.01 secs) into: /Users/alex/projects/api-edo-distate-autotests/build/test-results/test
Generating HTML test report...
Finished generating test html results (0.016 secs) into: /Users/alex/projects/api-edo-distate-autotests/build/reports/tests/test
:test (Thread[Execution worker for ':' Thread 2,5,main]) completed. Took 46.589 secs.
:api:compileTestJava (Thread[Execution worker for ':' Thread 2,5,main]) started.
> Task :api:compileTestJava NO-SOURCE
file or directory '/Users/alex/projects/api-edo-distate-autotests/api/src/test/java', not found
Skipping task ':api:compileTestJava' as it has no source files and no previous output files.
:api:compileTestJava (Thread[Execution worker for ':' Thread 2,5,main]) completed. Took 0.002 secs.
:api:compileTestGroovy (Thread[Execution worker for ':' Thread 2,5,main]) started.
> Task :api:compileTestGroovy NO-SOURCE
file or directory '/Users/alex/projects/api-edo-distate-autotests/api/src/test/groovy', not found
Skipping task ':api:compileTestGroovy' as it has no source files and no previous output files.
:api:compileTestGroovy (Thread[Execution worker for ':' Thread 2,5,main]) completed. Took 0.0 secs.
:api:processTestResources (Thread[Execution worker for ':' Thread 2,5,main]) started.
> Task :api:processTestResources NO-SOURCE
file or directory '/Users/alex/projects/api-edo-distate-autotests/api/src/test/resources', not found
Skipping task ':api:processTestResources' as it has no source files and no previous output files.
:api:processTestResources (Thread[Execution worker for ':' Thread 2,5,main]) completed. Took 0.0 secs.
:api:testClasses (Thread[Execution worker for ':' Thread 2,5,main]) started.
> Task :api:testClasses UP-TO-DATE
Skipping task ':api:testClasses' as it has no actions.
:api:testClasses (Thread[Execution worker for ':' Thread 2,5,main]) completed. Took 0.0 secs.
:api:test (Thread[Execution worker for ':' Thread 2,5,main]) started.
> Task :api:test NO-SOURCE
Skipping task ':api:test' as it has no source files and no previous output files.
:api:test (Thread[Execution worker for ':' Thread 2,5,main]) completed. Took 0.002 secs.
:model:compileTestJava (Thread[Execution worker for ':' Thread 2,5,main]) started.
> Task :model:compileTestJava NO-SOURCE
file or directory '/Users/alex/projects/api-edo-distate-autotests/model/src/test/java', not found
Skipping task ':model:compileTestJava' as it has no source files and no previous output files.
:model:compileTestJava (Thread[Execution worker for ':' Thread 2,5,main]) completed. Took 0.0 secs.
:model:compileTestGroovy (Thread[Execution worker for ':',5,main]) started.
> Task :model:compileTestGroovy NO-SOURCE
file or directory '/Users/alex/projects/api-edo-distate-autotests/model/src/test/groovy', not found
Skipping task ':model:compileTestGroovy' as it has no source files and no previous output files.
:model:compileTestGroovy (Thread[Execution worker for ':',5,main]) completed. Took 0.0 secs.
:model:processTestResources (Thread[Execution worker for ':',5,main]) started.
> Task :model:processTestResources NO-SOURCE
file or directory '/Users/alex/projects/api-edo-distate-autotests/model/src/test/resources', not found
Skipping task ':model:processTestResources' as it has no source files and no previous output files.
:model:processTestResources (Thread[Execution worker for ':',5,main]) completed. Took 0.0 secs.
:model:testClasses (Thread[Execution worker for ':',5,main]) started.
> Task :model:testClasses UP-TO-DATE
Skipping task ':model:testClasses' as it has no actions.
:model:testClasses (Thread[Execution worker for ':',5,main]) completed. Took 0.0 secs.
:model:test (Thread[Execution worker for ':',5,main]) started.
> Task :model:test NO-SOURCE
Skipping task ':model:test' as it has no source files and no previous output files.
:model:test (Thread[Execution worker for ':',5,main]) completed. Took 0.0 secs.
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':test'.
> There were failing tests. See the report at: file:///Users/alex/projects/api-edo-distate-autotests/build/reports/tests/test/index.html
* Try:
Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 55s
12 actionable tasks: 12 executed
Stopped 1 worker daemon(s).
macs-MacBook-Air:api-edo-distate-autotests alex$ ./gradlew clean test --tests generator.WaybillFlowUlGen --info
Initialized native services in: /Users/alex/.gradle/native
Found daemon DaemonInfo{pid=70510, address=[49d395ff-043b-4be2-b0fb-1a6cea8f2ffd port:51957, addresses:[/0:0:0:0:0:0:0:1, /127.0.0.1]], state=Idle, lastBusy=1549289854594, context=DefaultDaemonContext[uid=b791c722-fd2b-4a17-86d2-7bde91648649,javaHome=/Library/Java/JavaVirtualMachines/openjdk-11.0.2.jdk/Contents/Home,daemonRegistryDir=/Users/alex/.gradle/daemon,pid=70510,idleTimeout=10800000,priority=NORMAL,daemonOpts=--add-opens,java.base/java.util=ALL-UNNAMED,--add-opens,java.base/java.lang=ALL-UNNAMED,--add-opens,java.base/java.lang.invoke=ALL-UNNAMED,--add-opens,java.prefs/java.util.prefs=ALL-UNNAMED,-XX:MaxMetaspaceSize=256m,-XX:+HeapDumpOnOutOfMemoryError,-Xmx512m,-Dfile.encoding=UTF-8,-Duser.country=RU,-Duser.language=en,-Duser.variant]} however its context does not match the desired criteria.
Java home is different.
Wanted: DefaultDaemonContext[uid=null,javaHome=/Library/Java/JavaVirtualMachines/jdk1.8.0_201.jdk/Contents/Home,daemonRegistryDir=/Users/alex/.gradle/daemon,pid=76663,idleTimeout=null,priority=NORMAL,daemonOpts=-XX:MaxMetaspaceSize=256m,-XX:+HeapDumpOnOutOfMemoryError,-Xmx512m,-Dfile.encoding=UTF-8,-Duser.country=RU,-Duser.language=en,-Duser.variant]
Actual: DefaultDaemonContext[uid=b791c722-fd2b-4a17-86d2-7bde91648649,javaHome=/Library/Java/JavaVirtualMachines/openjdk-11.0.2.jdk/Contents/Home,daemonRegistryDir=/Users/alex/.gradle/daemon,pid=70510,idleTimeout=10800000,priority=NORMAL,daemonOpts=--add-opens,java.base/java.util=ALL-UNNAMED,--add-opens,java.base/java.lang=ALL-UNNAMED,--add-opens,java.base/java.lang.invoke=ALL-UNNAMED,--add-opens,java.prefs/java.util.prefs=ALL-UNNAMED,-XX:MaxMetaspaceSize=256m,-XX:+HeapDumpOnOutOfMemoryError,-Xmx512m,-Dfile.encoding=UTF-8,-Duser.country=RU,-Duser.language=en,-Duser.variant]
Looking for a different daemon...
Found daemon DaemonInfo{pid=12882, address=[65868b6b-45e3-47c2-9759-a8bb7a244e5f port:60563, addresses:[/0:0:0:0:0:0:0:1, /127.0.0.1]], state=Idle, lastBusy=1549286363719, context=DefaultDaemonContext[uid=a3dd053f-dcc0-4949-be5b-824bcfaf1c72,javaHome=/Library/Java/JavaVirtualMachines/jdk-11.0.1.jdk/Contents/Home,daemonRegistryDir=/Users/alex/.gradle/daemon,pid=12882,idleTimeout=10800000,priority=NORMAL,daemonOpts=--add-opens,java.base/java.util=ALL-UNNAMED,--add-opens,java.base/java.lang=ALL-UNNAMED,--add-opens,java.base/java.lang.invoke=ALL-UNNAMED,--add-opens,java.prefs/java.util.prefs=ALL-UNNAMED,-XX:MaxMetaspaceSize=256m,-XX:+HeapDumpOnOutOfMemoryError,-Xmx512m,-Dfile.encoding=UTF-8,-Duser.country=RU,-Duser.language=en,-Duser.variant]} however its context does not match the desired criteria.
Java home is different.
Wanted: DefaultDaemonContext[uid=null,javaHome=/Library/Java/JavaVirtualMachines/jdk1.8.0_201.jdk/Contents/Home,daemonRegistryDir=/Users/alex/.gradle/daemon,pid=76663,idleTimeout=null,priority=NORMAL,daemonOpts=-XX:MaxMetaspaceSize=256m,-XX:+HeapDumpOnOutOfMemoryError,-Xmx512m,-Dfile.encoding=UTF-8,-Duser.country=RU,-Duser.language=en,-Duser.variant]
Actual: DefaultDaemonContext[uid=a3dd053f-dcc0-4949-be5b-824bcfaf1c72,javaHome=/Library/Java/JavaVirtualMachines/jdk-11.0.1.jdk/Contents/Home,daemonRegistryDir=/Users/alex/.gradle/daemon,pid=12882,idleTimeout=10800000,priority=NORMAL,daemonOpts=--add-opens,java.base/java.util=ALL-UNNAMED,--add-opens,java.base/java.lang=ALL-UNNAMED,--add-opens,java.base/java.lang.invoke=ALL-UNNAMED,--add-opens,java.prefs/java.util.prefs=ALL-UNNAMED,-XX:MaxMetaspaceSize=256m,-XX:+HeapDumpOnOutOfMemoryError,-Xmx512m,-Dfile.encoding=UTF-8,-Duser.country=RU,-Duser.language=en,-Duser.variant]
Looking for a different daemon...
The client will now receive all logging from the daemon (pid: 75709). The daemon log file: /Users/alex/.gradle/daemon/5.0/daemon-75709.out.log
Starting 6th build in daemon [uptime: 25 mins 20.055 secs, performance: 100%, no major garbage collections]
Using 4 worker leases.
Starting Build
Settings evaluated using settings file '/Users/alex/projects/api-edo-distate-autotests/settings.gradle'.
Projects loaded. Root project using build file '/Users/alex/projects/api-edo-distate-autotests/build.gradle'.
Included projects: [root project 'api-edo-distate-autotests', project ':api', project ':model']
> Configure project :api
Evaluating project ':api' using build file '/Users/alex/projects/api-edo-distate-autotests/api/build.gradle'.
> Configure project :model
Evaluating project ':model' using build file '/Users/alex/projects/api-edo-distate-autotests/model/build.gradle'.
> Configure project :
Evaluating root project 'api-edo-distate-autotests' using build file '/Users/alex/projects/api-edo-distate-autotests/build.gradle'.
Автотесты
All projects evaluated.
Selected primary task 'clean' from project :
Selected primary task 'test' from project :
Tasks to be executed: [task ':clean', task ':api:clean', task ':model:clean', task ':api:compileJava', task ':api:compileGroovy', task ':api:processResources', task ':api:classes', task ':api:jar', task ':model:compileJava', task ':model:compileGroovy', task ':model:processResources', task ':model:classes', task ':model:jar', task ':compileJava', task ':compileGroovy', task ':processResources', task ':classes', task ':compileTestJava', task ':compileTestGroovy', task ':processTestResources', task ':testClasses', task ':test', task ':api:compileTestJava', task ':api:compileTestGroovy', task ':api:processTestResources', task ':api:testClasses', task ':api:test', task ':model:compileTestJava', task ':model:compileTestGroovy', task ':model:processTestResources', task ':model:testClasses', task ':model:test']
:clean (Thread[Execution worker for ':',5,main]) started.
> Task :clean
Task ':clean' is not up-to-date because:
Task has not declared any outputs despite executing actions.
:clean (Thread[Execution worker for ':',5,main]) completed. Took 0.04 secs.
:api:clean (Thread[Execution worker for ':',5,main]) started.
> Task :api:clean
Task ':api:clean' is not up-to-date because:
Task has not declared any outputs despite executing actions.
:api:clean (Thread[Execution worker for ':',5,main]) completed. Took 0.011 secs.
:model:clean (Thread[Execution worker for ':',5,main]) started.
> Task :model:clean
Task ':model:clean' is not up-to-date because:
Task has not declared any outputs despite executing actions.
:model:clean (Thread[Execution worker for ':',5,main]) completed. Took 0.032 secs.
:api:compileJava (Thread[Execution worker for ':',5,main]) started.
> Task :api:compileJava NO-SOURCE
file or directory '/Users/alex/projects/api-edo-distate-autotests/api/src/main/java', not found
Skipping task ':api:compileJava' as it has no source files and no previous output files.
:api:compileJava (Thread[Execution worker for ':',5,main]) completed. Took 0.001 secs.
:api:compileGroovy (Thread[Execution worker for ':',5,main]) started.
This JVM does not support getting OS memory, so no OS memory status updates will be broadcast
Initialized native services in: /Users/alex/.gradle/native
> Task :api:compileGroovy
Task ':api:compileGroovy' is not up-to-date because:
Output property 'destinationDir' file /Users/alex/projects/api-edo-distate-autotests/api/build/classes/groovy/main has been removed.
Output property 'destinationDir' file /Users/alex/projects/api-edo-distate-autotests/api/build/classes/groovy/main/config has been removed.
Output property 'destinationDir' file /Users/alex/projects/api-edo-distate-autotests/api/build/classes/groovy/main/config/ApiConfig$_getListOfFiles_closure1.class has been removed.
Starting process 'Gradle Worker Daemon 11'. Working directory: /Users/alex/.gradle/workers Command: /Library/Java/JavaVirtualMachines/jdk1.8.0_201.jdk/Contents/Home/bin/java -Djava.security.manager=worker.org.gradle.process.internal.worker.child.BootstrapSecurityManager -Xmx512m -Dfile.encoding=UTF-8 -Duser.country=RU -Duser.language=en -Duser.variant -cp /Users/alex/.gradle/caches/5.0/workerMain/gradle-worker.jar worker.org.gradle.process.internal.worker.GradleWorkerMain 'Gradle Worker Daemon 11'
Successfully started process 'Gradle Worker Daemon 11'
Started Gradle worker daemon (0.845 secs) with fork options DaemonForkOptions{executable=/Library/Java/JavaVirtualMachines/jdk1.8.0_201.jdk/Contents/Home/bin/java, minHeapSize=null, maxHeapSize=null, jvmArgs=[], classpath=[/Users/alex/.gradle/caches/modules-2/files-2.1/org.codehaus.groovy/groovy-all/2.4.16/aa30a6479a3f6efc2ba8cd810cc2caf22a613b19/groovy-all-2.4.16.jar, /Users/alex/.gradle/wrapper/dists/gradle-5.0-bin/pu5208521seraqlersebvqk/gradle-5.0/lib/ant-1.9.13.jar, /Users/alex/.gradle/wrapper/dists/gradle-5.0-bin/pu5208521seraqlersebvqk/gradle-5.0/lib/ant-launcher-1.9.13.jar], keepAliveMode=SESSION}.
:api:compileGroovy (Thread[Execution worker for ':',5,main]) completed. Took 3.43 secs.
:api:processResources (Thread[Execution worker for ':',5,main]) started.
> Task :api:processResources
Task ':api:processResources' is not up-to-date because:
Output property 'destinationDir' file /Users/alex/projects/api-edo-distate-autotests/api/build/resources/main has been removed.
Output property 'destinationDir' file /Users/alex/projects/api-edo-distate-autotests/api/build/resources/main/META-INF has been removed.
Output property 'destinationDir' file /Users/alex/projects/api-edo-distate-autotests/api/build/resources/main/META-INF/services has been removed.
:api:processResources (Thread[Execution worker for ':',5,main]) completed. Took 0.008 secs.
:api:classes (Thread[Execution worker for ':',5,main]) started.
> Task :api:classes
Skipping task ':api:classes' as it has no actions.
:api:classes (Thread[Execution worker for ':',5,main]) completed. Took 0.0 secs.
:api:jar (Thread[Execution worker for ':',5,main]) started.
> Task :api:jar
Task ':api:jar' is not up-to-date because:
Output property 'archivePath' file /Users/alex/projects/api-edo-distate-autotests/api/build/libs/api-1.0-SNAPSHOT.jar has been removed.
:api:jar (Thread[Execution worker for ':',5,main]) completed. Took 0.035 secs.
:model:compileJava (Thread[Execution worker for ':',5,main]) started.
> Task :model:compileJava NO-SOURCE
file or directory '/Users/alex/projects/api-edo-distate-autotests/model/src/main/java', not found
Skipping task ':model:compileJava' as it has no source files and no previous output files.
:model:compileJava (Thread[Execution worker for ':',5,main]) completed. Took 0.0 secs.
:model:compileGroovy (Thread[Daemon worker Thread 5,5,main]) started.
> Task :model:compileGroovy
Task ':model:compileGroovy' is not up-to-date because:
Output property 'destinationDir' file /Users/alex/projects/api-edo-distate-autotests/model/build/classes/groovy/main has been removed.
Output property 'destinationDir' file /Users/alex/projects/api-edo-distate-autotests/model/build/classes/groovy/main/config has been removed.
Output property 'destinationDir' file /Users/alex/projects/api-edo-distate-autotests/model/build/classes/groovy/main/config/StaticFixtures.class has been removed.
:model:compileGroovy (Thread[Daemon worker Thread 5,5,main]) completed. Took 1.515 secs.
:model:processResources (Thread[Daemon worker Thread 5,5,main]) started.
> Task :model:processResources
Task ':model:processResources' is not up-to-date because:
Output property 'destinationDir' file /Users/alex/projects/api-edo-distate-autotests/model/build/resources/main has been removed.
Output property 'destinationDir' file /Users/alex/projects/api-edo-distate-autotests/model/build/resources/main/META-INF has been removed.
Output property 'destinationDir' file /Users/alex/projects/api-edo-distate-autotests/model/build/resources/main/META-INF/services has been removed.
:model:processResources (Thread[Daemon worker Thread 5,5,main]) completed. Took 0.016 secs.
:model:classes (Thread[Daemon worker Thread 5,5,main]) started.
> Task :model:classes
Skipping task ':model:classes' as it has no actions.
:model:classes (Thread[Daemon worker Thread 5,5,main]) completed. Took 0.0 secs.
:model:jar (Thread[Daemon worker Thread 5,5,main]) started.
> Task :model:jar
Task ':model:jar' is not up-to-date because:
Output property 'archivePath' file /Users/alex/projects/api-edo-distate-autotests/model/build/libs/model-1.0-SNAPSHOT.jar has been removed.
:model:jar (Thread[Daemon worker Thread 5,5,main]) completed. Took 0.09 secs.
:compileJava (Thread[Execution worker for ':',5,main]) started.
> Task :compileJava NO-SOURCE
file or directory '/Users/alex/projects/api-edo-distate-autotests/src/main/java', not found
Skipping task ':compileJava' as it has no source files and no previous output files.
:compileJava (Thread[Execution worker for ':',5,main]) completed. Took 0.001 secs.
:compileGroovy (Thread[Execution worker for ':',5,main]) started.
> Task :compileGroovy NO-SOURCE
file or directory '/Users/alex/projects/api-edo-distate-autotests/src/main/groovy', not found
Skipping task ':compileGroovy' as it has no source files and no previous output files.
:compileGroovy (Thread[Execution worker for ':',5,main]) completed. Took 0.0 secs.
:processResources (Thread[Execution worker for ':',5,main]) started.
> Task :processResources NO-SOURCE
file or directory '/Users/alex/projects/api-edo-distate-autotests/src/main/resources', not found
Skipping task ':processResources' as it has no source files and no previous output files.
:processResources (Thread[Execution worker for ':',5,main]) completed. Took 0.0 secs.
:classes (Thread[Execution worker for ':',5,main]) started.
> Task :classes UP-TO-DATE
Skipping task ':classes' as it has no actions.
:classes (Thread[Execution worker for ':',5,main]) completed. Took 0.0 secs.
:compileTestJava (Thread[Execution worker for ':',5,main]) started.
> Task :compileTestJava NO-SOURCE
file or directory '/Users/alex/projects/api-edo-distate-autotests/src/test/java', not found
Skipping task ':compileTestJava' as it has no source files and no previous output files.
:compileTestJava (Thread[Execution worker for ':',5,main]) completed. Took 0.0 secs.
:compileTestGroovy (Thread[Execution worker for ':',5,main]) started.
> Task :compileTestGroovy
Task ':compileTestGroovy' is not up-to-date because:
Output property 'destinationDir' file /Users/alex/projects/api-edo-distate-autotests/build/classes/groovy/test has been removed.
Output property 'destinationDir' file /Users/alex/projects/api-edo-distate-autotests/build/classes/groovy/test/apiBackend has been removed.
Output property 'destinationDir' file /Users/alex/projects/api-edo-distate-autotests/build/classes/groovy/test/apiBackend/current has been removed.
:compileTestGroovy (Thread[Execution worker for ':',5,main]) completed. Took 2.177 secs.
:processTestResources (Thread[Execution worker for ':',5,main]) started.
> Task :processTestResources
Task ':processTestResources' is not up-to-date because:
Output property 'destinationDir' file /Users/alex/projects/api-edo-distate-autotests/build/resources/test has been removed.
Output property 'destinationDir' file /Users/alex/projects/api-edo-distate-autotests/build/resources/test/allure.properties has been removed.
Output property 'destinationDir' file /Users/alex/projects/api-edo-distate-autotests/build/resources/test/logback.xml has been removed.
:processTestResources (Thread[Execution worker for ':',5,main]) completed. Took 0.005 secs.
:testClasses (Thread[Execution worker for ':',5,main]) started.
> Task :testClasses
Skipping task ':testClasses' as it has no actions.
:testClasses (Thread[Execution worker for ':',5,main]) completed. Took 0.0 secs.
:test (Thread[Execution worker for ':',5,main]) started.
Gradle Test Executor 12 started executing tests.
> Task :test
Task ':test' is not up-to-date because:
Task has failed previously.
Starting process 'Gradle Test Executor 12'. Working directory: /Users/alex/projects/api-edo-distate-autotests Command: /Library/Java/JavaVirtualMachines/jdk1.8.0_201.jdk/Contents/Home/bin/java -Dallure.results.directory=/Users/alex/projects/api-edo-distate-autotests/build/allure-results -Djava.security.manager=worker.org.gradle.process.internal.worker.child.BootstrapSecurityManager -Dorg.gradle.native=false -javaagent:/Users/alex/.gradle/caches/modules-2/files-2.1/org.aspectj/aspectjweaver/1.8.10/e198c5fee28988c355f74e06461614eae36b2032/aspectjweaver-1.8.10.jar -javaagent:/Users/alex/.gradle/caches/modules-2/files-2.1/org.aspectj/aspectjweaver/1.8.10/e198c5fee28988c355f74e06461614eae36b2032/aspectjweaver-1.8.10.jar -Xmx512m -Dfile.encoding=UTF-8 -Duser.country=RU -Duser.language=en -Duser.variant -ea -cp /Users/alex/.gradle/caches/5.0/workerMain/gradle-worker.jar worker.org.gradle.process.internal.worker.GradleWorkerMain 'Gradle Test Executor 12'
Successfully started process 'Gradle Test Executor 12'
generator.WaybillFlowUlGen STANDARD_OUT
17:27:07,809 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback-test.xml]
17:27:07,809 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback.groovy]
17:27:07,809 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [logback.xml] at [file:/Users/alex/projects/api-edo-distate-autotests/build/resources/test/logback.xml]
17:27:07,949 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - debug attribute not set
17:27:07,965 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]
17:27:07,975 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [STDOUT]
17:27:07,994 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
17:27:08,089 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.rolling.RollingFileAppender]
17:27:08,101 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [FILE-AUDIT]
17:27:08,104 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
17:27:08,133 |-INFO in c.q.l.core.rolling.TimeBasedRollingPolicy@437064943 - No compression will be used
17:27:08,136 |-INFO in c.q.l.core.rolling.TimeBasedRollingPolicy@437064943 - Will use the pattern logsScrapyard/archived/debug.%d{yyyy-MM-dd}.%i.log for the active file
17:27:08,142 |-INFO in ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP@fa53170 - The date pattern is 'yyyy-MM-dd' from file name pattern 'logsScrapyard/archived/debug.%d{yyyy-MM-dd}.%i.log'.
17:27:08,142 |-INFO in ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP@fa53170 - Roll-over at midnight.
17:27:08,148 |-INFO in ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP@fa53170 - Setting initial period to Mon Feb 04 17:25:38 MSK 2019
17:27:08,150 |-WARN in ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP@fa53170 - SizeAndTimeBasedFNATP is deprecated. Use SizeAndTimeBasedRollingPolicy instead
17:27:08,150 |-WARN in ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP@fa53170 - For more information see http://logback.qos.ch/manual/appenders.html#SizeAndTimeBasedRollingPolicy
17:27:08,156 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[FILE-AUDIT] - Active log file name: logsScrapyard/debug.log
17:27:08,156 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[FILE-AUDIT] - File property is set to [logsScrapyard/debug.log]
17:27:08,158 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.rolling.RollingFileAppender]
17:27:08,158 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [FILE-ERROR]
17:27:08,159 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
17:27:08,161 |-INFO in c.q.l.core.rolling.TimeBasedRollingPolicy@178209957 - No compression will be used
17:27:08,161 |-INFO in c.q.l.core.rolling.TimeBasedRollingPolicy@178209957 - Will use the pattern logsScrapyard/archived/error.%d{yyyy-MM-dd}.%i.log for the active file
17:27:08,162 |-INFO in ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP@3d80df79 - The date pattern is 'yyyy-MM-dd' from file name pattern 'logsScrapyard/archived/error.%d{yyyy-MM-dd}.%i.log'.
17:27:08,162 |-INFO in ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP@3d80df79 - Roll-over at midnight.
17:27:08,163 |-INFO in ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP@3d80df79 - Setting initial period to Mon Feb 04 17:25:38 MSK 2019
17:27:08,163 |-WARN in ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP@3d80df79 - SizeAndTimeBasedFNATP is deprecated. Use SizeAndTimeBasedRollingPolicy instead
17:27:08,163 |-WARN in ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP@3d80df79 - For more information see http://logback.qos.ch/manual/appenders.html#SizeAndTimeBasedRollingPolicy
17:27:08,163 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[FILE-ERROR] - Active log file name: logsScrapyard/error.log
17:27:08,163 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[FILE-ERROR] - File property is set to [logsScrapyard/error.log]
17:27:08,163 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [de.huxhorn.lilith.logback.appender.ClassicMultiplexSocketAppender]
17:27:08,200 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [multiplex]
17:27:08,222 |-INFO in de.huxhorn.lilith.logback.appender.ClassicMultiplexSocketAppender[multiplex] - Waiting 1s to establish connections.
17:27:09,227 |-INFO in de.huxhorn.lilith.logback.appender.ClassicMultiplexSocketAppender[multiplex] - Started de.huxhorn.lilith.logback.appender.ClassicMultiplexSocketAppender[multiplex]
17:27:09,227 |-INFO in ch.qos.logback.classic.joran.action.RootLoggerAction - Setting level of ROOT logger to DEBUG
17:27:09,227 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [STDOUT] to Logger[ROOT]
17:27:09,229 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [FILE-ERROR] to Logger[ROOT]
17:27:09,229 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [FILE-AUDIT] to Logger[ROOT]
17:27:09,229 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [multiplex] to Logger[ROOT]
17:27:09,230 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org] to OFF
17:27:09,230 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [io] to OFF
17:27:09,230 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - End of configuration.
17:27:09,231 |-INFO in ch.qos.logback.classic.joran.JoranConfigurator@4fd81e4a - Registering current configuration as safe fallback point
2019-02-04 17:27:10 [Test worker] DEBUG ApiConfig - LOADING FILE: ConnectSettings
2019-02-04 17:27:10 [Test worker] DEBUG ApiConfig - ***{"host":"diflow6.local","port":80,"ssl":false,"application":"api"}
2019-02-04 17:27:10 [Test worker] DEBUG ApiConfig - LOADING FILE: ApiSettings
2019-02-04 17:27:10 [Test worker] DEBUG ApiConfig - ***{"comparisonMethod":"matches"}
2019-02-04 17:27:10 [Test worker] DEBUG ApiConfig - LOADING FILE: CrypTcpSettings
2019-02-04 17:27:10 [Test worker] DEBUG ApiConfig - ***{"crypTcpCommandWindows":"cmd /c exec\\cryptcp.x64.exe -sign -dn stas","crypTcpCommandLinux":"/opt/cprocsp/bin/cryptcp -sign -dn OGRN=1127747209031 -nochain "}
2019-02-04 17:27:11 [Test worker] INFO spock.LoggingListener - Запуск спеки "generator.WaybillFlowUlGen:WaybillFlowUlGen"
2019-02-04 17:27:11 [Test worker] INFO AllureEnviromentHelper - ***1. Start writing properties to Property file
2019-02-04 17:27:11 [Test worker] INFO AllureEnviromentHelper - ***2. Writing properties to Property file : {Author e-mail=stas.seredkin@distate.ru, Java version=25.201-b09, OS=Mac OS X}
2019-02-04 17:27:11 [Test worker] INFO AllureEnviromentHelper - ***3. Successfully written properties to file = %s
2019-02-04 17:27:11 [Test worker] INFO spock.LoggingListener - ***Запуск фичи "generator.WaybillFlowUlGen:WaybillFlowUlGen:Вариант 1. Принятие документа с функцией ДОП для ЮЛ"
generator.WaybillFlowUlGen > Вариант 1. Принятие документа с функцией ДОП для ЮЛ STANDARD_OUT
2019-02-04 17:27:11 [Test worker] INFO spock.LoggingListener - ******Запуск итерации "generator.WaybillFlowUlGen:WaybillFlowUlGen:Вариант 1. Принятие документа с функцией ДОП для ЮЛ:Вариант 1. Принятие документа с функцией ДОП для ЮЛ"
2019-02-04 17:27:11 [Test worker] DEBUG ApiConfig - *********LOADING FILE: TestData
2019-02-04 17:27:11 [Test worker] DEBUG ApiConfig - ************{"email":"ololo@roskomnadzor.govno","password":"q1w2e3r4t5","wrongEmail":"22stas.seredkin@distate.ru","wrongPassword":"1123QWqw1234","email2":"ololo1@ya.ru","password2":"q1w2e3r4t5","signature":"bla-bla-bla"}
2019-02-04 17:27:12 [Test worker] INFO Commands - *********Шаг: Получаем токен для пользователя с email:ololo@roskomnadzor.govno, и паролем:q1w2e3r4t5
2019-02-04 17:27:12 [Test worker] DEBUG Rest - *********REQUEST: POST "/security/token":"{
"email": "ololo@roskomnadzor.govno",
"password": "q1w2e3r4t5"
}"
2019-02-04 17:27:23 [Test worker] DEBUG Rest - *********RESPONSE: 200 "{"success":true,"token":{"value":"94279369ce5f11e9aaa610963edf5074","expireAt":"2019-04-02UTC14:27:24"}}"
2019-02-04 17:27:23 [Test worker] DEBUG ResponseFactory - *********CREATING "TokenResponse<Object>" WITH BODY "{"success":true,"token":{"value":"94279369ce5f11e9aaa610963edf5074","expireAt":"2019-04-02UTC14:27:24"}}"
2019-02-04 17:27:23 [Test worker] DEBUG AbstractRequest - *********EXECUTE RESULT: {
"success": true,
"token": {
"value": "94279369ce5f11e9aaa610963edf5074",
"expireAt": "2019-04-02UTC14:27:24"
},
"statusCode": 200
}
2019-02-04 17:27:23 [Test worker] INFO Commands - *********Шаг: Получаем информацию по текущему пользователю
2019-02-04 17:27:23 [Test worker] DEBUG Rest - *********REQUEST with token: GET "/current/user":"{}"
2019-02-04 17:27:24 [Test worker] DEBUG Rest - *********RESPONSE with token: 403 "{"success":false,"codeDescription":"\u0414\u043e\u0441\u0442\u0443\u043f \u0437\u0430\u043f\u0440\u0435\u0449\u0435\u043d","code":105}"
2019-02-04 17:27:24 [Test worker] DEBUG ResponseFactory - *********CREATING "JsonResponse<Object>" WITH BODY "{"success":false,"codeDescription":"\u0414\u043e\u0441\u0442\u0443\u043f \u0437\u0430\u043f\u0440\u0435\u0449\u0435\u043d","code":105}"
2019-02-04 17:27:24 [Test worker] DEBUG AbstractRequest - *********EXECUTE RESULT: {
"result": {
"success": false,
"codeDescription": "Доступ запрещен",
"code": 105
},
"statusCode": 403
}
2019-02-04 17:27:24 [Test worker] ERROR spock.LoggingListener - *********Ошибка в "generator.WaybillFlowUlGen:WaybillFlowUlGen:Вариант 1. Принятие документа с функцией ДОП для ЮЛ:setup" строка -1 : org.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot cast object '{
"result": {
"success": false,
"codeDescription": "Доступ запрещен",
"code": 105
},
"statusCode": 403
}' with class 'model.internal.JsonResponse' to class 'model.responses.current.UserResponse'
2019-02-04 17:27:24 [Test worker] INFO spock.LoggingListener - *********Окончание итерации "generator.WaybillFlowUlGen:WaybillFlowUlGen:Вариант 1. Принятие документа с функцией ДОП для ЮЛ:Вариант 1. Принятие документа с функцией ДОП для ЮЛ"
2019-02-04 17:27:24 [Test worker] INFO spock.LoggingListener - ******Запуск итерации "generator.WaybillFlowUlGen:WaybillFlowUlGen:Вариант 1. Принятие документа с функцией ДОП для ЮЛ:Вариант 1. Принятие документа с функцией ДОП для ЮЛ"
2019-02-04 17:27:24 [Test worker] INFO Commands - *********Шаг: Получаем токен для пользователя с email:ololo@roskomnadzor.govno, и паролем:q1w2e3r4t5
2019-02-04 17:27:24 [Test worker] DEBUG Rest - *********REQUEST: POST "/security/token":"{
"email": "ololo@roskomnadzor.govno",
"password": "q1w2e3r4t5"
}"
2019-02-04 17:27:27 [Test worker] DEBUG Rest - *********RESPONSE: 200 "{"success":true,"token":{"value":"b60506dbfb2cc943aa0dc4e43e77819c","expireAt":"2019-04-02UTC14:27:29"}}"
2019-02-04 17:27:27 [Test worker] DEBUG ResponseFactory - *********CREATING "TokenResponse<Object>" WITH BODY "{"success":true,"token":{"value":"b60506dbfb2cc943aa0dc4e43e77819c","expireAt":"2019-04-02UTC14:27:29"}}"
2019-02-04 17:27:27 [Test worker] DEBUG AbstractRequest - *********EXECUTE RESULT: {
"success": true,
"token": {
"value": "b60506dbfb2cc943aa0dc4e43e77819c",
"expireAt": "2019-04-02UTC14:27:29"
},
"statusCode": 200
}
2019-02-04 17:27:27 [Test worker] INFO Commands - *********Шаг: Получаем информацию по текущему пользователю
2019-02-04 17:27:27 [Test worker] DEBUG Rest - *********REQUEST with token: GET "/current/user":"{}"
2019-02-04 17:27:29 [Test worker] DEBUG Rest - *********RESPONSE with token: 200 "{"employee":{"email":"ololo@roskomnadzor.govno","position":"\u0446\u0430\u0440\u044c","defaultDivision":{"title":"\u041e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u043e\u0444\u0438\u0441","kpp":"012312312","address":{"country":{"code":"643","title":"\u0420\u043e\u0441\u0441\u0438\u044f"},"region":{"code":"04","title":"\u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0438\u043a\u0430 \u0410\u043b\u0442\u0430\u0439"},"postalCode":"111111","district":"\u0420\u0430\u0439\u043e\u043d1234","city":"\u0421\u0430\u043d\u043a\u0442-\u041f\u0435\u0442\u0435\u0440\u0431\u0443\u0440\u0433","settlement":"\u041d\u0430\u0441\u0435\u043b\u0451\u043d\u043d\u044b\u0439 \u043f\u0443\u043d\u043a\u0442","street":"\u041d\u043e\u0432\u043e\u0440\u043e\u0449\u0438\u043d\u0441\u043a\u0430\u044f","house":"12699","building":"914","room":"123"},"classificationNumber":"3333333333","id":18}},"person":{"socialNumber":null,"surname":"\u0413\u0440\u043e\u0437\u043d\u044b\u0439","name":"\u0418\u0432\u0430\u043d","patronymic":"\u0412\u0430\u0441\u0438\u043b\u044c\u0435\u0432\u0438\u0447"},"company":{"name":"\u041e\u041e\u041e \"\u0424\u0440\u043e\u043d\u0442-\u0415\u043d\u0434 \u0422\u0435\u0441\u0442\"","taxAuthority":{"code":"0521","title":"\u041c\u0435\u0436\u0440\u0430\u0439\u043e\u043d\u043d\u0430\u044f \u0438\u043d\u0441\u043f\u0435\u043a\u0446\u0438\u044f \u0424\u041d\u0421 \u0420\u043e\u0441\u0441\u0438\u0438 \u2116 9 \u043f\u043e \u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0438\u043a\u0435 \u0414\u0430\u0433\u0435\u0441\u0442\u0430\u043d"},"accountNumber":"11111111111111111112","inn":"9987109031","bik":"044030761","ogrn":"1127747209031","infsoobBeenSent":true,"type":{"title":"\u042e\u041b","systemName":"UL"},"division":{"title":"\u041e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u043e\u0444\u0438\u0441","kpp":"012312312","address":{"country":{"code":"643","title":"\u0420\u043e\u0441\u0441\u0438\u044f"},"region":{"code":"04","title":"\u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0438\u043a\u0430 \u0410\u043b\u0442\u0430\u0439"},"postalCode":"111111","district":"\u0420\u0430\u0439\u043e\u043d1234","city":"\u0421\u0430\u043d\u043a\u0442-\u041f\u0435\u0442\u0435\u0440\u0431\u0443\u0440\u0433","settlement":"\u041d\u0430\u0441\u0435\u043b\u0451\u043d\u043d\u044b\u0439 \u043f\u0443\u043d\u043a\u0442","street":"\u041d\u043e\u0432\u043e\u0440\u043e\u0449\u0438\u043d\u0441\u043a\u0430\u044f","house":"12699","building":"914","room":"123"},"classificationNumber":"3333333333","id":18}},"certificate":null}"
2019-02-04 17:27:29 [Test worker] DEBUG ResponseFactory - *********CREATING "UserResponse<Object>" WITH BODY "{"employee":{"email":"ololo@roskomnadzor.govno","position":"\u0446\u0430\u0440\u044c","defaultDivision":{"title":"\u041e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u043e\u0444\u0438\u0441","kpp":"012312312","address":{"country":{"code":"643","title":"\u0420\u043e\u0441\u0441\u0438\u044f"},"region":{"code":"04","title":"\u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0438\u043a\u0430 \u0410\u043b\u0442\u0430\u0439"},"postalCode":"111111","district":"\u0420\u0430\u0439\u043e\u043d1234","city":"\u0421\u0430\u043d\u043a\u0442-\u041f\u0435\u0442\u0435\u0440\u0431\u0443\u0440\u0433","settlement":"\u041d\u0430\u0441\u0435\u043b\u0451\u043d\u043d\u044b\u0439 \u043f\u0443\u043d\u043a\u0442","street":"\u041d\u043e\u0432\u043e\u0440\u043e\u0449\u0438\u043d\u0441\u043a\u0430\u044f","house":"12699","building":"914","room":"123"},"classificationNumber":"3333333333","id":18}},"person":{"socialNumber":null,"surname":"\u0413\u0440\u043e\u0437\u043d\u044b\u0439","name":"\u0418\u0432\u0430\u043d","patronymic":"\u0412\u0430\u0441\u0438\u043b\u044c\u0435\u0432\u0438\u0447"},"company":{"name":"\u041e\u041e\u041e \"\u0424\u0440\u043e\u043d\u0442-\u0415\u043d\u0434 \u0422\u0435\u0441\u0442\"","taxAuthority":{"code":"0521","title":"\u041c\u0435\u0436\u0440\u0430\u0439\u043e\u043d\u043d\u0430\u044f \u0438\u043d\u0441\u043f\u0435\u043a\u0446\u0438\u044f \u0424\u041d\u0421 \u0420\u043e\u0441\u0441\u0438\u0438 \u2116 9 \u043f\u043e \u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0438\u043a\u0435 \u0414\u0430\u0433\u0435\u0441\u0442\u0430\u043d"},"accountNumber":"11111111111111111112","inn":"9987109031","bik":"044030761","ogrn":"1127747209031","infsoobBeenSent":true,"type":{"title":"\u042e\u041b","systemName":"UL"},"division":{"title":"\u041e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u043e\u0444\u0438\u0441","kpp":"012312312","address":{"country":{"code":"643","title":"\u0420\u043e\u0441\u0441\u0438\u044f"},"region":{"code":"04","title":"\u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0438\u043a\u0430 \u0410\u043b\u0442\u0430\u0439"},"postalCode":"111111","district":"\u0420\u0430\u0439\u043e\u043d1234","city":"\u0421\u0430\u043d\u043a\u0442-\u041f\u0435\u0442\u0435\u0440\u0431\u0443\u0440\u0433","settlement":"\u041d\u0430\u0441\u0435\u043b\u0451\u043d\u043d\u044b\u0439 \u043f\u0443\u043d\u043a\u0442","street":"\u041d\u043e\u0432\u043e\u0440\u043e\u0449\u0438\u043d\u0441\u043a\u0430\u044f","house":"12699","building":"914","room":"123"},"classificationNumber":"3333333333","id":18}},"certificate":null}"
2019-02-04 17:27:29 [Test worker] DEBUG AbstractRequest - *********EXECUTE RESULT: {
"employee": {
"email": "ololo@roskomnadzor.govno",
"position": "царь"
},
"person": {
"socialNumber": null,
"surname": "Грозный",
"name": "Иван",
"patronymic": "Васильевич"
},
"company": {
"name": "ООО \"Фронт-Енд Тест\"",
"inn": "9987109031",
"bikj": null,
"ogrn": "1127747209031",
"infsoobBeenSent": true,
"accountNumber": "11111111111111111112",
"type": {
"systemName": "UL",
"title": "ЮЛ"
},
"taxAuthority": {
"code": "0521",
"title": "Межрайонная инспекция ФНС России № 9 по Республике Дагестан"
},
"division": {
"id": "18",
"kpp": "012312312",
"title": "Основной офис",
"classificationNumber": "3333333333",
"address": {
"country": {
"code": "643",
"title": "Россия"
},
"region": {
"code": "04",
"title": "Республика Алтай"
},
"postalCode": "111111",
"district": "Район1234",
"city": "Санкт-Петербург",
"settlement": "Населённый пункт",
"street": "Новорощинская",
"house": "12699",
"building": "914",
"room": "123"
}
}
},
"certificate": null,
"statusCode": 200
}
2019-02-04 17:27:29 [Test worker] INFO Commands - *********Шаг: Получаем токен для пользователя с email:ololo1@ya.ru, и паролем:q1w2e3r4t5
2019-02-04 17:27:29 [Test worker] DEBUG Rest - *********REQUEST: POST "/security/token":"{
"email": "ololo1@ya.ru",
"password": "q1w2e3r4t5"
}"
2019-02-04 17:27:33 [Test worker] DEBUG Rest - *********RESPONSE: 200 "{"success":true,"token":{"value":"3be191f58737376e0a63e8c9af968032","expireAt":"2019-04-02UTC14:27:34"}}"
2019-02-04 17:27:33 [Test worker] DEBUG ResponseFactory - *********CREATING "TokenResponse<Object>" WITH BODY "{"success":true,"token":{"value":"3be191f58737376e0a63e8c9af968032","expireAt":"2019-04-02UTC14:27:34"}}"
2019-02-04 17:27:33 [Test worker] DEBUG AbstractRequest - *********EXECUTE RESULT: {
"success": true,
"token": {
"value": "3be191f58737376e0a63e8c9af968032",
"expireAt": "2019-04-02UTC14:27:34"
},
"statusCode": 200
}
2019-02-04 17:27:33 [Test worker] INFO Commands - *********Шаг: Получаем информацию по текущему пользователю
2019-02-04 17:27:33 [Test worker] DEBUG Rest - *********REQUEST with token: GET "/current/user":"{}"
2019-02-04 17:27:34 [Test worker] DEBUG Rest - *********RESPONSE with token: 200 "{"employee":{"email":"ololo1@ya.ru","position":"\u043f\u0438\u0441\u0430\u0442\u0435\u043b\u044c","defaultDivision":{"title":"\u041e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u043e\u0444\u0438\u0441","kpp":"111111231","address":{"country":{"code":"643","title":"\u0420\u043e\u0441\u0441\u0438\u044f"},"region":{"code":"15","title":"\u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0438\u043a\u0430 \u0421\u0435\u0432\u0435\u0440\u043d\u0430\u044f \u041e\u0441\u0435\u0442\u0438\u044f - \u0410\u043b\u0430\u043d\u0438\u044f"},"postalCode":"777777","district":"asfsdfafd","city":null,"settlement":null,"street":"uuuuh123","house":"991231kkk","building":"8989898","room":"8884"},"classificationNumber":"1231231231","id":19}},"person":{"socialNumber":null,"surname":"\u041c\u0443\u0440\u0430\u043a\u0430\u043c\u0438","name":"\u0425\u0430\u0440\u0443\u043a\u0438","patronymic":null},"company":{"name":"\u041e\u041e\u041e \u0422\u0420\u0418\u0417","taxAuthority":{"code":"0548","title":"\u041c\u0435\u0436\u0440\u0430\u0439\u043e\u043d\u043d\u0430\u044f \u0438\u043d\u0441\u043f\u0435\u043a\u0446\u0438\u044f \u0424\u041d\u0421 \u0420\u043e\u0441\u0441\u0438\u0438 \u2116 6 \u043f\u043e \u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0438\u043a\u0435 \u0414\u0430\u0433\u0435\u0441\u0442\u0430\u043d"},"accountNumber":"44444444444444444444","inn":"7906505148","bik":"040813816","ogrn":"1127907000374","infsoobBeenSent":true,"type":{"title":"\u042e\u041b","systemName":"UL"},"division":{"title":"\u041e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u043e\u0444\u0438\u0441","kpp":"111111231","address":{"country":{"code":"643","title":"\u0420\u043e\u0441\u0441\u0438\u044f"},"region":{"code":"15","title":"\u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0438\u043a\u0430 \u0421\u0435\u0432\u0435\u0440\u043d\u0430\u044f \u041e\u0441\u0435\u0442\u0438\u044f - \u0410\u043b\u0430\u043d\u0438\u044f"},"postalCode":"777777","district":"asfsdfafd","city":null,"settlement":null,"street":"uuuuh123","house":"991231kkk","building":"8989898","room":"8884"},"classificationNumber":"1231231231","id":19}},"certificate":null}"
2019-02-04 17:27:34 [Test worker] DEBUG ResponseFactory - *********CREATING "UserResponse<Object>" WITH BODY "{"employee":{"email":"ololo1@ya.ru","position":"\u043f\u0438\u0441\u0430\u0442\u0435\u043b\u044c","defaultDivision":{"title":"\u041e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u043e\u0444\u0438\u0441","kpp":"111111231","address":{"country":{"code":"643","title":"\u0420\u043e\u0441\u0441\u0438\u044f"},"region":{"code":"15","title":"\u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0438\u043a\u0430 \u0421\u0435\u0432\u0435\u0440\u043d\u0430\u044f \u041e\u0441\u0435\u0442\u0438\u044f - \u0410\u043b\u0430\u043d\u0438\u044f"},"postalCode":"777777","district":"asfsdfafd","city":null,"settlement":null,"street":"uuuuh123","house":"991231kkk","building":"8989898","room":"8884"},"classificationNumber":"1231231231","id":19}},"person":{"socialNumber":null,"surname":"\u041c\u0443\u0440\u0430\u043a\u0430\u043c\u0438","name":"\u0425\u0430\u0440\u0443\u043a\u0438","patronymic":null},"company":{"name":"\u041e\u041e\u041e \u0422\u0420\u0418\u0417","taxAuthority":{"code":"0548","title":"\u041c\u0435\u0436\u0440\u0430\u0439\u043e\u043d\u043d\u0430\u044f \u0438\u043d\u0441\u043f\u0435\u043a\u0446\u0438\u044f \u0424\u041d\u0421 \u0420\u043e\u0441\u0441\u0438\u0438 \u2116 6 \u043f\u043e \u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0438\u043a\u0435 \u0414\u0430\u0433\u0435\u0441\u0442\u0430\u043d"},"accountNumber":"44444444444444444444","inn":"7906505148","bik":"040813816","ogrn":"1127907000374","infsoobBeenSent":true,"type":{"title":"\u042e\u041b","systemName":"UL"},"division":{"title":"\u041e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u043e\u0444\u0438\u0441","kpp":"111111231","address":{"country":{"code":"643","title":"\u0420\u043e\u0441\u0441\u0438\u044f"},"region":{"code":"15","title":"\u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0438\u043a\u0430 \u0421\u0435\u0432\u0435\u0440\u043d\u0430\u044f \u041e\u0441\u0435\u0442\u0438\u044f - \u0410\u043b\u0430\u043d\u0438\u044f"},"postalCode":"777777","district":"asfsdfafd","city":null,"settlement":null,"street":"uuuuh123","house":"991231kkk","building":"8989898","room":"8884"},"classificationNumber":"1231231231","id":19}},"certificate":null}"
2019-02-04 17:27:34 [Test worker] DEBUG AbstractRequest - *********EXECUTE RESULT: {
"employee": {
"email": "ololo1@ya.ru",
"position": "писатель"
},
"person": {
"socialNumber": null,
"surname": "Мураками",
"name": "Харуки",
"patronymic": null
},
"company": {
"name": "ООО ТРИЗ",
"inn": "7906505148",
"bikj": null,
"ogrn": "1127907000374",
"infsoobBeenSent": true,
"accountNumber": "44444444444444444444",
"type": {
"systemName": "UL",
"title": "ЮЛ"
},
"taxAuthority": {
"code": "0548",
"title": "Межрайонная инспекция ФНС России № 6 по Республике Дагестан"
},
"division": {
"id": "19",
"kpp": "111111231",
"title": "Основной офис",
"classificationNumber": "1231231231",
"address": {
"country": {
"code": "643",
"title": "Россия"
},
"region": {
"code": "15",
"title": "Республика Северная Осетия - Алания"
},
"postalCode": "777777",
"district": "asfsdfafd",
"city": null,
"settlement": null,
"street": "uuuuh123",
"house": "991231kkk",
"building": "8989898",
"room": "8884"
}
}
},
"certificate": null,
"statusCode": 200
}
2019-02-04 17:27:34 [Test worker] INFO BaseSpockTest - *********Создаём документ
2019-02-04 17:27:34 [Test worker] DEBUG ApiConfig - *********LOADING FILE: CreateUniversalTransferDocumentWaybillUlRequest
2019-02-04 17:27:34 [Test worker] DEBUG ApiConfig - ************{"seller":2,"buyer":3,"name":"NAME_TEST","number":"NUMBER_TEST","date":"24.10.2018","shipment":{"operationInformation":"12321","shipmentDate":"24.10.2018","basis":{"title":"123","number":"12321","date":"24.10.2018"},"passedBy":{"employee":{"position":"312312","surname":"123","name":"12312","patronymic":"321"},"duty":"3123"},"transportation":{"transportationInformation":"12312","waybill":{"number":"123213","date":"24.10.2018"},"carrier":null},"contract":{"passingInformation":"12321","passingDate":null}},"table":{"goods":[{"title":"123","measurement":{"code":"109","title":"Ар (100 м2)"},"count":"1","price":"1","code":null,"costBeforeTax":"11","excise":"1","taxRate":"18","costAfterTax":"1.00","amountOfTax":"1","kind":null,"declaration":null,"infoFields":[{"attribute":"attribute1","value":"value1"},{"attribute":"attribute2","value":"value2"}]}],"totalAmountOfTax":"1.00","totalCostBeforeTax":"11.00","totalCostAfterTax":"1.00"},"invoice":{"infoFields":[{"attribute":"attribute1","value":"value1"},{"attribute":"attribute2","value":"value2"}],"consignee":null,"consignor":{"type":"UL","name":"ООО \"ДиТестМонтаж\"","kpp":"111111111","okpo":"3123213123","divisionName":null,"inn":"7813385180","address":{"russianAddress":{"regionCode":"26","postalCode":"123213","district":null,"city":null,"settlement":null,"street":null,"house":null,"building":null,"room":null},"location":null},"contact":null,"bankDetails":{"accountNumber":"11111111111111111111","bank":{"name":null,"bik":"046015933"}}},"currency":{"code":"643","title":"Российский рубль","exchangeRate":null},"govContractId":"312","payment":{"number":"123","date":"24.10.2018"}},"signor":{"type":"UL-signor","position":"Игнатьевич","companyName":"ООО \"ДиТестМонтаж\"","inn":"7813385180","additionalData":null,"surname":"Терентьев","name":"Павел","patronymic":null,"duty":5,"status":1}}
2019-02-04 17:27:34 [Test worker] INFO Commands - *********Шаг: Создаём документ: УПД с функцией ДОП для ЮЛ
2019-02-04 17:27:34 [Test worker] DEBUG Rest - *********REQUEST with token: POST "/service/document/create/universal_transfer_document_waybill":"{
"name": "NAME_TEST",
"shipment": {
"operationInformation": "12321",
"shipmentDate": "24.10.2018",
"basis": {
"title": "123",
"number": "12321",
"date": "24.10.2018"
},
"passedBy": {
"employee": {
"position": "312312",
"surname": "123",
"name": "12312",
"patronymic": "321"
},
"duty": "3123"
},
"transportation": {
"transportationInformation": "12312",
"waybill": {
"number": "123213",
"date": "24.10.2018"
},
"carrier": null
},
"contract": {
"passingInformation": "12321",
"passingDate": null
}
},
"seller": 18,
"buyer": 19,
"number": "2019-02-04 17:27:34.562",
"date": "24.10.2018",
"table": {
"goods": [
{
"title": "123",
"measurement": {
"code": "109",
"title": "Ар (100 м2)"
},
"count": "1",
"price": "1",
"code": null,
"costBeforeTax": "11",
"excise": "1",
"taxRate": "18",
"costAfterTax": "1.00",
"amountOfTax": "1",
"kind": null,
"declaration": null,
"infoFields": [
{
"attribute": "attribute1",
"value": "value1"
},
{
"attribute": "attribute2",
"value": "value2"
}
]
}
],
"totalAmountOfTax": "1.00",
"totalCostBeforeTax": "11.00",
"totalCostAfterTax": "1.00"
},
"invoice": {
"consignee": null,
"consignor": {
"type": "UL",
"address": {
"russianAddress": {
"regionCode": "26",
"postalCode": "123213",
"district": null,
"city": null,
"settlement": null,
"street": null,
"house": null,
"building": null,
"room": null
},
"location": null
},
"contact": null,
"bankDetails": {
"accountNumber": "11111111111111111111",
"bank": {
"name": null,
"bik": "046015933"
}
},
"okpo": "3123213123",
"inn": "7813385180",
"name": "ООО \"ДиТестМонтаж\"",
"kpp": "111111111",
"divisionName": null
},
"currency": {
"code": "643",
"title": "Российский рубль",
"exchangeRate": null
},
"govContractId": "312",
"payment": {
"number": "123",
"date": "24.10.2018"
},
"infoFields": [
{
"attribute": "attribute1",
"value": "value1"
},
{
"attribute": "attribute2",
"value": "value2"
}
]
},
"signor": {
"type": "UL-signor",
"surname": "Терентьев",
"name": "Павел",
"patronymic": null,
"additionalData": null,
"duty": 5,
"status": 1,
"position": "Игнатьевич",
"companyName": "ООО \"ДиТестМонтаж\"",
"inn": "7813385180"
}
}"
2019-02-04 17:27:35 [Test worker] DEBUG Rest - *********RESPONSE with token: 403 "{"success":false,"codeDescription":"\u0414\u043e\u0441\u0442\u0443\u043f \u0437\u0430\u043f\u0440\u0435\u0449\u0435\u043d","code":105}"
2019-02-04 17:27:35 [Test worker] DEBUG ResponseFactory - *********CREATING "JsonResponse<Object>" WITH BODY "{"success":false,"codeDescription":"\u0414\u043e\u0441\u0442\u0443\u043f \u0437\u0430\u043f\u0440\u0435\u0449\u0435\u043d","code":105}"
2019-02-04 17:27:35 [Test worker] DEBUG AbstractRequest - *********EXECUTE RESULT: {
"result": {
"success": false,
"codeDescription": "Доступ запрещен",
"code": 105
},
"statusCode": 403
}
2019-02-04 17:27:35 [Test worker] ERROR spock.LoggingListener - *********Ошибка в "generator.WaybillFlowUlGen:WaybillFlowUlGen:Вариант 1. Принятие документа с функцией ДОП для ЮЛ:Вариант 1. Принятие документа с функцией ДОП для ЮЛ" строка 36 : org.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot cast object '{
"result": {
"success": false,
"codeDescription": "Доступ запрещен",
"code": 105
},
"statusCode": 403
}' with class 'model.internal.JsonResponse' to class 'model.responses.service.document.create.CreateDocumentResponse'
2019-02-04 17:27:35 [Test worker] INFO spock.LoggingListener - *********Окончание итерации "generator.WaybillFlowUlGen:WaybillFlowUlGen:Вариант 1. Принятие документа с функцией ДОП для ЮЛ:Вариант 1. Принятие документа с функцией ДОП для ЮЛ"
2019-02-04 17:27:35 [Test worker] INFO spock.LoggingListener - ******Запуск итерации "generator.WaybillFlowUlGen:WaybillFlowUlGen:Вариант 1. Принятие документа с функцией ДОП для ЮЛ:Вариант 1. Принятие документа с функцией ДОП для ЮЛ"
2019-02-04 17:27:35 [Test worker] INFO Commands - *********Шаг: Получаем токен для пользователя с email:ololo@roskomnadzor.govno, и паролем:q1w2e3r4t5
2019-02-04 17:27:35 [Test worker] DEBUG Rest - *********REQUEST: POST "/security/token":"{
"email": "ololo@roskomnadzor.govno",
"password": "q1w2e3r4t5"
}"
2019-02-04 17:27:38 [Test worker] DEBUG Rest - *********RESPONSE: 200 "{"success":true,"token":{"value":"4ee99b3ce34657b0f45a090b96f519dc","expireAt":"2019-04-02UTC14:27:40"}}"
2019-02-04 17:27:38 [Test worker] DEBUG ResponseFactory - *********CREATING "TokenResponse<Object>" WITH BODY "{"success":true,"token":{"value":"4ee99b3ce34657b0f45a090b96f519dc","expireAt":"2019-04-02UTC14:27:40"}}"
2019-02-04 17:27:38 [Test worker] DEBUG AbstractRequest - *********EXECUTE RESULT: {
"success": true,
"token": {
"value": "4ee99b3ce34657b0f45a090b96f519dc",
"expireAt": "2019-04-02UTC14:27:40"
},
"statusCode": 200
}
2019-02-04 17:27:38 [Test worker] INFO Commands - *********Шаг: Получаем информацию по текущему пользователю
2019-02-04 17:27:38 [Test worker] DEBUG Rest - *********REQUEST with token: GET "/current/user":"{}"
2019-02-04 17:27:40 [Test worker] DEBUG Rest - *********RESPONSE with token: 200 "{"employee":{"email":"ololo@roskomnadzor.govno","position":"\u0446\u0430\u0440\u044c","defaultDivision":{"title":"\u041e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u043e\u0444\u0438\u0441","kpp":"012312312","address":{"country":{"code":"643","title":"\u0420\u043e\u0441\u0441\u0438\u044f"},"region":{"code":"04","title":"\u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0438\u043a\u0430 \u0410\u043b\u0442\u0430\u0439"},"postalCode":"111111","district":"\u0420\u0430\u0439\u043e\u043d1234","city":"\u0421\u0430\u043d\u043a\u0442-\u041f\u0435\u0442\u0435\u0440\u0431\u0443\u0440\u0433","settlement":"\u041d\u0430\u0441\u0435\u043b\u0451\u043d\u043d\u044b\u0439 \u043f\u0443\u043d\u043a\u0442","street":"\u041d\u043e\u0432\u043e\u0440\u043e\u0449\u0438\u043d\u0441\u043a\u0430\u044f","house":"12699","building":"914","room":"123"},"classificationNumber":"3333333333","id":18}},"person":{"socialNumber":null,"surname":"\u0413\u0440\u043e\u0437\u043d\u044b\u0439","name":"\u0418\u0432\u0430\u043d","patronymic":"\u0412\u0430\u0441\u0438\u043b\u044c\u0435\u0432\u0438\u0447"},"company":{"name":"\u041e\u041e\u041e \"\u0424\u0440\u043e\u043d\u0442-\u0415\u043d\u0434 \u0422\u0435\u0441\u0442\"","taxAuthority":{"code":"0521","title":"\u041c\u0435\u0436\u0440\u0430\u0439\u043e\u043d\u043d\u0430\u044f \u0438\u043d\u0441\u043f\u0435\u043a\u0446\u0438\u044f \u0424\u041d\u0421 \u0420\u043e\u0441\u0441\u0438\u0438 \u2116 9 \u043f\u043e \u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0438\u043a\u0435 \u0414\u0430\u0433\u0435\u0441\u0442\u0430\u043d"},"accountNumber":"11111111111111111112","inn":"9987109031","bik":"044030761","ogrn":"1127747209031","infsoobBeenSent":true,"type":{"title":"\u042e\u041b","systemName":"UL"},"division":{"title":"\u041e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u043e\u0444\u0438\u0441","kpp":"012312312","address":{"country":{"code":"643","title":"\u0420\u043e\u0441\u0441\u0438\u044f"},"region":{"code":"04","title":"\u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0438\u043a\u0430 \u0410\u043b\u0442\u0430\u0439"},"postalCode":"111111","district":"\u0420\u0430\u0439\u043e\u043d1234","city":"\u0421\u0430\u043d\u043a\u0442-\u041f\u0435\u0442\u0435\u0440\u0431\u0443\u0440\u0433","settlement":"\u041d\u0430\u0441\u0435\u043b\u0451\u043d\u043d\u044b\u0439 \u043f\u0443\u043d\u043a\u0442","street":"\u041d\u043e\u0432\u043e\u0440\u043e\u0449\u0438\u043d\u0441\u043a\u0430\u044f","house":"12699","building":"914","room":"123"},"classificationNumber":"3333333333","id":18}},"certificate":null}"
2019-02-04 17:27:40 [Test worker] DEBUG ResponseFactory - *********CREATING "UserResponse<Object>" WITH BODY "{"employee":{"email":"ololo@roskomnadzor.govno","position":"\u0446\u0430\u0440\u044c","defaultDivision":{"title":"\u041e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u043e\u0444\u0438\u0441","kpp":"012312312","address":{"country":{"code":"643","title":"\u0420\u043e\u0441\u0441\u0438\u044f"},"region":{"code":"04","title":"\u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0438\u043a\u0430 \u0410\u043b\u0442\u0430\u0439"},"postalCode":"111111","district":"\u0420\u0430\u0439\u043e\u043d1234","city":"\u0421\u0430\u043d\u043a\u0442-\u041f\u0435\u0442\u0435\u0440\u0431\u0443\u0440\u0433","settlement":"\u041d\u0430\u0441\u0435\u043b\u0451\u043d\u043d\u044b\u0439 \u043f\u0443\u043d\u043a\u0442","street":"\u041d\u043e\u0432\u043e\u0440\u043e\u0449\u0438\u043d\u0441\u043a\u0430\u044f","house":"12699","building":"914","room":"123"},"classificationNumber":"3333333333","id":18}},"person":{"socialNumber":null,"surname":"\u0413\u0440\u043e\u0437\u043d\u044b\u0439","name":"\u0418\u0432\u0430\u043d","patronymic":"\u0412\u0430\u0441\u0438\u043b\u044c\u0435\u0432\u0438\u0447"},"company":{"name":"\u041e\u041e\u041e \"\u0424\u0440\u043e\u043d\u0442-\u0415\u043d\u0434 \u0422\u0435\u0441\u0442\"","taxAuthority":{"code":"0521","title":"\u041c\u0435\u0436\u0440\u0430\u0439\u043e\u043d\u043d\u0430\u044f \u0438\u043d\u0441\u043f\u0435\u043a\u0446\u0438\u044f \u0424\u041d\u0421 \u0420\u043e\u0441\u0441\u0438\u0438 \u2116 9 \u043f\u043e \u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0438\u043a\u0435 \u0414\u0430\u0433\u0435\u0441\u0442\u0430\u043d"},"accountNumber":"11111111111111111112","inn":"9987109031","bik":"044030761","ogrn":"1127747209031","infsoobBeenSent":true,"type":{"title":"\u042e\u041b","systemName":"UL"},"division":{"title":"\u041e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u043e\u0444\u0438\u0441","kpp":"012312312","address":{"country":{"code":"643","title":"\u0420\u043e\u0441\u0441\u0438\u044f"},"region":{"code":"04","title":"\u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0438\u043a\u0430 \u0410\u043b\u0442\u0430\u0439"},"postalCode":"111111","district":"\u0420\u0430\u0439\u043e\u043d1234","city":"\u0421\u0430\u043d\u043a\u0442-\u041f\u0435\u0442\u0435\u0440\u0431\u0443\u0440\u0433","settlement":"\u041d\u0430\u0441\u0435\u043b\u0451\u043d\u043d\u044b\u0439 \u043f\u0443\u043d\u043a\u0442","street":"\u041d\u043e\u0432\u043e\u0440\u043e\u0449\u0438\u043d\u0441\u043a\u0430\u044f","house":"12699","building":"914","room":"123"},"classificationNumber":"3333333333","id":18}},"certificate":null}"
2019-02-04 17:27:40 [Test worker] DEBUG AbstractRequest - *********EXECUTE RESULT: {
"employee": {
"email": "ololo@roskomnadzor.govno",
"position": "царь"
},
"person": {
"socialNumber": null,
"surname": "Грозный",
"name": "Иван",
"patronymic": "Васильевич"
},
"company": {
"name": "ООО \"Фронт-Енд Тест\"",
"inn": "9987109031",
"bikj": null,
"ogrn": "1127747209031",
"infsoobBeenSent": true,
"accountNumber": "11111111111111111112",
"type": {
"systemName": "UL",
"title": "ЮЛ"
},
"taxAuthority": {
"code": "0521",
"title": "Межрайонная инспекция ФНС России № 9 по Республике Дагестан"
},
"division": {
"id": "18",
"kpp": "012312312",
"title": "Основной офис",
"classificationNumber": "3333333333",
"address": {
"country": {
"code": "643",
"title": "Россия"
},
"region": {
"code": "04",
"title": "Республика Алтай"
},
"postalCode": "111111",
"district": "Район1234",
"city": "Санкт-Петербург",
"settlement": "Населённый пункт",
"street": "Новорощинская",
"house": "12699",
"building": "914",
"room": "123"
}
}
},
"certificate": null,
"statusCode": 200
}
2019-02-04 17:27:40 [Test worker] INFO Commands - *********Шаг: Получаем токен для пользователя с email:ololo1@ya.ru, и паролем:q1w2e3r4t5
2019-02-04 17:27:40 [Test worker] DEBUG Rest - *********REQUEST: POST "/security/token":"{
"email": "ololo1@ya.ru",
"password": "q1w2e3r4t5"
}"
2019-02-04 17:27:43 [Test worker] DEBUG Rest - *********RESPONSE: 200 "{"success":true,"token":{"value":"8251d2f6908781f8c9fb1b10c3853934","expireAt":"2019-04-02UTC14:27:44"}}"
2019-02-04 17:27:43 [Test worker] DEBUG ResponseFactory - *********CREATING "TokenResponse<Object>" WITH BODY "{"success":true,"token":{"value":"8251d2f6908781f8c9fb1b10c3853934","expireAt":"2019-04-02UTC14:27:44"}}"
2019-02-04 17:27:43 [Test worker] DEBUG AbstractRequest - *********EXECUTE RESULT: {
"success": true,
"token": {
"value": "8251d2f6908781f8c9fb1b10c3853934",
"expireAt": "2019-04-02UTC14:27:44"
},
"statusCode": 200
}
2019-02-04 17:27:43 [Test worker] INFO Commands - *********Шаг: Получаем информацию по текущему пользователю
2019-02-04 17:27:43 [Test worker] DEBUG Rest - *********REQUEST with token: GET "/current/user":"{}"
2019-02-04 17:27:44 [Test worker] DEBUG Rest - *********RESPONSE with token: 200 "{"employee":{"email":"ololo1@ya.ru","position":"\u043f\u0438\u0441\u0430\u0442\u0435\u043b\u044c","defaultDivision":{"title":"\u041e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u043e\u0444\u0438\u0441","kpp":"111111231","address":{"country":{"code":"643","title":"\u0420\u043e\u0441\u0441\u0438\u044f"},"region":{"code":"15","title":"\u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0438\u043a\u0430 \u0421\u0435\u0432\u0435\u0440\u043d\u0430\u044f \u041e\u0441\u0435\u0442\u0438\u044f - \u0410\u043b\u0430\u043d\u0438\u044f"},"postalCode":"777777","district":"asfsdfafd","city":null,"settlement":null,"street":"uuuuh123","house":"991231kkk","building":"8989898","room":"8884"},"classificationNumber":"1231231231","id":19}},"person":{"socialNumber":null,"surname":"\u041c\u0443\u0440\u0430\u043a\u0430\u043c\u0438","name":"\u0425\u0430\u0440\u0443\u043a\u0438","patronymic":null},"company":{"name":"\u041e\u041e\u041e \u0422\u0420\u0418\u0417","taxAuthority":{"code":"0548","title":"\u041c\u0435\u0436\u0440\u0430\u0439\u043e\u043d\u043d\u0430\u044f \u0438\u043d\u0441\u043f\u0435\u043a\u0446\u0438\u044f \u0424\u041d\u0421 \u0420\u043e\u0441\u0441\u0438\u0438 \u2116 6 \u043f\u043e \u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0438\u043a\u0435 \u0414\u0430\u0433\u0435\u0441\u0442\u0430\u043d"},"accountNumber":"44444444444444444444","inn":"7906505148","bik":"040813816","ogrn":"1127907000374","infsoobBeenSent":true,"type":{"title":"\u042e\u041b","systemName":"UL"},"division":{"title":"\u041e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u043e\u0444\u0438\u0441","kpp":"111111231","address":{"country":{"code":"643","title":"\u0420\u043e\u0441\u0441\u0438\u044f"},"region":{"code":"15","title":"\u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0438\u043a\u0430 \u0421\u0435\u0432\u0435\u0440\u043d\u0430\u044f \u041e\u0441\u0435\u0442\u0438\u044f - \u0410\u043b\u0430\u043d\u0438\u044f"},"postalCode":"777777","district":"asfsdfafd","city":null,"settlement":null,"street":"uuuuh123","house":"991231kkk","building":"8989898","room":"8884"},"classificationNumber":"1231231231","id":19}},"certificate":null}"
2019-02-04 17:27:44 [Test worker] DEBUG ResponseFactory - *********CREATING "UserResponse<Object>" WITH BODY "{"employee":{"email":"ololo1@ya.ru","position":"\u043f\u0438\u0441\u0430\u0442\u0435\u043b\u044c","defaultDivision":{"title":"\u041e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u043e\u0444\u0438\u0441","kpp":"111111231","address":{"country":{"code":"643","title":"\u0420\u043e\u0441\u0441\u0438\u044f"},"region":{"code":"15","title":"\u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0438\u043a\u0430 \u0421\u0435\u0432\u0435\u0440\u043d\u0430\u044f \u041e\u0441\u0435\u0442\u0438\u044f - \u0410\u043b\u0430\u043d\u0438\u044f"},"postalCode":"777777","district":"asfsdfafd","city":null,"settlement":null,"street":"uuuuh123","house":"991231kkk","building":"8989898","room":"8884"},"classificationNumber":"1231231231","id":19}},"person":{"socialNumber":null,"surname":"\u041c\u0443\u0440\u0430\u043a\u0430\u043c\u0438","name":"\u0425\u0430\u0440\u0443\u043a\u0438","patronymic":null},"company":{"name":"\u041e\u041e\u041e \u0422\u0420\u0418\u0417","taxAuthority":{"code":"0548","title":"\u041c\u0435\u0436\u0440\u0430\u0439\u043e\u043d\u043d\u0430\u044f \u0438\u043d\u0441\u043f\u0435\u043a\u0446\u0438\u044f \u0424\u041d\u0421 \u0420\u043e\u0441\u0441\u0438\u0438 \u2116 6 \u043f\u043e \u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0438\u043a\u0435 \u0414\u0430\u0433\u0435\u0441\u0442\u0430\u043d"},"accountNumber":"44444444444444444444","inn":"7906505148","bik":"040813816","ogrn":"1127907000374","infsoobBeenSent":true,"type":{"title":"\u042e\u041b","systemName":"UL"},"division":{"title":"\u041e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u043e\u0444\u0438\u0441","kpp":"111111231","address":{"country":{"code":"643","title":"\u0420\u043e\u0441\u0441\u0438\u044f"},"region":{"code":"15","title":"\u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0438\u043a\u0430 \u0421\u0435\u0432\u0435\u0440\u043d\u0430\u044f \u041e\u0441\u0435\u0442\u0438\u044f - \u0410\u043b\u0430\u043d\u0438\u044f"},"postalCode":"777777","district":"asfsdfafd","city":null,"settlement":null,"street":"uuuuh123","house":"991231kkk","building":"8989898","room":"8884"},"classificationNumber":"1231231231","id":19}},"certificate":null}"
2019-02-04 17:27:44 [Test worker] DEBUG AbstractRequest - *********EXECUTE RESULT: {
"employee": {
"email": "ololo1@ya.ru",
"position": "писатель"
},
"person": {
"socialNumber": null,
"surname": "Мураками",
"name": "Харуки",
"patronymic": null
},
"company": {
"name": "ООО ТРИЗ",
"inn": "7906505148",
"bikj": null,
"ogrn": "1127907000374",
"infsoobBeenSent": true,
"accountNumber": "44444444444444444444",
"type": {
"systemName": "UL",
"title": "ЮЛ"
},
"taxAuthority": {
"code": "0548",
"title": "Межрайонная инспекция ФНС России № 6 по Республике Дагестан"
},
"division": {
"id": "19",
"kpp": "111111231",
"title": "Основной офис",
"classificationNumber": "1231231231",
"address": {
"country": {
"code": "643",
"title": "Россия"
},
"region": {
"code": "15",
"title": "Республика Северная Осетия - Алания"
},
"postalCode": "777777",
"district": "asfsdfafd",
"city": null,
"settlement": null,
"street": "uuuuh123",
"house": "991231kkk",
"building": "8989898",
"room": "8884"
}
}
},
"certificate": null,
"statusCode": 200
}
2019-02-04 17:27:44 [Test worker] INFO BaseSpockTest - *********Создаём документ
2019-02-04 17:27:44 [Test worker] DEBUG ApiConfig - *********LOADING FILE: CreateUniversalTransferDocumentWaybillUlRequest
2019-02-04 17:27:44 [Test worker] DEBUG ApiConfig - ************{"seller":2,"buyer":3,"name":"NAME_TEST","number":"NUMBER_TEST","date":"24.10.2018","shipment":{"operationInformation":"12321","shipmentDate":"24.10.2018","basis":{"title":"123","number":"12321","date":"24.10.2018"},"passedBy":{"employee":{"position":"312312","surname":"123","name":"12312","patronymic":"321"},"duty":"3123"},"transportation":{"transportationInformation":"12312","waybill":{"number":"123213","date":"24.10.2018"},"carrier":null},"contract":{"passingInformation":"12321","passingDate":null}},"table":{"goods":[{"title":"123","measurement":{"code":"109","title":"Ар (100 м2)"},"count":"1","price":"1","code":null,"costBeforeTax":"11","excise":"1","taxRate":"18","costAfterTax":"1.00","amountOfTax":"1","kind":null,"declaration":null,"infoFields":[{"attribute":"attribute1","value":"value1"},{"attribute":"attribute2","value":"value2"}]}],"totalAmountOfTax":"1.00","totalCostBeforeTax":"11.00","totalCostAfterTax":"1.00"},"invoice":{"infoFields":[{"attribute":"attribute1","value":"value1"},{"attribute":"attribute2","value":"value2"}],"consignee":null,"consignor":{"type":"UL","name":"ООО \"ДиТестМонтаж\"","kpp":"111111111","okpo":"3123213123","divisionName":null,"inn":"7813385180","address":{"russianAddress":{"regionCode":"26","postalCode":"123213","district":null,"city":null,"settlement":null,"street":null,"house":null,"building":null,"room":null},"location":null},"contact":null,"bankDetails":{"accountNumber":"11111111111111111111","bank":{"name":null,"bik":"046015933"}}},"currency":{"code":"643","title":"Российский рубль","exchangeRate":null},"govContractId":"312","payment":{"number":"123","date":"24.10.2018"}},"signor":{"type":"UL-signor","position":"Игнатьевич","companyName":"ООО \"ДиТестМонтаж\"","inn":"7813385180","additionalData":null,"surname":"Терентьев","name":"Павел","patronymic":null,"duty":5,"status":1}}
2019-02-04 17:27:44 [Test worker] INFO Commands - *********Шаг: Создаём документ: УПД с функцией ДОП для ЮЛ
2019-02-04 17:27:44 [Test worker] DEBUG Rest - *********REQUEST with token: POST "/service/document/create/universal_transfer_document_waybill":"{
"name": "NAME_TEST",
"shipment": {
"operationInformation": "12321",
"shipmentDate": "24.10.2018",
"basis": {
"title": "123",
"number": "12321",
"date": "24.10.2018"
},
"passedBy": {
"employee": {
"position": "312312",
"surname": "123",
"name": "12312",
"patronymic": "321"
},
"duty": "3123"
},
"transportation": {
"transportationInformation": "12312",
"waybill": {
"number": "123213",
"date": "24.10.2018"
},
"carrier": null
},
"contract": {
"passingInformation": "12321",
"passingDate": null
}
},
"seller": 18,
"buyer": 19,
"number": "2019-02-04 17:27:44.486",
"date": "24.10.2018",
"table": {
"goods": [
{
"title": "123",
"measurement": {
"code": "109",
"title": "Ар (100 м2)"
},
"count": "1",
"price": "1",
"code": null,
"costBeforeTax": "11",
"excise": "1",
"taxRate": "18",
"costAfterTax": "1.00",
"amountOfTax": "1",
"kind": null,
"declaration": null,
"infoFields": [
{
"attribute": "attribute1",
"value": "value1"
},
{
"attribute": "attribute2",
"value": "value2"
}
]
}
],
"totalAmountOfTax": "1.00",
"totalCostBeforeTax": "11.00",
"totalCostAfterTax": "1.00"
},
"invoice": {
"consignee": null,
"consignor": {
"type": "UL",
"address": {
"russianAddress": {
"regionCode": "26",
"postalCode": "123213",
"district": null,
"city": null,
"settlement": null,
"street": null,
"house": null,
"building": null,
"room": null
},
"location": null
},
"contact": null,
"bankDetails": {
"accountNumber": "11111111111111111111",
"bank": {
"name": null,
"bik": "046015933"
}
},
"okpo": "3123213123",
"inn": "7813385180",
"name": "ООО \"ДиТестМонтаж\"",
"kpp": "111111111",
"divisionName": null
},
"currency": {
"code": "643",
"title": "Российский рубль",
"exchangeRate": null
},
"govContractId": "312",
"payment": {
"number": "123",
"date": "24.10.2018"
},
"infoFields": [
{
"attribute": "attribute1",
"value": "value1"
},
{
"attribute": "attribute2",
"value": "value2"
}
]
},
"signor": {
"type": "UL-signor",
"surname": "Терентьев",
"name": "Павел",
"patronymic": null,
"additionalData": null,
"duty": 5,
"status": 1,
"position": "Игнатьевич",
"companyName": "ООО \"ДиТестМонтаж\"",
"inn": "7813385180"
}
}"
2019-02-04 17:27:45 [Test worker] DEBUG Rest - *********RESPONSE with token: 403 "{"success":false,"codeDescription":"\u0414\u043e\u0441\u0442\u0443\u043f \u0437\u0430\u043f\u0440\u0435\u0449\u0435\u043d","code":105}"
2019-02-04 17:27:45 [Test worker] DEBUG ResponseFactory - *********CREATING "JsonResponse<Object>" WITH BODY "{"success":false,"codeDescription":"\u0414\u043e\u0441\u0442\u0443\u043f \u0437\u0430\u043f\u0440\u0435\u0449\u0435\u043d","code":105}"
2019-02-04 17:27:45 [Test worker] DEBUG AbstractRequest - *********EXECUTE RESULT: {
"result": {
"success": false,
"codeDescription": "Доступ запрещен",
"code": 105
},
"statusCode": 403
}
2019-02-04 17:27:45 [Test worker] ERROR spock.LoggingListener - *********Ошибка в "generator.WaybillFlowUlGen:WaybillFlowUlGen:Вариант 1. Принятие документа с функцией ДОП для ЮЛ:Вариант 1. Принятие документа с функцией ДОП для ЮЛ" строка 36 : org.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot cast object '{
"result": {
"success": false,
"codeDescription": "Доступ запрещен",
"code": 105
},
"statusCode": 403
}' with class 'model.internal.JsonResponse' to class 'model.responses.service.document.create.CreateDocumentResponse'
2019-02-04 17:27:45 [Test worker] INFO spock.LoggingListener - *********Окончание итерации "generator.WaybillFlowUlGen:WaybillFlowUlGen:Вариант 1. Принятие документа с функцией ДОП для ЮЛ:Вариант 1. Принятие документа с функцией ДОП для ЮЛ"
2019-02-04 17:27:45 [Test worker] INFO spock.LoggingListener - ******Окончание фичи "generator.WaybillFlowUlGen:WaybillFlowUlGen:Вариант 1. Принятие документа с функцией ДОП для ЮЛ"
Executed test ==> generator.WaybillFlowUlGen.Вариант 1. Принятие документа с функцией ДОП для ЮЛ with result: FAILURE
generator.WaybillFlowUlGen > Вариант 1. Принятие документа с функцией ДОП для ЮЛ FAILED
org.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot cast object '{
"result": {
"success": false,
"codeDescription": "Доступ запрещен",
"code": 105
},
"statusCode": 403
}' with class 'model.internal.JsonResponse' to class 'model.responses.current.UserResponse'
at generator.WaybillFlowUlGen.setup(WaybillFlowUlGen.groovy:30)
org.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot cast object '{
"result": {
"success": false,
"codeDescription": "Доступ запрещен",
"code": 105
},
"statusCode": 403
Gradle Test Executor 12 finished executing tests.
> Task :test FAILED
}' with class 'model.internal.JsonResponse' to class 'model.responses.service.document.create.CreateDocumentResponse'
at generator.WaybillFlowUlGen.Вариант 1. Принятие документа с функцией ДОП для ЮЛ(WaybillFlowUlGen.groovy:40)
org.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot cast object '{
"result": {
"success": false,
"codeDescription": "Доступ запрещен",
"code": 105
},
"statusCode": 403
}' with class 'model.internal.JsonResponse' to class 'model.responses.service.document.create.CreateDocumentResponse'
at generator.WaybillFlowUlGen.Вариант 1. Принятие документа с функцией ДОП для ЮЛ(WaybillFlowUlGen.groovy:40)
generator.WaybillFlowUlGen STANDARD_OUT
2019-02-04 17:27:45 [Test worker] INFO spock.LoggingListener - ***Окончание спеки "generator.WaybillFlowUlGen:WaybillFlowUlGen"
1 test completed, 1 failed
Finished generating test XML results (0.011 secs) into: /Users/alex/projects/api-edo-distate-autotests/build/test-results/test
Generating HTML test report...
Finished generating test html results (0.011 secs) into: /Users/alex/projects/api-edo-distate-autotests/build/reports/tests/test
:test (Thread[Execution worker for ':',5,main]) completed. Took 41.054 secs.
:api:compileTestJava (Thread[Execution worker for ':',5,main]) started.
> Task :api:compileTestJava NO-SOURCE
file or directory '/Users/alex/projects/api-edo-distate-autotests/api/src/test/java', not found
Skipping task ':api:compileTestJava' as it has no source files and no previous output files.
:api:compileTestJava (Thread[Execution worker for ':',5,main]) completed. Took 0.001 secs.
:api:compileTestGroovy (Thread[Execution worker for ':',5,main]) started.
> Task :api:compileTestGroovy NO-SOURCE
file or directory '/Users/alex/projects/api-edo-distate-autotests/api/src/test/groovy', not found
Skipping task ':api:compileTestGroovy' as it has no source files and no previous output files.
:api:compileTestGroovy (Thread[Execution worker for ':',5,main]) completed. Took 0.001 secs.
:api:processTestResources (Thread[Execution worker for ':',5,main]) started.
> Task :api:processTestResources NO-SOURCE
file or directory '/Users/alex/projects/api-edo-distate-autotests/api/src/test/resources', not found
Skipping task ':api:processTestResources' as it has no source files and no previous output files.
:api:processTestResources (Thread[Execution worker for ':',5,main]) completed. Took 0.0 secs.
:api:testClasses (Thread[Execution worker for ':',5,main]) started.
> Task :api:testClasses UP-TO-DATE
Skipping task ':api:testClasses' as it has no actions.
:api:testClasses (Thread[Execution worker for ':',5,main]) completed. Took 0.0 secs.
:api:test (Thread[Execution worker for ':',5,main]) started.
> Task :api:test NO-SOURCE
Skipping task ':api:test' as it has no source files and no previous output files.
:api:test (Thread[Execution worker for ':',5,main]) completed. Took 0.001 secs.
:model:compileTestJava (Thread[Execution worker for ':',5,main]) started.
> Task :model:compileTestJava NO-SOURCE
file or directory '/Users/alex/projects/api-edo-distate-autotests/model/src/test/java', not found
Skipping task ':model:compileTestJava' as it has no source files and no previous output files.
:model:compileTestJava (Thread[Execution worker for ':',5,main]) completed. Took 0.0 secs.
:model:compileTestGroovy (Thread[Execution worker for ':',5,main]) started.
> Task :model:compileTestGroovy NO-SOURCE
file or directory '/Users/alex/projects/api-edo-distate-autotests/model/src/test/groovy', not found
Skipping task ':model:compileTestGroovy' as it has no source files and no previous output files.
:model:compileTestGroovy (Thread[Execution worker for ':',5,main]) completed. Took 0.0 secs.
:model:processTestResources (Thread[Execution worker for ':',5,main]) started.
> Task :model:processTestResources NO-SOURCE
file or directory '/Users/alex/projects/api-edo-distate-autotests/model/src/test/resources', not found
Skipping task ':model:processTestResources' as it has no source files and no previous output files.
:model:processTestResources (Thread[Execution worker for ':',5,main]) completed. Took 0.0 secs.
:model:testClasses (Thread[Execution worker for ':',5,main]) started.
> Task :model:testClasses UP-TO-DATE
Skipping task ':model:testClasses' as it has no actions.
:model:testClasses (Thread[Execution worker for ':',5,main]) completed. Took 0.0 secs.
:model:test (Thread[Execution worker for ':',5,main]) started.
> Task :model:test NO-SOURCE
Skipping task ':model:test' as it has no source files and no previous output files.
:model:test (Thread[Execution worker for ':',5,main]) completed. Took 0.0 secs.
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':test'.
> There were failing tests. See the report at: file:///Users/alex/projects/api-edo-distate-autotests/build/reports/tests/test/index.html
* Try:
Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 50s
12 actionable tasks: 12 executed
Stopped 1 worker daemon(s).
macs-MacBook-Air:api-edo-distate-autotests alex$