mojolingo / sippy_cup

Create SIP load test scenarios the easy way
http://mojolingo.github.io/sippy_cup
MIT License
218 stars 78 forks source link

"Can't open PCAP file" error happens on every Runner execution #47

Closed wdrexler closed 10 years ago

wdrexler commented 10 years ago

Right now, we're using the user-specified filename (see https://github.com/mojolingo/sippy_cup/blob/develop/lib/sippy_cup/scenario.rb#L518). When PCAP and the scenario are written to tempfiles, the filename doesn't match the user-specified one. I suggest we use some sort of placeholder, write the PCAP out first, then replace the placeholder in the XML with a path to the tempfile just before the scenario is written out.

benlangfeld commented 10 years ago

Yep, makes sense Will. You're happy to go ahead and do that?

wdrexler commented 10 years ago

Yeah, I can do that.

benlangfeld commented 10 years ago

This was fixed by #48.