# Integration Testing - hang with post parameters

**URL:** <https://www.ruby-forum.com/t/integration-testing-hang-with-post-parameters/123300>\
**Category:** Rails\
**Created:** [December 16, 2007, 4:56am UTC](https://www.ruby-forum.com/t/integration-testing-hang-with-post-parameters/123300 "2007-12-16T04:56:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rcarvalho](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/977dab/32.png) [@rcarvalho](https://www.ruby-forum.com/u/rcarvalho)\
**Post date:** [December 16, 2007, 4:56am UTC](https://www.ruby-forum.com/t/integration-testing-hang-with-post-parameters/123300/1 "2007-12-16T04:56:51Z")

</div>

I’m getting some weirdness with integration testing. The following  
works fine if I don’t have parameters, but as soon as I add parameters I  
get a hang. Not sure exactly where it is hanging.

NO HANG  
post ‘user/register’

HANG  
post ‘user/register’, :user =\> {:name =\> ‘John D.’, :email =\>  
‘removed\_email\_address@domain.invalid’, :zipcode =\> ‘12111’, :password =\> ‘hello’,  
:password\_confirmation =\> ‘hello’}

When I do a ctrl-C I get a bit of a trace… any ideas?

from  
/Users/rodney/code/puppy/vendor/rails/actionpack/lib/action\_controller/cgi\_ext/query\_extension.rb:76:in  
`read_body' from /Users/rodney/code/puppy/vendor/rails/actionpack/lib/action_controller/cgi_ext/query_extension.rb:88:in`read\_params’  
from  
/Users/rodney/code/puppy/vendor/rails/actionpack/lib/action\_controller/cgi\_ext/query\_extension.rb:46:in  
`initialize_query' from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/cgi.rb:2276:in`initialize\_without\_stdinput’  
from  
/Users/rodney/code/puppy/vendor/rails/actionpack/lib/action\_controller/cgi\_ext/stdinput.rb:19:in  
`initialize' from /Users/rodney/code/puppy/vendor/rails/actionpack/lib/action_controller/integration.rb:205:in`initialize’  
from  
/Users/rodney/code/puppy/vendor/rails/actionpack/lib/action\_controller/integration.rb:256:in  
`new' from /Users/rodney/code/puppy/vendor/rails/actionpack/lib/action_controller/integration.rb:256:in`process’  
… 17 levels…  
from  
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/test/unit/autorunner.rb:216:in  
`run' from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/test/unit/autorunner.rb:12:in`run’  
from  
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/test/unit.rb:278  
from  
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake/rake\_test\_loader.rb:5  
rake aborted!
