Generated by TestNG with ReportNG at 07:32 PDT on Tuesday 12 July 2022
root@f9c07ffec79b / Java 17.0.2 (Private Build) / Linux 4.14.281-212.502.amzn2.x86_64 (amd64)

REST: Item publication on PubSub node with message expiration using REST API - #2959

Suites · Log Output

Test duration : 44.760s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.557s
2022-07-12 07:44:52 |

2022-07-12 07:44:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-07-12 07:44:52 | ------------------------------------

2022-07-12 07:44:52 | [Mutex] isItemNotified: node_5lqwby0167:exists :: false

2022-07-12 07:44:52 | [Mutex] waiting for: [node_5lqwby0167:create_node]

2022-07-12 07:44:52 | [Mutex] received everything.

2022-07-12 07:44:52 | [Mutex] isItemNotified: node_5lqwby0167:create_node:success :: true

2022-07-12 07:44:52 | [Mutex] waiting for: [node_5lqwby0167:subscribe_node]

2022-07-12 07:44:52 | [Mutex] waiting for: [node_5lqwby0167:subscribe_node]

2022-07-12 07:44:52 | [Mutex] received everything.

2022-07-12 07:44:52 | [Mutex] isItemNotified: node_5lqwby0167:subscribe_node:success :: true

2022-07-12 07:44:52 |


===== publishing normal message (to online)


2022-07-12 07:44:52 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-12 07:44:52 | command: <data><node>node_5lqwby0167</node><entry><content>content_xibnks0168</content></entry></data>

2022-07-12 07:44:52 | target: http://localhost:8088

2022-07-12 07:44:52 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-07-12 07:44:52 | entity: <data><node>node_5lqwby0167</node><entry><content>content_xibnks0168</content></entry></data>

2022-07-12 07:44:52 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 12 Jul 2022 14:44:52 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-12 07:44:52 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>3913cb42-bb49-41d1-bf73-273be87d69d1</value></item-id></result>

2022-07-12 07:44:52 | contains: true

2022-07-12 07:44:52 | [Mutex] received everything.

2022-07-12 07:44:52 | [Mutex] isItemNotified: user_regularb6o1im0166@test-domain.com:message:received:content_xibnks0168 :: true

2022-07-12 07:44:52 |


===== publishing already old message - expecting message being filtered out (to online)


2022-07-12 07:44:52 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-12 07:44:52 | command: <data><node>node_5lqwby0167</node><expire-at>2022-07-12T14:44:47Z</expire-at><entry><content>content_c76z9g0169</content></entry></data>

2022-07-12 07:44:52 | target: http://localhost:8088

2022-07-12 07:44:52 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-07-12 07:44:52 | entity: <data><node>node_5lqwby0167</node><expire-at>2022-07-12T14:44:47Z</expire-at><entry><content>content_c76z9g0169</content></entry></data>

2022-07-12 07:44:52 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 12 Jul 2022 14:44:52 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-12 07:44:52 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>df83eacb-3ec1-4ea3-88da-0e136eee5661</value></item-id></result>

2022-07-12 07:44:52 | contains: true

2022-07-12 07:44:52 | [Mutex] waiting for: [user_regularb6o1im0166@test-domain.com:message:received:content_c76z9g0169]

2022-07-12 07:45:07 | [Mutex] timeout. Not received [user_regularb6o1im0166@test-domain.com:message:received:content_c76z9g0169]

2022-07-12 07:45:07 | [Mutex] isItemNotified: user_regularb6o1im0166@test-domain.com:message:received:content_c76z9g0169 :: false

2022-07-12 07:45:07 |


===== publishing normal message (to offline)


2022-07-12 07:45:07 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-12 07:45:07 | command: <data><node>node_5lqwby0167</node><entry><content>content_gipxwb0170</content></entry></data>

2022-07-12 07:45:07 | target: http://localhost:8088

2022-07-12 07:45:07 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-07-12 07:45:07 | entity: <data><node>node_5lqwby0167</node><entry><content>content_gipxwb0170</content></entry></data>

2022-07-12 07:45:07 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 12 Jul 2022 14:45:07 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-12 07:45:07 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>21ebb7cd-495a-49ae-9494-215425932f75</value></item-id></result>

2022-07-12 07:45:07 | contains: true

2022-07-12 07:45:12 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-07-12 07:45:12 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=425 thread=1] DNS entry stored in session object: localhost:5222

2022-07-12 07:45:12 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=425 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-07-12 07:45:12 | [Mutex] waiting for: [user_regularb6o1im0166@test-domain.com:message:received:content_gipxwb0170]

2022-07-12 07:45:12 | [Mutex] waiting for: [user_regularb6o1im0166@test-domain.com:message:received:content_gipxwb0170]

2022-07-12 07:45:12 | [Mutex] received everything.

2022-07-12 07:45:12 | [Mutex] isItemNotified: user_regularb6o1im0166@test-domain.com:message:received:content_gipxwb0170 :: true

2022-07-12 07:45:12 |


===== publishing already old message - expecting message being filtered out (to offline)


2022-07-12 07:45:12 | [Mutex] received everything.

2022-07-12 07:45:12 | [Mutex] isItemNotified: node_5lqwby0167:subscribe_node:success :: true

2022-07-12 07:45:12 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-12 07:45:12 | command: <data><node>node_5lqwby0167</node><expire-at>2022-07-12T14:45:17Z</expire-at><entry><content>content_mz46yr0171</content></entry></data>

2022-07-12 07:45:12 | target: http://localhost:8088

2022-07-12 07:45:12 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-07-12 07:45:12 | entity: <data><node>node_5lqwby0167</node><expire-at>2022-07-12T14:45:17Z</expire-at><entry><content>content_mz46yr0171</content></entry></data>

2022-07-12 07:45:12 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 12 Jul 2022 14:45:12 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-12 07:45:12 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>c3c58c8f-b14f-4691-881b-d953bd2f9fd3</value></item-id></result>

2022-07-12 07:45:12 | contains: true

2022-07-12 07:45:20 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-07-12 07:45:20 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=426 thread=1] DNS entry stored in session object: localhost:5222

2022-07-12 07:45:20 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=426 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-07-12 07:45:21 | [Mutex] waiting for: [user_regularb6o1im0166@test-domain.com:message:received:content_mz46yr0171]

2022-07-12 07:45:36 | [Mutex] timeout. Not received [user_regularb6o1im0166@test-domain.com:message:received:content_mz46yr0171]

2022-07-12 07:45:36 | [Mutex] received everything.

2022-07-12 07:45:36 | [Mutex] isItemNotified: user_regularb6o1im0166@test-domain.com:message:received:content_mz46yr0171 :: false

2022-07-12 07:45:36 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_mz46yr0171 :: true