Generated by TestNG with ReportNG at 22:46 PDT on Saturday 09 July 2022
root@ed1b7dd8a1b3 / 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.798s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.577s
2022-07-09 23:00:14 |

2022-07-09 23:00:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-07-09 23:00:14 | ------------------------------------

2022-07-09 23:00:14 | [Mutex] isItemNotified: node_xbumdn0167:exists :: false

2022-07-09 23:00:14 | [Mutex] waiting for: [node_xbumdn0167:create_node]

2022-07-09 23:00:14 | [Mutex] received everything.

2022-07-09 23:00:14 | [Mutex] isItemNotified: node_xbumdn0167:create_node:success :: true

2022-07-09 23:00:14 | [Mutex] waiting for: [node_xbumdn0167:subscribe_node]

2022-07-09 23:00:14 | [Mutex] waiting for: [node_xbumdn0167:subscribe_node]

2022-07-09 23:00:14 | [Mutex] received everything.

2022-07-09 23:00:14 | [Mutex] isItemNotified: node_xbumdn0167:subscribe_node:success :: true

2022-07-09 23:00:14 |


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


2022-07-09 23:00:14 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-09 23:00:14 | command: <data><node>node_xbumdn0167</node><entry><content>content_hzvsmy0168</content></entry></data>

2022-07-09 23:00:14 | target: http://localhost:8088

2022-07-09 23:00:14 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-07-09 23:00:14 | entity: <data><node>node_xbumdn0167</node><entry><content>content_hzvsmy0168</content></entry></data>

2022-07-09 23:00:14 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 10 Jul 2022 06:00:14 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-09 23:00:14 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>7a78bc91-c69e-4af9-9baf-3b7b04ea0eba</value></item-id></result>

2022-07-09 23:00:14 | contains: true

2022-07-09 23:00:14 | [Mutex] waiting for: [user_regularskozls0166@test-domain.com:message:received:content_hzvsmy0168]

2022-07-09 23:00:14 | [Mutex] received everything.

2022-07-09 23:00:14 | [Mutex] isItemNotified: user_regularskozls0166@test-domain.com:message:received:content_hzvsmy0168 :: true

2022-07-09 23:00:14 |


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


2022-07-09 23:00:14 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-09 23:00:14 | command: <data><node>node_xbumdn0167</node><expire-at>2022-07-10T06:00:09Z</expire-at><entry><content>content_obgvab0169</content></entry></data>

2022-07-09 23:00:14 | target: http://localhost:8088

2022-07-09 23:00:14 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-07-09 23:00:14 | entity: <data><node>node_xbumdn0167</node><expire-at>2022-07-10T06:00:09Z</expire-at><entry><content>content_obgvab0169</content></entry></data>

2022-07-09 23:00:14 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 10 Jul 2022 06:00:14 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-09 23:00:14 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>ebe1c0c3-31fb-465d-b04e-296bed452558</value></item-id></result>

2022-07-09 23:00:14 | contains: true

2022-07-09 23:00:14 | [Mutex] waiting for: [user_regularskozls0166@test-domain.com:message:received:content_obgvab0169]

2022-07-09 23:00:29 | [Mutex] timeout. Not received [user_regularskozls0166@test-domain.com:message:received:content_obgvab0169]

2022-07-09 23:00:29 | [Mutex] isItemNotified: user_regularskozls0166@test-domain.com:message:received:content_obgvab0169 :: false

2022-07-09 23:00:29 |


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


2022-07-09 23:00:29 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-09 23:00:29 | command: <data><node>node_xbumdn0167</node><entry><content>content_knxmz0170</content></entry></data>

2022-07-09 23:00:29 | target: http://localhost:8088

2022-07-09 23:00:29 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false]

2022-07-09 23:00:29 | entity: <data><node>node_xbumdn0167</node><entry><content>content_knxmz0170</content></entry></data>

2022-07-09 23:00:29 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 10 Jul 2022 06:00:29 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-09 23:00:29 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>1ae017b4-f47a-4d8b-baba-b20696484d09</value></item-id></result>

2022-07-09 23:00:29 | contains: true

2022-07-09 23:00:34 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-07-09 23:00:34 | [Mutex] waiting for: [user_regularskozls0166@test-domain.com:message:received:content_knxmz0170]

2022-07-09 23:00:34 | [Mutex] waiting for: [user_regularskozls0166@test-domain.com:message:received:content_knxmz0170]

2022-07-09 23:00:34 | [Mutex] received everything.

2022-07-09 23:00:34 | [Mutex] isItemNotified: user_regularskozls0166@test-domain.com:message:received:content_knxmz0170 :: true

2022-07-09 23:00:34 |


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


2022-07-09 23:00:34 | [Mutex] received everything.

2022-07-09 23:00:34 | [Mutex] isItemNotified: node_xbumdn0167:subscribe_node:success :: true

2022-07-09 23:00:34 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-09 23:00:34 | command: <data><node>node_xbumdn0167</node><expire-at>2022-07-10T06:00:39Z</expire-at><entry><content>content_y037ti0171</content></entry></data>

2022-07-09 23:00:34 | target: http://localhost:8088

2022-07-09 23:00:34 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-07-09 23:00:34 | entity: <data><node>node_xbumdn0167</node><expire-at>2022-07-10T06:00:39Z</expire-at><entry><content>content_y037ti0171</content></entry></data>

2022-07-09 23:00:34 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 10 Jul 2022 06:00:34 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-09 23:00:34 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>6cf5dbcc-6345-4e87-90e9-4e70aaf3e303</value></item-id></result>

2022-07-09 23:00:34 | contains: true

2022-07-09 23:00:42 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

2022-07-09 23:00:42 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=426 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-07-09 23:00:42 | [Mutex] waiting for: [user_regularskozls0166@test-domain.com:message:received:content_y037ti0171]

2022-07-09 23:00:57 | [Mutex] timeout. Not received [user_regularskozls0166@test-domain.com:message:received:content_y037ti0171]

2022-07-09 23:00:57 | [Mutex] received everything.

2022-07-09 23:00:57 | [Mutex] isItemNotified: user_regularskozls0166@test-domain.com:message:received:content_y037ti0171 :: false

2022-07-09 23:00:57 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_y037ti0171 :: true