Generated by TestNG with ReportNG at 03:41 PST on Thursday 24 November 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.585s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.609s
2022-11-24 03:59:04 |

2022-11-24 03:59:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-11-24 03:59:04 | ------------------------------------

2022-11-24 03:59:04 | [Mutex] isItemNotified: node_zb01bk0204:exists :: false

2022-11-24 03:59:04 | [Mutex] waiting for: [node_zb01bk0204:create_node]

2022-11-24 03:59:04 | [Mutex] received everything.

2022-11-24 03:59:04 | [Mutex] isItemNotified: node_zb01bk0204:create_node:success :: true

2022-11-24 03:59:04 | [Mutex] waiting for: [node_zb01bk0204:subscribe_node]

2022-11-24 03:59:04 | [Mutex] received everything.

2022-11-24 03:59:04 | [Mutex] isItemNotified: node_zb01bk0204:subscribe_node:success :: true

2022-11-24 03:59:04 |


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


2022-11-24 03:59:04 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-11-24 03:59:04 | command: <data><node>node_zb01bk0204</node><entry><content>content_ew65wj0205</content></entry></data>

2022-11-24 03:59:04 | target: http://localhost:8088

2022-11-24 03:59:04 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-11-24 03:59:04 | entity: <data><node>node_zb01bk0204</node><entry><content>content_ew65wj0205</content></entry></data>

2022-11-24 03:59:04 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 24 Nov 2022 11:59:04 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-11-24 03:59:04 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>e4f6176f-6a58-44d1-a094-22c61c6c8c09</value></item-id></result>

2022-11-24 03:59:04 | contains: true

2022-11-24 03:59:04 | [Mutex] waiting for: [user_regular94w9wa0203@test-domain.com:message:received:content_ew65wj0205]

2022-11-24 03:59:04 | [Mutex] received everything.

2022-11-24 03:59:04 | [Mutex] isItemNotified: user_regular94w9wa0203@test-domain.com:message:received:content_ew65wj0205 :: true

2022-11-24 03:59:04 |


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


2022-11-24 03:59:04 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-11-24 03:59:04 | command: <data><node>node_zb01bk0204</node><expire-at>2022-11-24T11:58:59Z</expire-at><entry><content>content_ws23md0206</content></entry></data>

2022-11-24 03:59:04 | target: http://localhost:8088

2022-11-24 03:59:04 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-11-24 03:59:04 | entity: <data><node>node_zb01bk0204</node><expire-at>2022-11-24T11:58:59Z</expire-at><entry><content>content_ws23md0206</content></entry></data>

2022-11-24 03:59:04 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 24 Nov 2022 11:59:04 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-11-24 03:59:04 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>6db3ece3-7515-43dd-a194-96d0cf915531</value></item-id></result>

2022-11-24 03:59:04 | contains: true

2022-11-24 03:59:04 | [Mutex] waiting for: [user_regular94w9wa0203@test-domain.com:message:received:content_ws23md0206]

2022-11-24 03:59:19 | [Mutex] timeout. Not received [user_regular94w9wa0203@test-domain.com:message:received:content_ws23md0206]

2022-11-24 03:59:19 | [Mutex] isItemNotified: user_regular94w9wa0203@test-domain.com:message:received:content_ws23md0206 :: false

2022-11-24 03:59:19 |


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


2022-11-24 03:59:19 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-11-24 03:59:19 | command: <data><node>node_zb01bk0204</node><entry><content>content_g5vpz60207</content></entry></data>

2022-11-24 03:59:19 | target: http://localhost:8088

2022-11-24 03:59:19 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-11-24 03:59:19 | entity: <data><node>node_zb01bk0204</node><entry><content>content_g5vpz60207</content></entry></data>

2022-11-24 03:59:19 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 24 Nov 2022 11:59:19 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-11-24 03:59:19 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>ebe116f1-d640-4f06-b552-1bc738e032bb</value></item-id></result>

2022-11-24 03:59:19 | contains: true

2022-11-24 03:59:24 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-11-24 03:59:24 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222

2022-11-24 03:59:24 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-11-24 03:59:24 | [Mutex] waiting for: [user_regular94w9wa0203@test-domain.com:message:received:content_g5vpz60207]

2022-11-24 03:59:24 | [Mutex] received everything.

2022-11-24 03:59:24 | [Mutex] isItemNotified: user_regular94w9wa0203@test-domain.com:message:received:content_g5vpz60207 :: true

2022-11-24 03:59:24 |


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


2022-11-24 03:59:24 | [Mutex] received everything.

2022-11-24 03:59:24 | [Mutex] isItemNotified: node_zb01bk0204:subscribe_node:success :: true

2022-11-24 03:59:24 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-11-24 03:59:24 | command: <data><node>node_zb01bk0204</node><expire-at>2022-11-24T11:59:29Z</expire-at><entry><content>content_u9qx8b0208</content></entry></data>

2022-11-24 03:59:24 | target: http://localhost:8088

2022-11-24 03:59:24 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-11-24 03:59:24 | entity: <data><node>node_zb01bk0204</node><expire-at>2022-11-24T11:59:29Z</expire-at><entry><content>content_u9qx8b0208</content></entry></data>

2022-11-24 03:59:24 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 24 Nov 2022 11:59:24 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-11-24 03:59:24 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>0b0795e6-ef92-479c-ab8c-5715f188fbe8</value></item-id></result>

2022-11-24 03:59:24 | contains: true

2022-11-24 03:59:32 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-11-24 03:59:32 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222

2022-11-24 03:59:32 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-11-24 03:59:33 | [Mutex] waiting for: [user_regular94w9wa0203@test-domain.com:message:received:content_u9qx8b0208]

2022-11-24 03:59:33 | [Mutex] waiting for: [user_regular94w9wa0203@test-domain.com:message:received:content_u9qx8b0208]

2022-11-24 03:59:33 | [Mutex] waiting for: [user_regular94w9wa0203@test-domain.com:message:received:content_u9qx8b0208]

2022-11-24 03:59:48 | [Mutex] timeout. Not received [user_regular94w9wa0203@test-domain.com:message:received:content_u9qx8b0208]

2022-11-24 03:59:48 | [Mutex] received everything.

2022-11-24 03:59:48 | [Mutex] isItemNotified: user_regular94w9wa0203@test-domain.com:message:received:content_u9qx8b0208 :: false

2022-11-24 03:59:48 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_u9qx8b0208 :: true