Generated by TestNG with ReportNG at 22:44 PDT on Saturday 04 November 2023
root@8dfa9d99ff97 / Java 17.0.8 (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.541s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.573s
2023-11-04 22:58:49 |

2023-11-04 22:58:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2023-11-04 22:58:49 | ------------------------------------

2023-11-04 22:58:49 | [Mutex] isItemNotified: node_1s7zwd0208:exists :: false

2023-11-04 22:58:49 | [Mutex] waiting for: [node_1s7zwd0208:create_node]

2023-11-04 22:58:49 | [Mutex] received everything.

2023-11-04 22:58:49 | [Mutex] isItemNotified: node_1s7zwd0208:create_node:success :: true

2023-11-04 22:58:49 | [Mutex] waiting for: [node_1s7zwd0208:subscribe_node]

2023-11-04 22:58:49 | [Mutex] waiting for: [node_1s7zwd0208:subscribe_node]

2023-11-04 22:58:49 | [Mutex] received everything.

2023-11-04 22:58:49 | [Mutex] isItemNotified: node_1s7zwd0208:subscribe_node:success :: true

2023-11-04 22:58:49 |


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


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

2023-11-04 22:58:49 | command: <data><node>node_1s7zwd0208</node><entry><content>content_9hr8ed0209</content></entry></data>

2023-11-04 22:58:49 | target: http://localhost:8088

2023-11-04 22:58:49 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-11-04 22:58:49 | entity: <data><node>node_1s7zwd0208</node><entry><content>content_9hr8ed0209</content></entry></data>

2023-11-04 22:58:49 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 05 Nov 2023 05:58:49 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-11-04 22:58:49 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>bc1908e5-5dd2-48a1-939e-8f6b1393e937</value></item-id></result>

2023-11-04 22:58:49 | contains: true

2023-11-04 22:58:49 | [Mutex] received everything.

2023-11-04 22:58:49 | [Mutex] isItemNotified: user_regular6sgnb40207@test-domain.com:message:received:content_9hr8ed0209 :: true

2023-11-04 22:58:49 |


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


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

2023-11-04 22:58:49 | command: <data><node>node_1s7zwd0208</node><expire-at>2023-11-05T05:58:44Z</expire-at><entry><content>content_k52k3i0210</content></entry></data>

2023-11-04 22:58:49 | target: http://localhost:8088

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

2023-11-04 22:58:49 | entity: <data><node>node_1s7zwd0208</node><expire-at>2023-11-05T05:58:44Z</expire-at><entry><content>content_k52k3i0210</content></entry></data>

2023-11-04 22:58:49 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 05 Nov 2023 05:58:49 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-11-04 22:58:49 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>fefe2fc1-9101-408f-9b36-b5281bfd5922</value></item-id></result>

2023-11-04 22:58:49 | contains: true

2023-11-04 22:58:49 | [Mutex] waiting for: [user_regular6sgnb40207@test-domain.com:message:received:content_k52k3i0210]

2023-11-04 22:59:04 | [Mutex] timeout. Not received [user_regular6sgnb40207@test-domain.com:message:received:content_k52k3i0210]

2023-11-04 22:59:04 | [Mutex] isItemNotified: user_regular6sgnb40207@test-domain.com:message:received:content_k52k3i0210 :: false

2023-11-04 22:59:04 |


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


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

2023-11-04 22:59:04 | command: <data><node>node_1s7zwd0208</node><entry><content>content_5rc72q0211</content></entry></data>

2023-11-04 22:59:04 | target: http://localhost:8088

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

2023-11-04 22:59:04 | entity: <data><node>node_1s7zwd0208</node><entry><content>content_5rc72q0211</content></entry></data>

2023-11-04 22:59:04 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 05 Nov 2023 05:59:04 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-11-04 22:59:04 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>efd2ab54-25c7-443b-bbe5-ee7ecdf212a1</value></item-id></result>

2023-11-04 22:59:04 | contains: true

2023-11-04 22:59:09 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2023-11-04 22:59:10 | [Mutex] received everything.

2023-11-04 22:59:10 | [Mutex] isItemNotified: user_regular6sgnb40207@test-domain.com:message:received:content_5rc72q0211 :: true

2023-11-04 22:59:10 |


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


2023-11-04 22:59:10 | [Mutex] received everything.

2023-11-04 22:59:10 | [Mutex] isItemNotified: node_1s7zwd0208:subscribe_node:success :: true

2023-11-04 22:59:10 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-11-04 22:59:10 | command: <data><node>node_1s7zwd0208</node><expire-at>2023-11-05T05:59:15Z</expire-at><entry><content>content_ka5qc00212</content></entry></data>

2023-11-04 22:59:10 | target: http://localhost:8088

2023-11-04 22:59:10 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-11-04 22:59:10 | entity: <data><node>node_1s7zwd0208</node><expire-at>2023-11-05T05:59:15Z</expire-at><entry><content>content_ka5qc00212</content></entry></data>

2023-11-04 22:59:10 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 05 Nov 2023 05:59:10 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-11-04 22:59:10 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>ac2b340e-e472-44f7-b9a4-d67e45a946a1</value></item-id></result>

2023-11-04 22:59:10 | contains: true

2023-11-04 22:59:18 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2023-11-04 22:59:18 | [Mutex] waiting for: [user_regular6sgnb40207@test-domain.com:message:received:content_ka5qc00212]

2023-11-04 22:59:33 | [Mutex] timeout. Not received [user_regular6sgnb40207@test-domain.com:message:received:content_ka5qc00212]

2023-11-04 22:59:33 | [Mutex] received everything.

2023-11-04 22:59:33 | [Mutex] isItemNotified: user_regular6sgnb40207@test-domain.com:message:received:content_ka5qc00212 :: false

2023-11-04 22:59:33 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_ka5qc00212 :: true