<meta content="text/html; charset=ISO-8859-1"
<body bidimailui-detected-decoding-type="latin-charset" text="#000000"
Have you considered using Python? ;)<br>
For reals. Instead of curl + regex, use httplib (http.client in
Python 3) + BeautifulSoup:<br>
<a class="moz-txt-link-freetext" href="http://www.crummy.com/software/BeautifulSoup/">http://www.crummy.com/software/BeautifulSoup/</a><br>
You didn't, however, tell us what kind of tests you are doing.<br>
<div class="moz-cite-prefix">On 11/07/2012 11:27 AM, Garrett Smith
<pre wrap="">I need to put together a simple test regime for a series of web apps.
I figure there'd be no shortage of excellent insight here!
Honestly, the best way to describe the requirements would be curl +
regex validation :)
I want to hit a URL, probably a simple GET. Then validate that it's
200. Then apply pattern matching to the response body. Fail if
anything isn't as expected.
Performance isn't an issue, but the ability to run the tests in
parallel might be a nice to have.
This is all command line based. I'm not running it through a browser
I've pretty much just talked myself into curl + grep, but any other
Chicago mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Chicago@python.org">Chicago@python.org</a>
<a class="moz-txt-link-freetext" href="http://mail.python.org/mailman/listinfo/chicago">http://mail.python.org/mailman/listinfo/chicago</a>