ihsanberahim
use Jaspersoft\Client\Client as c;
// return false;
$jc = new c(
'http://127.0.0.1:8080/jasperserver',
'jasperadmin',
'jasperadmin'
);
$rs = $jc->reportService();
$options = array(
"address" => 'mock',
);
$report = $rs->runReport('/reports/testing/testing', 'pdf', null, null, $options);
Storage::disk('local')->put('testing.pdf', $report);