Search This Blog

Showing posts with label Tools. Show all posts
Showing posts with label Tools. Show all posts

Tuesday, January 9, 2024

Handling Large file - generated

Dealing with Large Symbol Files


nice tool to compress exe or runtime file on linux 
use UPX

Wednesday, May 5, 2021

Tuesday, October 15, 2019

Gor - GoReplay - capturing and replaying live HTTP traffic

Gor is an open-source tool for capturing and replaying live HTTP traffic into a test environment in order to continuously test your system with real data. It can be used to increase confidence in code deployments, configuration changes and infrastructure changes.

usefull links 
https://github.com/buger/goreplay/wiki/Running-on-Windows



be aware if you listen to port 8000 you must have a live server on this port up and running.

on windows i get failed to listen on the localhost ( some loopback issue on the netwrok) , there are some post/articles about this issue  e.g. https://github.com/buger/goreplay/issues/440

but non- of them help me to capture from local host.
so i access my web server from remote and its work perfectly .
mean:
gor is running from the webserver machine e.g MyServer , and connect to port e.g 7001.
i access to this webserver from remote machine via url , e.g. http://MyServer :7001

starter command
-- will replay only POST method from the file requests.gor
goreplay.exe --input-file requests.gor --output-http="http://localhost:7001"  --http-allow-method POST

-- replay all request
goreplay.exe --input-file new_contact_0.gor --output-http="http://hlvm-yanivt:7001" 

--replay all request and log response 
goreplay.exe --input-file new_contact_0.gor --output-http="http://hlvm-yanivt:7001" --output-http-track-response --input-raw-track-response --output-file=new_contact_play.gor

--start record and log response
goreplay.exe --input-raw :7001 --output-stdout  --output-http-track-response --input-raw-track-response --output-file=requests.gor 


enjoy
Yaniv Tzanany

Sunday, March 26, 2017

Network performence tools

iperf3: A TCP, UDP, and SCTP network bandwidth measurement tool
iperf3 - samples http://fasterdata.es.net/performance-testing/network-troubleshooting-tools/iperf-and-iperf3/


NTttcp Utility: Profile and Measure Windows Networking Performance


List of network-troubleshooting-tools

DiskBenchmark  - i am using ActiveMQ product , i find out that there is a utility inside it called
DiskBenchmark.

i managed to run it this way - you cna run it on linux too , its java based
java -cp "C:\Program Files\ActiveMQ.5.6\apache-activemq-5.8.0\lib\activemq-kahadb-store-5.8.0.jar"  org.apache.activemq.store.kahadb.disk.util.DiskBenchmark

Wednesday, February 22, 2012

Configure Putty with Xming

very good instruction could be found here

Using PuTTY and Xming for X11 Forwarding


in case of failure such
Xlib: connection to "10.11.197.11:0.0" refused by server
Xlib: No protocol specified

try to run xming
Xming.exe -ac  


should help ... 


enjoy 
Yaniv Tzanany
 

Saturday, January 7, 2012

Start working with Celerity


How do i start
i downloaded JRUBY from  http://jruby.org/download and install it.

i opened a  command prompt - to install celerity.

D:\MyStuff\jruby\jruby-1.6.5.1\bin>jruby -S gem install celerity
Fetching: celerity-0.9.1.gem (100%)
Successfully installed celerity-0.9.1
1 gem installed

i opened the https://github.com/jarib/celerity/wiki/getting-started
i copied the example/first script into a file d:\temp\test.rb

back to the command prompt
D:\MyStuff\jruby\jruby-1.6.5.1\bin> testrb.bat D:\Temp\test.rb

looks worked to me

the second option is to run the script we mention , line by line from the command prompt ( for understanding).
in the command prompt - type irb
D:\MyStuff\jruby\jruby-1.6.5.1\bin> irb
puts "Hello world!"


now you can put each script line - and see the result of each command.


its just a starter , i am still investigating ...
use the command line tutorial ->   http://ruby.about.com/od/tutorials/a/commandline.htm

Yaniv Tzanany

Monday, November 14, 2011