25. cURL flags
-H [HTTP header]
Set the Accept or Content-Type headers
(e.g. text/xml, or application/json)
Useful, if the web server/service parses them.
26. cURL examples
sponse
Re
est XML
R equ
curl -X GET -H "Accept: text/xml" http://localhost/agents/1
27. tion
n ac pp
cu rl i
ils a
Gra ting
w ith a etec
nt d
onte vice
c
ser
29. Cr eate
curl -X POST http://localhost/agents/?name=Ben
Read
curl -X GET http://localhost/agents/1
Up date
curl -X PUT http://localhost/agents/1/?name=Benny
De lete
curl -X DELETE http://localhost/agents/1
30. tion
n ac pp
cu rl i
Gra ils a
wi th a vice
EST ser
R
43. TCPDump
Purpose
‣ Output headers of packets from a network.
‣ Filter results with powerful expressions.
‣ Save captured data to a file.
44. TCPDump
Useful for
‣ Debugging network traffic.
‣ Examining socket communications.
‣ Inspecting web service calls.
‣ Examining network data as a 3rd party
60. Wireshark usage
Gotcha on Mac OSX
At a terminal, upon each boot, type:
sudo chown YOURUSERNAME /dev/bpf*
Gotcha on Windows
Promiscuous mode doesn’t always work.
133. Useful for
‣ Discovering the GC cycles of your app.
‣ Finding the largest memory usage culprits.
134. Useful for
‣ Discovering the GC cycles of your app.
‣ Finding the largest memory usage culprits.
‣ Diffing memory snapshots.
135. Useful for
‣ Discovering the GC cycles of your app.
‣ Finding the largest memory usage culprits.
‣ Diffing memory snapshots.
‣ Injecting btrace code.
136. Useful for
‣ Discovering the GC cycles of your app.
‣ Finding the largest memory usage culprits.
‣ Diffing memory snapshots.
‣ Injecting btrace code.
‣ Snapping heapdumps.
178. Java
Network Web Service
OSS Debug
Tools
Filesystem JavaScript
179.
180. FireBug
Purpose
Visually inspect an entire HTML DOM.
Useful for
Testing HTML and CSS changes.
Making realtime changes to the DOM.
Monitoring network traffic.
Debuging JavaScript.
209. Twitter
@matthewmccull Matthew
Blog
http://www.ambientideas.com/blog
sidebar has all my social media links
Email
matthewm@ambientideas.com
GitHub
http://github.com/matthewmccullough