web services - Always get Response back APIs? -


i forget, there ever situation may not http response back? let's send request api, , bombs on side. they're supposed set status code if happens assume there have times there other variables fail in might not response back.

i'm trying setup of tdd. think testing whether non-null response first 'simplest possible' test start out with.

well, suggest having test checking response not null worthless. tdd not writing infinite little tests develop (like testing constructor creates object etc.), topic altogether.

back on topic, there situation network fails, wouldn't response @ all.


Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -

How to provide Authorization & Authentication using Asp.net, C#? -