get list of urls from site

get list of urls from page

for loadtests i.e.

Entire Site:

wget --spider -p -r $URL 2>&1 | grep '^--' | awk '{ print $3 }'| sort | uniq >urllist

or

for single page

 wget --spider -p $URL 2>&1 | grep '^--' | awk '{ print $3 }'| sort | uniq >urllist