我们正在测试使用Selenium (open source)的SMPPSim存根工具发送和接收短信。
大多数情况下,它适用于我们的测试。 但是,如果我们想要测试各种状态转换百分比, 我们在收到的递送通知消息中看不到任何影响。 即收到的所有邮件都具有相同的状态,无论设置的百分比如何 SMPPSim配置:所有都具有DELIVERED状态。
在配置文件smppsim.props中,我们设置了以下状态:
# Percentage of messages that change state each time we check (excluding expiry or messages being completely discarded due to age)
# Requires an integer between 0 and 100
PERCENTAGE_THAT_TRANSITION=75
# State transition percentages. These parameters define the percentage of messages that
# transition from ENROUTE to the specified final state. The list of percentages should
# add up to 100 and must be integer values. SMPPSim will adjust the percentages if they do not.
# Percentage of messages that will transition from ENROUTE to DELIVERED
PERCENTAGE_DELIVERED=75
# Percentage of messages that will transition from ENROUTE to UNDELIVERABLE
PERCENTAGE_UNDELIVERABLE=10
# Percentage of messages that will transition from ENROUTE to ACCEPTED
PERCENTAGE_ACCEPTED=5
# Percentage of messages that will transition from ENROUTE to REJECTED
PERCENTAGE_REJECTED=10
有没有人看到过与SMPPSim工具相同的效果? 在smppsim.props中是否有另一个可以触发不同状态的选项,或者这只是一个错误?