Generated by TestNG with ReportNG at 21:47 PST on Sunday 18 December 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.695s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.544s
2022-12-18 22:02:10 |

2022-12-18 22:02:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-12-18 22:02:10 | ------------------------------------

2022-12-18 22:02:10 | [Mutex] isItemNotified: node_q9fp5z0204:exists :: false

2022-12-18 22:02:10 | [Mutex] waiting for: [node_q9fp5z0204:create_node]

2022-12-18 22:02:10 | [Mutex] received everything.

2022-12-18 22:02:10 | [Mutex] isItemNotified: node_q9fp5z0204:create_node:success :: true

2022-12-18 22:02:10 | [Mutex] waiting for: [node_q9fp5z0204:subscribe_node]

2022-12-18 22:02:10 | [Mutex] waiting for: [node_q9fp5z0204:subscribe_node]

2022-12-18 22:02:10 | [Mutex] received everything.

2022-12-18 22:02:10 | [Mutex] isItemNotified: node_q9fp5z0204:subscribe_node:success :: true

2022-12-18 22:02:10 |


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


2022-12-18 22:02:10 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-12-18 22:02:10 | command: <data><node>node_q9fp5z0204</node><entry><content>content_pnuvl0205</content></entry></data>

2022-12-18 22:02:10 | target: http://localhost:8088

2022-12-18 22:02:10 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false]

2022-12-18 22:02:10 | entity: <data><node>node_q9fp5z0204</node><entry><content>content_pnuvl0205</content></entry></data>

2022-12-18 22:02:10 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 19 Dec 2022 06:02:10 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-12-18 22:02:10 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>8e173e7d-f72a-408c-8d68-f0a327a208db</value></item-id></result>

2022-12-18 22:02:10 | contains: true

2022-12-18 22:02:10 | [Mutex] received everything.

2022-12-18 22:02:10 | [Mutex] isItemNotified: user_regular203hre0203@test-domain.com:message:received:content_pnuvl0205 :: true

2022-12-18 22:02:10 |


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


2022-12-18 22:02:10 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-12-18 22:02:10 | command: <data><node>node_q9fp5z0204</node><expire-at>2022-12-19T06:02:05Z</expire-at><entry><content>content_tl633z0206</content></entry></data>

2022-12-18 22:02:10 | target: http://localhost:8088

2022-12-18 22:02:10 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-12-18 22:02:10 | entity: <data><node>node_q9fp5z0204</node><expire-at>2022-12-19T06:02:05Z</expire-at><entry><content>content_tl633z0206</content></entry></data>

2022-12-18 22:02:10 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 19 Dec 2022 06:02:10 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-12-18 22:02:10 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>9b9d58c5-8520-4307-a0d5-269875ac324c</value></item-id></result>

2022-12-18 22:02:10 | contains: true

2022-12-18 22:02:10 | [Mutex] waiting for: [user_regular203hre0203@test-domain.com:message:received:content_tl633z0206]

2022-12-18 22:02:25 | [Mutex] timeout. Not received [user_regular203hre0203@test-domain.com:message:received:content_tl633z0206]

2022-12-18 22:02:25 | [Mutex] isItemNotified: user_regular203hre0203@test-domain.com:message:received:content_tl633z0206 :: false

2022-12-18 22:02:25 |


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


2022-12-18 22:02:25 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-12-18 22:02:25 | command: <data><node>node_q9fp5z0204</node><entry><content>content_f8esrw0207</content></entry></data>

2022-12-18 22:02:25 | target: http://localhost:8088

2022-12-18 22:02:25 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-12-18 22:02:25 | entity: <data><node>node_q9fp5z0204</node><entry><content>content_f8esrw0207</content></entry></data>

2022-12-18 22:02:25 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 19 Dec 2022 06:02:25 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-12-18 22:02:25 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>db9d0d52-ab5b-43ac-8b1a-8825662ecaa9</value></item-id></result>

2022-12-18 22:02:25 | contains: true

2022-12-18 22:02:30 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-12-18 22:02:30 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222

2022-12-18 22:02:30 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-12-18 22:02:30 | [Mutex] received everything.

2022-12-18 22:02:30 | [Mutex] isItemNotified: user_regular203hre0203@test-domain.com:message:received:content_f8esrw0207 :: true

2022-12-18 22:02:30 |


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


2022-12-18 22:02:30 | [Mutex] received everything.

2022-12-18 22:02:30 | [Mutex] isItemNotified: node_q9fp5z0204:subscribe_node:success :: true

2022-12-18 22:02:30 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-12-18 22:02:30 | command: <data><node>node_q9fp5z0204</node><expire-at>2022-12-19T06:02:35Z</expire-at><entry><content>content_trvae20208</content></entry></data>

2022-12-18 22:02:30 | target: http://localhost:8088

2022-12-18 22:02:30 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-12-18 22:02:30 | entity: <data><node>node_q9fp5z0204</node><expire-at>2022-12-19T06:02:35Z</expire-at><entry><content>content_trvae20208</content></entry></data>

2022-12-18 22:02:30 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 19 Dec 2022 06:02:30 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-12-18 22:02:30 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>3a164703-3792-4ce6-a222-18aa185c59ae</value></item-id></result>

2022-12-18 22:02:30 | contains: true

2022-12-18 22:02:38 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-12-18 22:02:38 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222

2022-12-18 22:02:38 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-12-18 22:02:38 | [Mutex] waiting for: [user_regular203hre0203@test-domain.com:message:received:content_trvae20208]

2022-12-18 22:02:53 | [Mutex] timeout. Not received [user_regular203hre0203@test-domain.com:message:received:content_trvae20208]

2022-12-18 22:02:53 | [Mutex] received everything.

2022-12-18 22:02:53 | [Mutex] isItemNotified: user_regular203hre0203@test-domain.com:message:received:content_trvae20208 :: false

2022-12-18 22:02:53 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_trvae20208 :: true