Generated by TestNG with ReportNG at 22:15 PDT on Sunday 04 June 2023
root@1512af24e4a5 / Java 17.0.6 (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.698s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.617s
2023-06-04 22:30:28 |

2023-06-04 22:30:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2023-06-04 22:30:28 | ------------------------------------

2023-06-04 22:30:28 | [Mutex] isItemNotified: node_9cqa5j0208:exists :: false

2023-06-04 22:30:28 | [Mutex] waiting for: [node_9cqa5j0208:create_node]

2023-06-04 22:30:28 | [Mutex] received everything.

2023-06-04 22:30:28 | [Mutex] isItemNotified: node_9cqa5j0208:create_node:success :: true

2023-06-04 22:30:28 | [Mutex] waiting for: [node_9cqa5j0208:subscribe_node]

2023-06-04 22:30:28 | [Mutex] waiting for: [node_9cqa5j0208:subscribe_node]

2023-06-04 22:30:28 | [Mutex] received everything.

2023-06-04 22:30:28 | [Mutex] isItemNotified: node_9cqa5j0208:subscribe_node:success :: true

2023-06-04 22:30:28 |


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


2023-06-04 22:30:28 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-06-04 22:30:28 | command: <data><node>node_9cqa5j0208</node><entry><content>content_6l7pb60209</content></entry></data>

2023-06-04 22:30:28 | target: http://localhost:8088

2023-06-04 22:30:28 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-06-04 22:30:28 | entity: <data><node>node_9cqa5j0208</node><entry><content>content_6l7pb60209</content></entry></data>

2023-06-04 22:30:28 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 05 Jun 2023 05:30:28 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-06-04 22:30:28 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>3cf4483d-fc66-454a-ad6c-280032b69977</value></item-id></result>

2023-06-04 22:30:28 | contains: true

2023-06-04 22:30:28 | [Mutex] received everything.

2023-06-04 22:30:28 | [Mutex] isItemNotified: user_regulark1uddz0207@test-domain.com:message:received:content_6l7pb60209 :: true

2023-06-04 22:30:28 |


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


2023-06-04 22:30:28 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-06-04 22:30:28 | command: <data><node>node_9cqa5j0208</node><expire-at>2023-06-05T05:30:23Z</expire-at><entry><content>content_pwilkx0210</content></entry></data>

2023-06-04 22:30:28 | target: http://localhost:8088

2023-06-04 22:30:28 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-06-04 22:30:28 | entity: <data><node>node_9cqa5j0208</node><expire-at>2023-06-05T05:30:23Z</expire-at><entry><content>content_pwilkx0210</content></entry></data>

2023-06-04 22:30:28 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 05 Jun 2023 05:30:28 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-06-04 22:30:28 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>27658530-f0ce-4ffa-93ae-b1b948b13bb7</value></item-id></result>

2023-06-04 22:30:28 | contains: true

2023-06-04 22:30:28 | [Mutex] waiting for: [user_regulark1uddz0207@test-domain.com:message:received:content_pwilkx0210]

2023-06-04 22:30:43 | [Mutex] timeout. Not received [user_regulark1uddz0207@test-domain.com:message:received:content_pwilkx0210]

2023-06-04 22:30:43 | [Mutex] isItemNotified: user_regulark1uddz0207@test-domain.com:message:received:content_pwilkx0210 :: false

2023-06-04 22:30:43 |


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


2023-06-04 22:30:43 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-06-04 22:30:43 | command: <data><node>node_9cqa5j0208</node><entry><content>content_6dydv60211</content></entry></data>

2023-06-04 22:30:43 | target: http://localhost:8088

2023-06-04 22:30:43 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-06-04 22:30:43 | entity: <data><node>node_9cqa5j0208</node><entry><content>content_6dydv60211</content></entry></data>

2023-06-04 22:30:43 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 05 Jun 2023 05:30:43 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-06-04 22:30:43 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>87296b8c-6a55-4b8d-a274-fbcd37ade763</value></item-id></result>

2023-06-04 22:30:43 | contains: true

2023-06-04 22:30:48 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-06-04 22:30:48 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] DNS entry stored in session object: localhost:5222

2023-06-04 22:30:48 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-06-04 22:30:49 | [Mutex] waiting for: [user_regulark1uddz0207@test-domain.com:message:received:content_6dydv60211]

2023-06-04 22:30:49 | [Mutex] waiting for: [user_regulark1uddz0207@test-domain.com:message:received:content_6dydv60211]

2023-06-04 22:30:49 | [Mutex] received everything.

2023-06-04 22:30:49 | [Mutex] isItemNotified: user_regulark1uddz0207@test-domain.com:message:received:content_6dydv60211 :: true

2023-06-04 22:30:49 |


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


2023-06-04 22:30:49 | [Mutex] received everything.

2023-06-04 22:30:49 | [Mutex] isItemNotified: node_9cqa5j0208:subscribe_node:success :: true

2023-06-04 22:30:49 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-06-04 22:30:49 | command: <data><node>node_9cqa5j0208</node><expire-at>2023-06-05T05:30:54Z</expire-at><entry><content>content_ofhq8a0212</content></entry></data>

2023-06-04 22:30:49 | target: http://localhost:8088

2023-06-04 22:30:49 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-06-04 22:30:49 | entity: <data><node>node_9cqa5j0208</node><expire-at>2023-06-05T05:30:54Z</expire-at><entry><content>content_ofhq8a0212</content></entry></data>

2023-06-04 22:30:49 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 05 Jun 2023 05:30:49 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-06-04 22:30:49 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>3b6620a6-d47b-4eba-a549-335e1893d70e</value></item-id></result>

2023-06-04 22:30:49 | contains: true

2023-06-04 22:30:57 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-06-04 22:30:57 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] DNS entry stored in session object: localhost:5222

2023-06-04 22:30:57 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-06-04 22:30:57 | [Mutex] waiting for: [user_regulark1uddz0207@test-domain.com:message:received:content_ofhq8a0212]

2023-06-04 22:31:12 | [Mutex] timeout. Not received [user_regulark1uddz0207@test-domain.com:message:received:content_ofhq8a0212]

2023-06-04 22:31:12 | [Mutex] received everything.

2023-06-04 22:31:12 | [Mutex] isItemNotified: user_regulark1uddz0207@test-domain.com:message:received:content_ofhq8a0212 :: false

2023-06-04 22:31:12 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_ofhq8a0212 :: true