-
Notifications
You must be signed in to change notification settings - Fork 41
SIP User Documentation Chapter 3
PREVIOUS CHAPTER | TOC | NEXT CHAPTER
A SIP node configuration element is responsible for creating and configuring the connection to the SIP network.
For each connection to the SIP network, a separate SIP node element must be defined in Apache JMeter. For example, when Apache JMeter is used to simulate services running on an IN platform, a separate SIP node element is needed for each simulated service.
The SIP node context context within the SIP node configuration element is responsible for the following processes:
- Managing the physical connection to the SIP network
- Receiving and storing incoming SIP messages
- Sending SIP messages based on SIPCommandSampler requests
Local IP address and local port are defined at the SIP node level, and the whole network can be accessed from the node.
Routing is done based on the parameters defined at sampler level.
See Dialog management and transaction identification page.
Apache JMeter allows you to handle dialog IDs and transaction IDs locally in a logical manner. Logical IDs are mapped to the real IDs that are created by the stack.
SIP nodes can be used in functional and performance mode. Depending on traffic type configuration, messages are handled differently by the SIP node.
- Incoming requests are stored in the SIP node context. A sampler needs to be added to the Thread Group to check the reception of a specific request and another sampler needs to be added to send a response.
- Incoming responses are matched with the corresponding transaction. A sampler needs to be added to check the reception of a specific response.
- Incoming requests are answered automatically.
- Incoming responses are discarded.
Use performance mode if you want to send a lot of messages in asynchronous mode, for example, for the performance or overload test of a remote server.
Do not use this traffic type if complex answers are expected by the remote system after initiating a dialog remotely. The content of automatic answers provided by the SIP node is acknowledgement.
In asynchronous mode, the traffic rate is completely independent from the answer time.
© Copyright 2019-2020 Hewlett Packard Enterprise Development LP
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and limitations under the License.
- Chapter 1: Introduction
- Chapter 2: SIP JMeter elements
- Chapter 3: Interaction between SIP nodes, samplers and peer nodes
- Chapter 4: Dialog management and transaction identification
- Chapter 5: Adding and configuring SIP nodes
- Chapter 6: Adding and configuring SIP samplers
- Chapter 7: Result structure produced by SIP specific samplers
- Appendix A: Logs and Traces
- Appendix B: Statistics