Generated by TestNG with ReportNG at 22:45 PDT on Saturday 25 March 2023
root@ed1b7dd8a1b3 / 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.834s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.652s
2023-03-25 23:00:22 |

2023-03-25 23:00:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2023-03-25 23:00:22 | ------------------------------------

2023-03-25 23:00:22 | [Mutex] isItemNotified: node_120fvv0208:exists :: false

2023-03-25 23:00:22 | [Mutex] waiting for: [node_120fvv0208:create_node]

2023-03-25 23:00:22 | [Mutex] waiting for: [node_120fvv0208:create_node]

2023-03-25 23:00:22 | [Mutex] received everything.

2023-03-25 23:00:22 | [Mutex] isItemNotified: node_120fvv0208:create_node:success :: true

2023-03-25 23:00:22 | [Mutex] waiting for: [node_120fvv0208:subscribe_node]

2023-03-25 23:00:22 | [Mutex] waiting for: [node_120fvv0208:subscribe_node]

2023-03-25 23:00:22 | [Mutex] received everything.

2023-03-25 23:00:22 | [Mutex] isItemNotified: node_120fvv0208:subscribe_node:success :: true

2023-03-25 23:00:22 |


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


2023-03-25 23:00:22 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-03-25 23:00:22 | command: <data><node>node_120fvv0208</node><entry><content>content_h3hfrc0209</content></entry></data>

2023-03-25 23:00:22 | target: http://localhost:8088

2023-03-25 23:00:22 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-03-25 23:00:22 | entity: <data><node>node_120fvv0208</node><entry><content>content_h3hfrc0209</content></entry></data>

2023-03-25 23:00:22 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 26 Mar 2023 06:00:22 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-03-25 23:00:22 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>2edba198-662b-4c67-b9c6-433bcb6f27b3</value></item-id></result>

2023-03-25 23:00:22 | contains: true

2023-03-25 23:00:22 | [Mutex] waiting for: [user_regularcv8z8i0207@test-domain.com:message:received:content_h3hfrc0209]

2023-03-25 23:00:22 | [Mutex] received everything.

2023-03-25 23:00:22 | [Mutex] isItemNotified: user_regularcv8z8i0207@test-domain.com:message:received:content_h3hfrc0209 :: true

2023-03-25 23:00:22 |


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


2023-03-25 23:00:22 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-03-25 23:00:22 | command: <data><node>node_120fvv0208</node><expire-at>2023-03-26T06:00:17Z</expire-at><entry><content>content_tvczpl0210</content></entry></data>

2023-03-25 23:00:22 | target: http://localhost:8088

2023-03-25 23:00:22 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-03-25 23:00:22 | entity: <data><node>node_120fvv0208</node><expire-at>2023-03-26T06:00:17Z</expire-at><entry><content>content_tvczpl0210</content></entry></data>

2023-03-25 23:00:22 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 26 Mar 2023 06:00:22 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-03-25 23:00:23 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>52ac65ea-1422-4920-9c7d-e1b53a44b2c0</value></item-id></result>

2023-03-25 23:00:23 | contains: true

2023-03-25 23:00:23 | [Mutex] waiting for: [user_regularcv8z8i0207@test-domain.com:message:received:content_tvczpl0210]

2023-03-25 23:00:38 | [Mutex] timeout. Not received [user_regularcv8z8i0207@test-domain.com:message:received:content_tvczpl0210]

2023-03-25 23:00:38 | [Mutex] isItemNotified: user_regularcv8z8i0207@test-domain.com:message:received:content_tvczpl0210 :: false

2023-03-25 23:00:38 |


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


2023-03-25 23:00:38 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-03-25 23:00:38 | command: <data><node>node_120fvv0208</node><entry><content>content_yk679z0211</content></entry></data>

2023-03-25 23:00:38 | target: http://localhost:8088

2023-03-25 23:00:38 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-03-25 23:00:38 | entity: <data><node>node_120fvv0208</node><entry><content>content_yk679z0211</content></entry></data>

2023-03-25 23:00:38 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 26 Mar 2023 06:00:38 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-03-25 23:00:38 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>be541199-87e6-4355-ae62-f1b49788b2a6</value></item-id></result>

2023-03-25 23:00:38 | contains: true

2023-03-25 23:00:43 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-03-25 23:00:43 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] DNS entry stored in session object: localhost:5222

2023-03-25 23:00:43 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-03-25 23:00:43 | [Mutex] received everything.

2023-03-25 23:00:43 | [Mutex] isItemNotified: user_regularcv8z8i0207@test-domain.com:message:received:content_yk679z0211 :: true

2023-03-25 23:00:43 |


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


2023-03-25 23:00:43 | [Mutex] received everything.

2023-03-25 23:00:43 | [Mutex] isItemNotified: node_120fvv0208:subscribe_node:success :: true

2023-03-25 23:00:43 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-03-25 23:00:43 | command: <data><node>node_120fvv0208</node><expire-at>2023-03-26T06:00:48Z</expire-at><entry><content>content_nbpae60212</content></entry></data>

2023-03-25 23:00:43 | target: http://localhost:8088

2023-03-25 23:00:43 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-03-25 23:00:43 | entity: <data><node>node_120fvv0208</node><expire-at>2023-03-26T06:00:48Z</expire-at><entry><content>content_nbpae60212</content></entry></data>

2023-03-25 23:00:43 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 26 Mar 2023 06:00:43 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-03-25 23:00:43 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>13d968cc-d7d3-4a06-a1ab-d7018dd8f099</value></item-id></result>

2023-03-25 23:00:43 | contains: true

2023-03-25 23:00:51 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-03-25 23:00:51 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] DNS entry stored in session object: localhost:5222

2023-03-25 23:00:51 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-03-25 23:00:51 | [Mutex] waiting for: [user_regularcv8z8i0207@test-domain.com:message:received:content_nbpae60212]

2023-03-25 23:00:51 | [Mutex] waiting for: [user_regularcv8z8i0207@test-domain.com:message:received:content_nbpae60212]

2023-03-25 23:00:51 | [Mutex] waiting for: [user_regularcv8z8i0207@test-domain.com:message:received:content_nbpae60212]

2023-03-25 23:01:06 | [Mutex] timeout. Not received [user_regularcv8z8i0207@test-domain.com:message:received:content_nbpae60212]

2023-03-25 23:01:06 | [Mutex] received everything.

2023-03-25 23:01:06 | [Mutex] isItemNotified: user_regularcv8z8i0207@test-domain.com:message:received:content_nbpae60212 :: false

2023-03-25 23:01:06 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_nbpae60212 :: true