EXLAP Support

You can use Service Virtualization to simulate communication over EXLAP (Extensible Lightweight Asynchronous Protocol) between a mobile application that connects to a vehicle and a supported vehicle, such as a car or truck that supports communication over EXLAP. This lets you:

  • Simulate conditions that are expensive or impossible to set up, such as very high speeds or a crash.
  • Automate testing for a wide range of vehicle models on multiple mobile phone models by integrating Mobile Center with Service Virtualization.

What is EXLAP?

EXLAP is a communication protocol that was created for use in the automotive industry. For more information, see the EXLAP documentation, for example, EXLAP specifications.

To test a mobile application that connects to a vehicle via EXLAP:

  1. In Designer, enable the EXLAP early access feature (Tools > Options > Early Access > Protocols and Agents). For more details, see Early Access Features.

  2. In the Agents pane (Tools > Options > Agents), create a TCP EXLAP agent, as described in Configure Agents. The following describes the EXLAP-related options:

  3. Option Description
    Host IP address or host name of the service.
    Port Port of the service.
    Remote Host IP address or host name of the car.
    Remote Port Port of the car.

  4. Create a virtual service, as described in Create New Virtual Service Wizard.

    1. In the Import Real Service Description page, select I don't have a service description and click Next.

    2. In the Choose Service Protocol page, select EXLAP over TCP and click Next.

    3. In the Service Properties page, accept the settings and click Next.

    4. In the Summary of Virtualization page, click Virtualize.

    The EXLAP virtual service is now ready to use.

  5. Do one of the following:

    • If you have previously recorded data, skip to the next step. 

    • Otherwise, in the vehicle, over WiFi, connect the mobile application under test (the mobile application that interacts with the car) to the Service Virtualization virtual endpoint. (While learning the services, the virtual endpoint connects to the real endpoint in the vehicle, enabling Service Virtualization to record the messages between the mobile application under test and the supported vehicle.)

  6. In the Virtual Service Editor > EXLAP Service tab, do one of the following:

    • Click Learn to record the service and learn the messages that are flowing between the mobile application and the vehicle. When enough messages are recorded, click Stop.

    • Import previously recorded data, as described in Import Request/Response Message Dialog Box.
  7. Click Simulate to virtualize the communication between the mobile application and the car.

  8. Switch to the EXLAP Data Model tab to view the simulated operations.

    Operation prefix Description
    url

    Represents the sensors in the car, for example, the vehicle speed, fuel consumption, and so on.

    When you select an operation in the left pane, the right pane displays:

    • Rsp response type. Messages received from a subscription to the sensors.

    • Dat response type. Updates to the values received from the vehicle sensors.

    You can right-click a row and select Row Detail to view more information. If you modify data, the changes are reflected when you restart the simulation and run the scenario by clicking Simulate. For example, you might want to modify the tire pressure, oil level, or vehicle speed and view the simulated results.

    svc Represents the handling of connections, and so on, for example, authentication.

Back to top