Generated by TestNG with ReportNG at 22:20 PDT on Tuesday 20 September 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.855s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.673s
2022-09-20 22:35:05 |

2022-09-20 22:35:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-09-20 22:35:05 | ------------------------------------

2022-09-20 22:35:05 | [Mutex] isItemNotified: node_xfqzln0204:exists :: false

2022-09-20 22:35:05 | [Mutex] waiting for: [node_xfqzln0204:create_node]

2022-09-20 22:35:05 | [Mutex] received everything.

2022-09-20 22:35:05 | [Mutex] isItemNotified: node_xfqzln0204:create_node:success :: true

2022-09-20 22:35:05 | [Mutex] waiting for: [node_xfqzln0204:subscribe_node]

2022-09-20 22:35:05 | [Mutex] received everything.

2022-09-20 22:35:05 | [Mutex] isItemNotified: node_xfqzln0204:subscribe_node:success :: true

2022-09-20 22:35:05 |


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


2022-09-20 22:35:05 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-09-20 22:35:05 | command: <data><node>node_xfqzln0204</node><entry><content>content_1fj4f10205</content></entry></data>

2022-09-20 22:35:05 | target: http://localhost:8088

2022-09-20 22:35:05 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-09-20 22:35:05 | entity: <data><node>node_xfqzln0204</node><entry><content>content_1fj4f10205</content></entry></data>

2022-09-20 22:35:05 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 21 Sep 2022 05:35:05 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-09-20 22:35:05 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>2bea1a90-26a1-4522-91f9-95a773d0129f</value></item-id></result>

2022-09-20 22:35:05 | contains: true

2022-09-20 22:35:05 | [Mutex] received everything.

2022-09-20 22:35:05 | [Mutex] isItemNotified: user_regular5lsli0203@test-domain.com:message:received:content_1fj4f10205 :: true

2022-09-20 22:35:05 |


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


2022-09-20 22:35:05 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-09-20 22:35:05 | command: <data><node>node_xfqzln0204</node><expire-at>2022-09-21T05:35:00Z</expire-at><entry><content>content_kqkd270206</content></entry></data>

2022-09-20 22:35:05 | target: http://localhost:8088

2022-09-20 22:35:05 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-09-20 22:35:05 | entity: <data><node>node_xfqzln0204</node><expire-at>2022-09-21T05:35:00Z</expire-at><entry><content>content_kqkd270206</content></entry></data>

2022-09-20 22:35:05 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 21 Sep 2022 05:35:05 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-09-20 22:35:05 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>ea71add8-501e-4c09-9f00-a4d101c51256</value></item-id></result>

2022-09-20 22:35:05 | contains: true

2022-09-20 22:35:05 | [Mutex] waiting for: [user_regular5lsli0203@test-domain.com:message:received:content_kqkd270206]

2022-09-20 22:35:20 | [Mutex] timeout. Not received [user_regular5lsli0203@test-domain.com:message:received:content_kqkd270206]

2022-09-20 22:35:20 | [Mutex] isItemNotified: user_regular5lsli0203@test-domain.com:message:received:content_kqkd270206 :: false

2022-09-20 22:35:20 |


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


2022-09-20 22:35:20 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-09-20 22:35:20 | command: <data><node>node_xfqzln0204</node><entry><content>content_vw10lv0207</content></entry></data>

2022-09-20 22:35:20 | target: http://localhost:8088

2022-09-20 22:35:20 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-09-20 22:35:20 | entity: <data><node>node_xfqzln0204</node><entry><content>content_vw10lv0207</content></entry></data>

2022-09-20 22:35:20 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 21 Sep 2022 05:35:20 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-09-20 22:35:20 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>2a99e7f7-6fd7-4c92-97ef-6582e5b65ad4</value></item-id></result>

2022-09-20 22:35:20 | contains: true

2022-09-20 22:35:25 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-09-20 22:35:25 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222

2022-09-20 22:35:25 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-09-20 22:35:25 | [Mutex] waiting for: [user_regular5lsli0203@test-domain.com:message:received:content_vw10lv0207]

2022-09-20 22:35:25 | [Mutex] received everything.

2022-09-20 22:35:25 | [Mutex] isItemNotified: user_regular5lsli0203@test-domain.com:message:received:content_vw10lv0207 :: true

2022-09-20 22:35:25 |


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


2022-09-20 22:35:25 | [Mutex] received everything.

2022-09-20 22:35:25 | [Mutex] isItemNotified: node_xfqzln0204:subscribe_node:success :: true

2022-09-20 22:35:25 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-09-20 22:35:25 | command: <data><node>node_xfqzln0204</node><expire-at>2022-09-21T05:35:30Z</expire-at><entry><content>content_y90phu0208</content></entry></data>

2022-09-20 22:35:25 | target: http://localhost:8088

2022-09-20 22:35:25 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-09-20 22:35:25 | entity: <data><node>node_xfqzln0204</node><expire-at>2022-09-21T05:35:30Z</expire-at><entry><content>content_y90phu0208</content></entry></data>

2022-09-20 22:35:26 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 21 Sep 2022 05:35:26 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-09-20 22:35:26 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>f4eba1db-e163-4289-95d5-9ab8f106e63b</value></item-id></result>

2022-09-20 22:35:26 | contains: true

2022-09-20 22:35:34 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-09-20 22:35:34 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222

2022-09-20 22:35:34 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-09-20 22:35:34 | [Mutex] waiting for: [user_regular5lsli0203@test-domain.com:message:received:content_y90phu0208]

2022-09-20 22:35:34 | [Mutex] waiting for: [user_regular5lsli0203@test-domain.com:message:received:content_y90phu0208]

2022-09-20 22:35:34 | [Mutex] waiting for: [user_regular5lsli0203@test-domain.com:message:received:content_y90phu0208]

2022-09-20 22:35:49 | [Mutex] timeout. Not received [user_regular5lsli0203@test-domain.com:message:received:content_y90phu0208]

2022-09-20 22:35:49 | [Mutex] received everything.

2022-09-20 22:35:49 | [Mutex] isItemNotified: user_regular5lsli0203@test-domain.com:message:received:content_y90phu0208 :: false

2022-09-20 22:35:49 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_y90phu0208 :: true