Magento 1.9 – Mage->app()->getRequest()->getParam() Not Working

magento-1.9parameterurl

I am fetching the URL params as below.

Mage::app()->getRequest()->getParam('test');

Debugging with echo before the above statement, it works fine. But placing echo after this statement return nothing, only a blank page.

FYI,
one of the Mage::app() is working fine here.

Can anyone help me to sort out this issue?

Best Answer

use following & let me know:

$requestParams = $this->getRequest()->getParams();