Generated by TestNG with ReportNG at 22:30 PDT on Thursday 22 June 2023
root@8f5c98824654 / 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.528s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.629s
2023-06-22 22:45:11 |

2023-06-22 22:45:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2023-06-22 22:45:11 | ------------------------------------

2023-06-22 22:45:11 | [Mutex] isItemNotified: node_uu7b9l0208:exists :: false

2023-06-22 22:45:11 | [Mutex] waiting for: [node_uu7b9l0208:create_node]

2023-06-22 22:45:11 | [Mutex] received everything.

2023-06-22 22:45:11 | [Mutex] isItemNotified: node_uu7b9l0208:create_node:success :: true

2023-06-22 22:45:11 | [Mutex] waiting for: [node_uu7b9l0208:subscribe_node]

2023-06-22 22:45:11 | [Mutex] waiting for: [node_uu7b9l0208:subscribe_node]

2023-06-22 22:45:11 | [Mutex] received everything.

2023-06-22 22:45:11 | [Mutex] isItemNotified: node_uu7b9l0208:subscribe_node:success :: true

2023-06-22 22:45:11 |


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


2023-06-22 22:45:11 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-06-22 22:45:11 | command: <data><node>node_uu7b9l0208</node><entry><content>content_uw5b0w0209</content></entry></data>

2023-06-22 22:45:11 | target: http://localhost:8088

2023-06-22 22:45:11 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-06-22 22:45:11 | entity: <data><node>node_uu7b9l0208</node><entry><content>content_uw5b0w0209</content></entry></data>

2023-06-22 22:45:11 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 23 Jun 2023 05:45:11 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-06-22 22:45:11 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>17e22823-fc1c-485d-94fd-244253df84a2</value></item-id></result>

2023-06-22 22:45:11 | contains: true

2023-06-22 22:45:11 | [Mutex] waiting for: [user_regulards07yd0207@test-domain.com:message:received:content_uw5b0w0209]

2023-06-22 22:45:11 | [Mutex] received everything.

2023-06-22 22:45:11 | [Mutex] isItemNotified: user_regulards07yd0207@test-domain.com:message:received:content_uw5b0w0209 :: true

2023-06-22 22:45:11 |


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


2023-06-22 22:45:11 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-06-22 22:45:11 | command: <data><node>node_uu7b9l0208</node><expire-at>2023-06-23T05:45:06Z</expire-at><entry><content>content_k6qwle0210</content></entry></data>

2023-06-22 22:45:11 | target: http://localhost:8088

2023-06-22 22:45:11 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-06-22 22:45:11 | entity: <data><node>node_uu7b9l0208</node><expire-at>2023-06-23T05:45:06Z</expire-at><entry><content>content_k6qwle0210</content></entry></data>

2023-06-22 22:45:11 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 23 Jun 2023 05:45:11 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-06-22 22:45:11 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>bdded334-5aa7-4e2f-adbc-1e7cae530d08</value></item-id></result>

2023-06-22 22:45:11 | contains: true

2023-06-22 22:45:11 | [Mutex] waiting for: [user_regulards07yd0207@test-domain.com:message:received:content_k6qwle0210]

2023-06-22 22:45:26 | [Mutex] timeout. Not received [user_regulards07yd0207@test-domain.com:message:received:content_k6qwle0210]

2023-06-22 22:45:26 | [Mutex] isItemNotified: user_regulards07yd0207@test-domain.com:message:received:content_k6qwle0210 :: false

2023-06-22 22:45:26 |


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


2023-06-22 22:45:26 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-06-22 22:45:26 | command: <data><node>node_uu7b9l0208</node><entry><content>content_po1oes0211</content></entry></data>

2023-06-22 22:45:26 | target: http://localhost:8088

2023-06-22 22:45:26 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-06-22 22:45:26 | entity: <data><node>node_uu7b9l0208</node><entry><content>content_po1oes0211</content></entry></data>

2023-06-22 22:45:26 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 23 Jun 2023 05:45:26 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-06-22 22:45:26 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>f3e638bf-eb13-4cfc-bb69-616aab68aae2</value></item-id></result>

2023-06-22 22:45:26 | contains: true

2023-06-22 22:45:31 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

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

2023-06-22 22:45:31 | [Mutex] isItemNotified: user_regulards07yd0207@test-domain.com:message:received:content_po1oes0211 :: true

2023-06-22 22:45:31 |


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


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

2023-06-22 22:45:31 | [Mutex] isItemNotified: node_uu7b9l0208:subscribe_node:success :: true

2023-06-22 22:45:31 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-06-22 22:45:31 | command: <data><node>node_uu7b9l0208</node><expire-at>2023-06-23T05:45:36Z</expire-at><entry><content>content_b6j7r00212</content></entry></data>

2023-06-22 22:45:31 | target: http://localhost:8088

2023-06-22 22:45:31 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-06-22 22:45:31 | entity: <data><node>node_uu7b9l0208</node><expire-at>2023-06-23T05:45:36Z</expire-at><entry><content>content_b6j7r00212</content></entry></data>

2023-06-22 22:45:31 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 23 Jun 2023 05:45:31 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-06-22 22:45:31 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>af7aee79-3b2c-4d1a-8ad1-5fb15168e21e</value></item-id></result>

2023-06-22 22:45:31 | contains: true

2023-06-22 22:45:39 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2023-06-22 22:45:39 | [Mutex] waiting for: [user_regulards07yd0207@test-domain.com:message:received:content_b6j7r00212]

2023-06-22 22:45:39 | [Mutex] waiting for: [user_regulards07yd0207@test-domain.com:message:received:content_b6j7r00212]

2023-06-22 22:45:54 | [Mutex] timeout. Not received [user_regulards07yd0207@test-domain.com:message:received:content_b6j7r00212]

2023-06-22 22:45:54 | [Mutex] received everything.

2023-06-22 22:45:54 | [Mutex] isItemNotified: user_regulards07yd0207@test-domain.com:message:received:content_b6j7r00212 :: false

2023-06-22 22:45:54 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_b6j7r00212 :: true