grinder


Grinder - recording script seems to have no effect


I'm attempting to record a script using the following command.
java net.grinder.TCPProxy -console -http > grinderTest.py
It appears to work (as in while the proxy is recording I can visit the web pages), but when I stop it, nothing has been output to grinderTest.py.
How to solve this?
Also, if someone else searches this, this can be caused if you are testing with a server on your localhost. When you have a proxy and localhost destination make sure that the proxy settings do not bypass the localhost target (preferences\network\settings in FireFox).
Answer pulled from OP
Something on classpath was causing grinder to throw an error before writing to the file.
Reducing the classpath to only include grinder.jar solved the issue.

Related Links

JAVA API performance testing using GRINDER
Grinder how to use grinder API in java application?
Get request hanging in grinder
Grinder - recording script seems to have no effect
The Grinder: the console does not see the agent
Grinder 2 console on linux
How do I stop recording a test in a Grinder script?
How to run The Grinder in MAC?
How to set up “The Grinder” agent to recognize the console?

Categories

HOME
svn
mpdf
dotnetnuke
selenium-builder
antd
dry
code-formatting
mosquitto
video-streaming
clone
angular-meteor
gtk
match
locationmanager
fbloginview
game-maker
powermock
amazon-elb
global-variables
supervisord
el
altium-designer
ratio
function-points
environment
window-managers
xdebug
clipboard
openbravo
points
annotation-processing
dnsmasq
basic-authentication
envoy
matlab-app-designer
winsock
tightvnc
commonsware-cwac
knights-tour
microsoft-certifications
mongoengine
creation
stat
jacoco-maven-plugin
get-event-store
cloudera-sentry
word-cloud
expandablelistview
destroy
brightscript
gestures
line-intersection
nslayoutconstraint
nivo-slider
mobile-angular-ui
lvalue
openerp-6
system.net.mail
nsdata
apple-configurator
vaadin4spring
vimperator
openmrs
wikimedia-commons
juniper-network-connect
jnlp
360-degrees
postal-code
componentart
com0com
kotlin-android-extensions
gflags
jcheckbox
adhoc-polymorphism
berkeley-db-xml
object-code
category-theory
nachos
redpitaya
air-native-extension
radius-protocol
grails-2.3
virtual-channel
indesign-server
pacman
sunstudio
oembed
multiscaleimage
onconfigurationchanged
getopt-long
wcf-callbacks
glx
expression-web
representation
page-curl
gaelyk
ccnet-config
outlook-2007-addin
rational-unified-process
firephp
fxruby
inversion
gtktextview
datagridcolumn
account-management

Resources

Encrypt Message