Generated by TestNG with ReportNG at 13:34 PDT on Monday 10 July 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.538s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.601s
2023-07-10 13:49:11 |

2023-07-10 13:49:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2023-07-10 13:49:11 | ------------------------------------

2023-07-10 13:49:11 | [Mutex] isItemNotified: node_cl7j5b0208:exists :: false

2023-07-10 13:49:11 | [Mutex] waiting for: [node_cl7j5b0208:create_node]

2023-07-10 13:49:11 | [Mutex] received everything.

2023-07-10 13:49:11 | [Mutex] isItemNotified: node_cl7j5b0208:create_node:success :: true

2023-07-10 13:49:11 | [Mutex] waiting for: [node_cl7j5b0208:subscribe_node]

2023-07-10 13:49:11 | [Mutex] received everything.

2023-07-10 13:49:11 | [Mutex] isItemNotified: node_cl7j5b0208:subscribe_node:success :: true

2023-07-10 13:49:11 |


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


2023-07-10 13:49:11 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-07-10 13:49:11 | command: <data><node>node_cl7j5b0208</node><entry><content>content_rfr8ww0209</content></entry></data>

2023-07-10 13:49:11 | target: http://localhost:8088

2023-07-10 13:49:11 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-07-10 13:49:11 | entity: <data><node>node_cl7j5b0208</node><entry><content>content_rfr8ww0209</content></entry></data>

2023-07-10 13:49:11 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 10 Jul 2023 20:49:11 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-07-10 13:49:11 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>c746731e-9a30-4270-a797-ee8299ed9807</value></item-id></result>

2023-07-10 13:49:11 | contains: true

2023-07-10 13:49:11 | [Mutex] waiting for: [user_regular43nrrg0207@test-domain.com:message:received:content_rfr8ww0209]

2023-07-10 13:49:11 | [Mutex] received everything.

2023-07-10 13:49:11 | [Mutex] isItemNotified: user_regular43nrrg0207@test-domain.com:message:received:content_rfr8ww0209 :: true

2023-07-10 13:49:11 |


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


2023-07-10 13:49:11 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-07-10 13:49:11 | command: <data><node>node_cl7j5b0208</node><expire-at>2023-07-10T20:49:06Z</expire-at><entry><content>content_r5cc3z0210</content></entry></data>

2023-07-10 13:49:11 | target: http://localhost:8088

2023-07-10 13:49:11 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-07-10 13:49:11 | entity: <data><node>node_cl7j5b0208</node><expire-at>2023-07-10T20:49:06Z</expire-at><entry><content>content_r5cc3z0210</content></entry></data>

2023-07-10 13:49:11 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 10 Jul 2023 20:49:11 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-07-10 13:49:11 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>12d545fb-b52a-41b8-81ed-5037fb4e19c4</value></item-id></result>

2023-07-10 13:49:11 | contains: true

2023-07-10 13:49:11 | [Mutex] waiting for: [user_regular43nrrg0207@test-domain.com:message:received:content_r5cc3z0210]

2023-07-10 13:49:26 | [Mutex] timeout. Not received [user_regular43nrrg0207@test-domain.com:message:received:content_r5cc3z0210]

2023-07-10 13:49:26 | [Mutex] isItemNotified: user_regular43nrrg0207@test-domain.com:message:received:content_r5cc3z0210 :: false

2023-07-10 13:49:26 |


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


2023-07-10 13:49:26 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-07-10 13:49:26 | command: <data><node>node_cl7j5b0208</node><entry><content>content_rbcced0211</content></entry></data>

2023-07-10 13:49:26 | target: http://localhost:8088

2023-07-10 13:49:26 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-07-10 13:49:26 | entity: <data><node>node_cl7j5b0208</node><entry><content>content_rbcced0211</content></entry></data>

2023-07-10 13:49:26 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 10 Jul 2023 20:49:26 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-07-10 13:49:26 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>51960933-79ca-4a6c-83de-28663fb50e4f</value></item-id></result>

2023-07-10 13:49:26 | contains: true

2023-07-10 13:49:31 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

2023-07-10 13:49:31 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-07-10 13:49:31 | [Mutex] received everything.

2023-07-10 13:49:31 | [Mutex] isItemNotified: user_regular43nrrg0207@test-domain.com:message:received:content_rbcced0211 :: true

2023-07-10 13:49:31 |


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


2023-07-10 13:49:31 | [Mutex] received everything.

2023-07-10 13:49:31 | [Mutex] isItemNotified: node_cl7j5b0208:subscribe_node:success :: true

2023-07-10 13:49:31 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-07-10 13:49:31 | command: <data><node>node_cl7j5b0208</node><expire-at>2023-07-10T20:49:36Z</expire-at><entry><content>content_k67bcu0212</content></entry></data>

2023-07-10 13:49:31 | target: http://localhost:8088

2023-07-10 13:49:31 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-07-10 13:49:31 | entity: <data><node>node_cl7j5b0208</node><expire-at>2023-07-10T20:49:36Z</expire-at><entry><content>content_k67bcu0212</content></entry></data>

2023-07-10 13:49:31 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 10 Jul 2023 20:49:31 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-07-10 13:49:31 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>a5c8725f-2751-4132-90ba-f4eac6c2497a</value></item-id></result>

2023-07-10 13:49:31 | contains: true

2023-07-10 13:49:39 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

2023-07-10 13:49:39 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-07-10 13:49:39 | [Mutex] waiting for: [user_regular43nrrg0207@test-domain.com:message:received:content_k67bcu0212]

2023-07-10 13:49:54 | [Mutex] timeout. Not received [user_regular43nrrg0207@test-domain.com:message:received:content_k67bcu0212]

2023-07-10 13:49:54 | [Mutex] received everything.

2023-07-10 13:49:54 | [Mutex] isItemNotified: user_regular43nrrg0207@test-domain.com:message:received:content_k67bcu0212 :: false

2023-07-10 13:49:54 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_k67bcu0212 :: true