Generated by TestNG with ReportNG at 22:19 PDT on Sunday 07 August 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.602s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.603s
2022-08-07 22:34:26 |

2022-08-07 22:34:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-08-07 22:34:26 | ------------------------------------

2022-08-07 22:34:26 | [Mutex] isItemNotified: node_n89ita0204:exists :: false

2022-08-07 22:34:26 | [Mutex] waiting for: [node_n89ita0204:create_node]

2022-08-07 22:34:26 | [Mutex] received everything.

2022-08-07 22:34:26 | [Mutex] isItemNotified: node_n89ita0204:create_node:success :: true

2022-08-07 22:34:26 | [Mutex] waiting for: [node_n89ita0204:subscribe_node]

2022-08-07 22:34:26 | [Mutex] received everything.

2022-08-07 22:34:26 | [Mutex] isItemNotified: node_n89ita0204:subscribe_node:success :: true

2022-08-07 22:34:26 |


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


2022-08-07 22:34:26 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-07 22:34:26 | command: <data><node>node_n89ita0204</node><entry><content>content_nsxm1p0205</content></entry></data>

2022-08-07 22:34:26 | target: http://localhost:8088

2022-08-07 22:34:26 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-08-07 22:34:26 | entity: <data><node>node_n89ita0204</node><entry><content>content_nsxm1p0205</content></entry></data>

2022-08-07 22:34:26 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 08 Aug 2022 05:34:26 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-07 22:34:26 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>97c9bf2e-fc7b-476c-8626-d7cbe8ba2bf6</value></item-id></result>

2022-08-07 22:34:26 | contains: true

2022-08-07 22:34:26 | [Mutex] received everything.

2022-08-07 22:34:26 | [Mutex] isItemNotified: user_regularu7l4no0203@test-domain.com:message:received:content_nsxm1p0205 :: true

2022-08-07 22:34:26 |


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


2022-08-07 22:34:26 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-07 22:34:26 | command: <data><node>node_n89ita0204</node><expire-at>2022-08-08T05:34:21Z</expire-at><entry><content>content_otcgvb0206</content></entry></data>

2022-08-07 22:34:26 | target: http://localhost:8088

2022-08-07 22:34:26 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-08-07 22:34:26 | entity: <data><node>node_n89ita0204</node><expire-at>2022-08-08T05:34:21Z</expire-at><entry><content>content_otcgvb0206</content></entry></data>

2022-08-07 22:34:26 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 08 Aug 2022 05:34:26 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-07 22:34:26 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>ba2c6d19-d05f-4040-9d07-5d2493a116de</value></item-id></result>

2022-08-07 22:34:26 | contains: true

2022-08-07 22:34:26 | [Mutex] waiting for: [user_regularu7l4no0203@test-domain.com:message:received:content_otcgvb0206]

2022-08-07 22:34:41 | [Mutex] timeout. Not received [user_regularu7l4no0203@test-domain.com:message:received:content_otcgvb0206]

2022-08-07 22:34:41 | [Mutex] isItemNotified: user_regularu7l4no0203@test-domain.com:message:received:content_otcgvb0206 :: false

2022-08-07 22:34:41 |


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


2022-08-07 22:34:41 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-07 22:34:41 | command: <data><node>node_n89ita0204</node><entry><content>content_gbvil40207</content></entry></data>

2022-08-07 22:34:41 | target: http://localhost:8088

2022-08-07 22:34:41 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-08-07 22:34:41 | entity: <data><node>node_n89ita0204</node><entry><content>content_gbvil40207</content></entry></data>

2022-08-07 22:34:41 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 08 Aug 2022 05:34:41 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-07 22:34:41 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>f1be6329-930c-432a-81cd-8d50d3772d41</value></item-id></result>

2022-08-07 22:34:41 | contains: true

2022-08-07 22:34:46 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-08-07 22:34:46 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222

2022-08-07 22:34:46 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-08-07 22:34:46 | [Mutex] waiting for: [user_regularu7l4no0203@test-domain.com:message:received:content_gbvil40207]

2022-08-07 22:34:46 | [Mutex] received everything.

2022-08-07 22:34:46 | [Mutex] isItemNotified: user_regularu7l4no0203@test-domain.com:message:received:content_gbvil40207 :: true

2022-08-07 22:34:46 |


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


2022-08-07 22:34:46 | [Mutex] received everything.

2022-08-07 22:34:46 | [Mutex] isItemNotified: node_n89ita0204:subscribe_node:success :: true

2022-08-07 22:34:46 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-07 22:34:46 | command: <data><node>node_n89ita0204</node><expire-at>2022-08-08T05:34:51Z</expire-at><entry><content>content_lcgsx00208</content></entry></data>

2022-08-07 22:34:46 | target: http://localhost:8088

2022-08-07 22:34:46 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-08-07 22:34:46 | entity: <data><node>node_n89ita0204</node><expire-at>2022-08-08T05:34:51Z</expire-at><entry><content>content_lcgsx00208</content></entry></data>

2022-08-07 22:34:47 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 08 Aug 2022 05:34:47 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-07 22:34:47 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>9ffdc452-1154-4b8f-8bcf-9c9bd3a11cae</value></item-id></result>

2022-08-07 22:34:47 | contains: true

2022-08-07 22:34:55 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-08-07 22:34:55 | [Mutex] waiting for: [user_regularu7l4no0203@test-domain.com:message:received:content_lcgsx00208]

2022-08-07 22:35:10 | [Mutex] timeout. Not received [user_regularu7l4no0203@test-domain.com:message:received:content_lcgsx00208]

2022-08-07 22:35:10 | [Mutex] received everything.

2022-08-07 22:35:10 | [Mutex] isItemNotified: user_regularu7l4no0203@test-domain.com:message:received:content_lcgsx00208 :: false

2022-08-07 22:35:10 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_lcgsx00208 :: true