gluu
公開メンバ関数 | 全メンバ一覧
org.xdi.oxd.server.manual.StressTest クラス
org.xdi.oxd.server.manual.StressTest 連携図
Collaboration graph

公開メンバ関数

void test (String host, String redirectUrl, String opHost) throws IOException
 

詳解

著者
Yuriy Zabrovarnyy
バージョン
0.9, 17/08/2016

関数詳解

◆ test()

void org.xdi.oxd.server.manual.StressTest.test ( String  host,
String  redirectUrl,
String  opHost 
) throws IOException
inline
27  {
28  ClientInterface client = Tester.newClient(host);
29 
30  final RegisterSiteResponse site = RegisterSiteTest.registerSite(client, opHost, redirectUrl);
31 
32  final GetAuthorizationUrlParams params = new GetAuthorizationUrlParams();
33  params.setOxdId(site.getOxdId());
34 
35  final GetAuthorizationUrlResponse resp = client.getAuthorizationUrl(Tester.getAuthorization(), params).dataAsResponse(GetAuthorizationUrlResponse.class);
36  assertNotNull(resp);
37  notEmpty(resp.getAuthorizationUrl());
38  Assert.assertTrue(resp.getAuthorizationUrl().contains("acr_values"));
39  }

このクラス詳解は次のファイルから抽出されました: