Generated by TestNG with ReportNG at 22:25 PDT on Monday 06 June 2022
root@21fb2cc9076b / Java 17.0.2 (Private Build) / Linux 4.14.186-146.268.amzn2.x86_64 (amd64)

REST: Item publication on PubSub node with message expiration using REST API - #2959

Suites · Log Output

Test duration : 45.020s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.693s
2022-06-06 22:40:22 |

2022-06-06 22:40:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-06-06 22:40:22 | ------------------------------------

2022-06-06 22:40:22 | [Mutex] isItemNotified: node_h9wew60204:exists :: false

2022-06-06 22:40:22 | [Mutex] waiting for: [node_h9wew60204:create_node]

2022-06-06 22:40:22 | [Mutex] received everything.

2022-06-06 22:40:22 | [Mutex] isItemNotified: node_h9wew60204:create_node:success :: true

2022-06-06 22:40:22 | [Mutex] waiting for: [node_h9wew60204:subscribe_node]

2022-06-06 22:40:22 | [Mutex] waiting for: [node_h9wew60204:subscribe_node]

2022-06-06 22:40:22 | [Mutex] received everything.

2022-06-06 22:40:22 | [Mutex] isItemNotified: node_h9wew60204:subscribe_node:success :: true

2022-06-06 22:40:22 |


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


2022-06-06 22:40:22 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-06-06 22:40:22 | command: <data><node>node_h9wew60204</node><entry><content>content_y8ul520205</content></entry></data>

2022-06-06 22:40:22 | target: http://localhost:8088

2022-06-06 22:40:22 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-06-06 22:40:22 | entity: <data><node>node_h9wew60204</node><entry><content>content_y8ul520205</content></entry></data>

2022-06-06 22:40:22 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 07 Jun 2022 05:40:22 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-06-06 22:40:22 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>ce30a60c-5bc1-410c-b616-2c5b905aff1b</value></item-id></result>

2022-06-06 22:40:22 | contains: true

2022-06-06 22:40:22 | [Mutex] received everything.

2022-06-06 22:40:22 | [Mutex] isItemNotified: user_regularg0udc60203@test-domain.com:message:received:content_y8ul520205 :: true

2022-06-06 22:40:22 |


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


2022-06-06 22:40:22 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-06-06 22:40:22 | command: <data><node>node_h9wew60204</node><expire-at>2022-06-07T05:40:17Z</expire-at><entry><content>content_2f2z4e0206</content></entry></data>

2022-06-06 22:40:22 | target: http://localhost:8088

2022-06-06 22:40:22 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-06-06 22:40:22 | entity: <data><node>node_h9wew60204</node><expire-at>2022-06-07T05:40:17Z</expire-at><entry><content>content_2f2z4e0206</content></entry></data>

2022-06-06 22:40:22 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 07 Jun 2022 05:40:22 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-06-06 22:40:22 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>e80e18e0-36ce-4a29-bd8c-ba99d5652f3b</value></item-id></result>

2022-06-06 22:40:22 | contains: true

2022-06-06 22:40:22 | [Mutex] waiting for: [user_regularg0udc60203@test-domain.com:message:received:content_2f2z4e0206]

2022-06-06 22:40:37 | [Mutex] timeout. Not received [user_regularg0udc60203@test-domain.com:message:received:content_2f2z4e0206]

2022-06-06 22:40:37 | [Mutex] isItemNotified: user_regularg0udc60203@test-domain.com:message:received:content_2f2z4e0206 :: false

2022-06-06 22:40:37 |


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


2022-06-06 22:40:37 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-06-06 22:40:37 | command: <data><node>node_h9wew60204</node><entry><content>content_t52580207</content></entry></data>

2022-06-06 22:40:37 | target: http://localhost:8088

2022-06-06 22:40:37 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false]

2022-06-06 22:40:37 | entity: <data><node>node_h9wew60204</node><entry><content>content_t52580207</content></entry></data>

2022-06-06 22:40:37 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 07 Jun 2022 05:40:37 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-06-06 22:40:37 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>0698d8d5-e6c9-4964-b967-2c9d32e38a80</value></item-id></result>

2022-06-06 22:40:37 | contains: true

2022-06-06 22:40:42 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

2022-06-06 22:40:42 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-06-06 22:40:42 | [Mutex] waiting for: [user_regularg0udc60203@test-domain.com:message:received:content_t52580207]

2022-06-06 22:40:42 | [Mutex] waiting for: [user_regularg0udc60203@test-domain.com:message:received:content_t52580207]

2022-06-06 22:40:42 | [Mutex] received everything.

2022-06-06 22:40:42 | [Mutex] isItemNotified: user_regularg0udc60203@test-domain.com:message:received:content_t52580207 :: true

2022-06-06 22:40:42 |


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


2022-06-06 22:40:42 | [Mutex] received everything.

2022-06-06 22:40:42 | [Mutex] isItemNotified: node_h9wew60204:subscribe_node:success :: true

2022-06-06 22:40:42 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-06-06 22:40:42 | command: <data><node>node_h9wew60204</node><expire-at>2022-06-07T05:40:47Z</expire-at><entry><content>content_4vvyds0208</content></entry></data>

2022-06-06 22:40:42 | target: http://localhost:8088

2022-06-06 22:40:42 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-06-06 22:40:42 | entity: <data><node>node_h9wew60204</node><expire-at>2022-06-07T05:40:47Z</expire-at><entry><content>content_4vvyds0208</content></entry></data>

2022-06-06 22:40:42 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 07 Jun 2022 05:40:42 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-06-06 22:40:42 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>78995d15-b389-4170-8c59-ff86b580eca3</value></item-id></result>

2022-06-06 22:40:42 | contains: true

2022-06-06 22:40:50 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

2022-06-06 22:40:50 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-06-06 22:40:51 | [Mutex] waiting for: [user_regularg0udc60203@test-domain.com:message:received:content_4vvyds0208]

2022-06-06 22:40:51 | [Mutex] waiting for: [user_regularg0udc60203@test-domain.com:message:received:content_4vvyds0208]

2022-06-06 22:40:51 | [Mutex] waiting for: [user_regularg0udc60203@test-domain.com:message:received:content_4vvyds0208]

2022-06-06 22:41:06 | [Mutex] timeout. Not received [user_regularg0udc60203@test-domain.com:message:received:content_4vvyds0208]

2022-06-06 22:41:06 | [Mutex] received everything.

2022-06-06 22:41:06 | [Mutex] isItemNotified: user_regularg0udc60203@test-domain.com:message:received:content_4vvyds0208 :: false

2022-06-06 22:41:06 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_4vvyds0208 :: true