Generated by TestNG with ReportNG at 22:17 PDT on Friday 25 August 2023
root@a4d66e74f1de / 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.685s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.604s
2023-08-25 22:32:14 |

2023-08-25 22:32:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2023-08-25 22:32:14 | ------------------------------------

2023-08-25 22:32:14 | [Mutex] isItemNotified: node_6q07rt0208:exists :: false

2023-08-25 22:32:14 | [Mutex] waiting for: [node_6q07rt0208:create_node]

2023-08-25 22:32:14 | [Mutex] received everything.

2023-08-25 22:32:14 | [Mutex] isItemNotified: node_6q07rt0208:create_node:success :: true

2023-08-25 22:32:14 | [Mutex] waiting for: [node_6q07rt0208:subscribe_node]

2023-08-25 22:32:14 | [Mutex] waiting for: [node_6q07rt0208:subscribe_node]

2023-08-25 22:32:14 | [Mutex] received everything.

2023-08-25 22:32:14 | [Mutex] isItemNotified: node_6q07rt0208:subscribe_node:success :: true

2023-08-25 22:32:14 |


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


2023-08-25 22:32:14 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-08-25 22:32:14 | command: <data><node>node_6q07rt0208</node><entry><content>content_8tugy90209</content></entry></data>

2023-08-25 22:32:14 | target: http://localhost:8088

2023-08-25 22:32:14 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-08-25 22:32:14 | entity: <data><node>node_6q07rt0208</node><entry><content>content_8tugy90209</content></entry></data>

2023-08-25 22:32:14 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 26 Aug 2023 05:32:14 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-08-25 22:32:14 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>89ba8e5e-62c9-4e51-a364-d829daf1d515</value></item-id></result>

2023-08-25 22:32:14 | contains: true

2023-08-25 22:32:14 | [Mutex] received everything.

2023-08-25 22:32:14 | [Mutex] isItemNotified: user_regular85k91l0207@test-domain.com:message:received:content_8tugy90209 :: true

2023-08-25 22:32:14 |


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


2023-08-25 22:32:14 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-08-25 22:32:14 | command: <data><node>node_6q07rt0208</node><expire-at>2023-08-26T05:32:09Z</expire-at><entry><content>content_bq0izi0210</content></entry></data>

2023-08-25 22:32:14 | target: http://localhost:8088

2023-08-25 22:32:14 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-08-25 22:32:14 | entity: <data><node>node_6q07rt0208</node><expire-at>2023-08-26T05:32:09Z</expire-at><entry><content>content_bq0izi0210</content></entry></data>

2023-08-25 22:32:14 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 26 Aug 2023 05:32:14 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-08-25 22:32:14 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>1b13e2d0-7bb5-4e25-b2fb-54213fdc8fe7</value></item-id></result>

2023-08-25 22:32:14 | contains: true

2023-08-25 22:32:14 | [Mutex] waiting for: [user_regular85k91l0207@test-domain.com:message:received:content_bq0izi0210]

2023-08-25 22:32:29 | [Mutex] timeout. Not received [user_regular85k91l0207@test-domain.com:message:received:content_bq0izi0210]

2023-08-25 22:32:29 | [Mutex] isItemNotified: user_regular85k91l0207@test-domain.com:message:received:content_bq0izi0210 :: false

2023-08-25 22:32:29 |


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


2023-08-25 22:32:29 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-08-25 22:32:29 | command: <data><node>node_6q07rt0208</node><entry><content>content_sieg650211</content></entry></data>

2023-08-25 22:32:29 | target: http://localhost:8088

2023-08-25 22:32:29 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-08-25 22:32:29 | entity: <data><node>node_6q07rt0208</node><entry><content>content_sieg650211</content></entry></data>

2023-08-25 22:32:29 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 26 Aug 2023 05:32:29 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-08-25 22:32:29 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>cb47f2d9-f126-4e96-919f-cd133f44b493</value></item-id></result>

2023-08-25 22:32:29 | contains: true

2023-08-25 22:32:34 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

2023-08-25 22:32:34 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-08-25 22:32:34 | [Mutex] waiting for: [user_regular85k91l0207@test-domain.com:message:received:content_sieg650211]

2023-08-25 22:32:34 | [Mutex] waiting for: [user_regular85k91l0207@test-domain.com:message:received:content_sieg650211]

2023-08-25 22:32:34 | [Mutex] received everything.

2023-08-25 22:32:34 | [Mutex] isItemNotified: user_regular85k91l0207@test-domain.com:message:received:content_sieg650211 :: true

2023-08-25 22:32:34 |


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


2023-08-25 22:32:34 | [Mutex] received everything.

2023-08-25 22:32:34 | [Mutex] isItemNotified: node_6q07rt0208:subscribe_node:success :: true

2023-08-25 22:32:34 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-08-25 22:32:34 | command: <data><node>node_6q07rt0208</node><expire-at>2023-08-26T05:32:39Z</expire-at><entry><content>content_w3pobe0212</content></entry></data>

2023-08-25 22:32:34 | target: http://localhost:8088

2023-08-25 22:32:34 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-08-25 22:32:34 | entity: <data><node>node_6q07rt0208</node><expire-at>2023-08-26T05:32:39Z</expire-at><entry><content>content_w3pobe0212</content></entry></data>

2023-08-25 22:32:34 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 26 Aug 2023 05:32:34 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-08-25 22:32:34 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>650c6f2a-b76e-47b4-92f8-17f8f4c3da6b</value></item-id></result>

2023-08-25 22:32:34 | contains: true

2023-08-25 22:32:42 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

2023-08-25 22:32:42 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-08-25 22:32:42 | [Mutex] waiting for: [user_regular85k91l0207@test-domain.com:message:received:content_w3pobe0212]

2023-08-25 22:32:57 | [Mutex] timeout. Not received [user_regular85k91l0207@test-domain.com:message:received:content_w3pobe0212]

2023-08-25 22:32:57 | [Mutex] received everything.

2023-08-25 22:32:57 | [Mutex] isItemNotified: user_regular85k91l0207@test-domain.com:message:received:content_w3pobe0212 :: false

2023-08-25 22:32:57 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_w3pobe0212 :: true