View Issue Details

IDProjectCategoryView StatusLast Update
0001889Compliance Test Tool (CTT) Unified ArchitectureFeature Requestpublic2018-07-31 12:40
ReporterHannes Mezger Assigned ToAlexander Allmendinger  
PrioritynormalSeverityfeatureReproducibilityN/A
Status assignedResolutionopen 
Target Version1.02.336.273 
Summary0001889: Add support for adding service request hooks in analyzer mode
Description

Analogous to adding hooks for service responses it should be possible to add hooks for service requests when in analyzer mode (client test mode).

Additional Information

Currently it is not possible to trace the traffic between the UaExpert and the Java 1.3.0 Sample Server. With this feature, the initial GetEndpoints request could be modified, and the connection would get established.

TagsNo tags attached.
Files Affected

Activities

Nathan Pocock

2012-02-20 19:25

viewer   ~0003320

I agree that the ability to intercept and modify a request before it is sent to the server would be very useful.

I think that there is a script available that you can use to modify the "FindServers" and "GetEndpoints" responses so that your Java clients are forced to connect via the UACTT. In the script library you will find this script:

Start-FindServers-Intercept.js

That script should actually attach to GetEndpoints and FindServers and modify the results to point to the UACTT. Please try that and let me know if that helps you.

Hannes Mezger

2012-02-21 10:13

reporter   ~0003322

The problem i have is the UaExpert filling the EndpointURL parameter of the GetEndpoints request. The Java Server filters his available endpoints by some logic, using this parameter. Since the endpoint i connect to (Analyzer) is not the one of the Java Server, it returns no endpoints in the response and UaExpert does not connect. What i intend to do is to set the EndpointURL parameter to an empty string for all endpoints being returned.

Nathan Pocock

2012-02-21 21:47

viewer   ~0003333

Ah, I see. Hmm... How about another idea.. use the UACTT (Analyzer mode) to hard-code endpoints to return. It will not matter what the Java server returns because your script will just overwrite it anyway.

It's an ugly solution; but would be the quickest way to force the connection.

How's that sound?

Hannes Mezger

2012-02-22 10:26

reporter   ~0003334

yes, this would be possible, but it could be needed to load certificates into the endpoint description and would lead to a lot of scripting - the much easier way would be to just modify the EndpointURL parameter of the GetEndpoints call.

without adding the feature into the CTT this of course is a way to achieve what i intended.

Issue History

Date Modified Username Field Change
2012-02-20 14:44 Hannes Mezger New Issue
2012-02-20 14:44 Hannes Mezger Status new => assigned
2012-02-20 14:44 Hannes Mezger Assigned To => Matthias Isele
2012-02-20 19:25 Nathan Pocock Note Added: 0003320
2012-02-21 10:13 Hannes Mezger Note Added: 0003322
2012-02-21 21:47 Nathan Pocock Note Added: 0003333
2012-02-22 10:26 Hannes Mezger Note Added: 0003334
2014-08-18 19:43 Nathan Pocock Assigned To Matthias Isele => Nathan Pocock
2014-08-28 14:03 Nathan Pocock Category Feature Request => (No Category)
2014-08-28 14:20 Nathan Pocock Category (No Category) => Feature Request
2014-08-28 14:20 Nathan Pocock Target Version => 1.02.336.273
2018-07-31 12:40 Paul Hunkar Assigned To Nathan Pocock => Alexander Allmendinger