Generated by TestNG with ReportNG at 21:15 PST on Sunday 25 December 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.779s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.649s
2022-12-25 21:31:26 |

2022-12-25 21:31:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-12-25 21:31:26 | ------------------------------------

2022-12-25 21:31:26 | [Mutex] isItemNotified: node_d11akw0204:exists :: false

2022-12-25 21:31:26 | [Mutex] waiting for: [node_d11akw0204:create_node]

2022-12-25 21:31:26 | [Mutex] waiting for: [node_d11akw0204:create_node]

2022-12-25 21:31:26 | [Mutex] received everything.

2022-12-25 21:31:26 | [Mutex] isItemNotified: node_d11akw0204:create_node:success :: true

2022-12-25 21:31:26 | [Mutex] waiting for: [node_d11akw0204:subscribe_node]

2022-12-25 21:31:26 | [Mutex] waiting for: [node_d11akw0204:subscribe_node]

2022-12-25 21:31:26 | [Mutex] received everything.

2022-12-25 21:31:26 | [Mutex] isItemNotified: node_d11akw0204:subscribe_node:success :: true

2022-12-25 21:31:26 |


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


2022-12-25 21:31:26 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-12-25 21:31:26 | command: <data><node>node_d11akw0204</node><entry><content>content_dj7q960205</content></entry></data>

2022-12-25 21:31:26 | target: http://localhost:8088

2022-12-25 21:31:26 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-12-25 21:31:26 | entity: <data><node>node_d11akw0204</node><entry><content>content_dj7q960205</content></entry></data>

2022-12-25 21:31:26 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 26 Dec 2022 05:31:26 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-12-25 21:31:26 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>25886c90-46f8-43fc-922c-9fd1f0bbe0bf</value></item-id></result>

2022-12-25 21:31:26 | contains: true

2022-12-25 21:31:26 | [Mutex] received everything.

2022-12-25 21:31:26 | [Mutex] isItemNotified: user_regularthgvq10203@test-domain.com:message:received:content_dj7q960205 :: true

2022-12-25 21:31:26 |


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


2022-12-25 21:31:26 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-12-25 21:31:26 | command: <data><node>node_d11akw0204</node><expire-at>2022-12-26T05:31:21Z</expire-at><entry><content>content_cvq0890206</content></entry></data>

2022-12-25 21:31:26 | target: http://localhost:8088

2022-12-25 21:31:26 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-12-25 21:31:26 | entity: <data><node>node_d11akw0204</node><expire-at>2022-12-26T05:31:21Z</expire-at><entry><content>content_cvq0890206</content></entry></data>

2022-12-25 21:31:26 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 26 Dec 2022 05:31:26 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-12-25 21:31:26 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>d7c470d6-929d-490f-ac10-8e1a45f97721</value></item-id></result>

2022-12-25 21:31:26 | contains: true

2022-12-25 21:31:26 | [Mutex] waiting for: [user_regularthgvq10203@test-domain.com:message:received:content_cvq0890206]

2022-12-25 21:31:41 | [Mutex] timeout. Not received [user_regularthgvq10203@test-domain.com:message:received:content_cvq0890206]

2022-12-25 21:31:41 | [Mutex] isItemNotified: user_regularthgvq10203@test-domain.com:message:received:content_cvq0890206 :: false

2022-12-25 21:31:41 |


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


2022-12-25 21:31:41 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-12-25 21:31:41 | command: <data><node>node_d11akw0204</node><entry><content>content_jk6nvz0207</content></entry></data>

2022-12-25 21:31:41 | target: http://localhost:8088

2022-12-25 21:31:41 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-12-25 21:31:41 | entity: <data><node>node_d11akw0204</node><entry><content>content_jk6nvz0207</content></entry></data>

2022-12-25 21:31:41 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 26 Dec 2022 05:31:41 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-12-25 21:31:41 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>ed114c6f-1346-4bf5-9441-27b81d1557c5</value></item-id></result>

2022-12-25 21:31:41 | contains: true

2022-12-25 21:31:46 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-12-25 21:31:46 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222

2022-12-25 21:31:46 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-12-25 21:31:46 | [Mutex] waiting for: [user_regularthgvq10203@test-domain.com:message:received:content_jk6nvz0207]

2022-12-25 21:31:46 | [Mutex] received everything.

2022-12-25 21:31:46 | [Mutex] isItemNotified: user_regularthgvq10203@test-domain.com:message:received:content_jk6nvz0207 :: true

2022-12-25 21:31:46 |


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


2022-12-25 21:31:46 | [Mutex] received everything.

2022-12-25 21:31:46 | [Mutex] isItemNotified: node_d11akw0204:subscribe_node:success :: true

2022-12-25 21:31:46 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-12-25 21:31:46 | command: <data><node>node_d11akw0204</node><expire-at>2022-12-26T05:31:51Z</expire-at><entry><content>content_phxmaf0208</content></entry></data>

2022-12-25 21:31:46 | target: http://localhost:8088

2022-12-25 21:31:46 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-12-25 21:31:46 | entity: <data><node>node_d11akw0204</node><expire-at>2022-12-26T05:31:51Z</expire-at><entry><content>content_phxmaf0208</content></entry></data>

2022-12-25 21:31:46 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 26 Dec 2022 05:31:46 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-12-25 21:31:46 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>29122a3d-0134-4267-88f7-9f75f01c06ce</value></item-id></result>

2022-12-25 21:31:46 | contains: true

2022-12-25 21:31:54 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-12-25 21:31:54 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222

2022-12-25 21:31:54 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-12-25 21:31:54 | [Mutex] waiting for: [user_regularthgvq10203@test-domain.com:message:received:content_phxmaf0208]

2022-12-25 21:31:54 | [Mutex] waiting for: [user_regularthgvq10203@test-domain.com:message:received:content_phxmaf0208]

2022-12-25 21:32:09 | [Mutex] timeout. Not received [user_regularthgvq10203@test-domain.com:message:received:content_phxmaf0208]

2022-12-25 21:32:09 | [Mutex] received everything.

2022-12-25 21:32:09 | [Mutex] isItemNotified: user_regularthgvq10203@test-domain.com:message:received:content_phxmaf0208 :: false

2022-12-25 21:32:09 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_phxmaf0208 :: true