Generated by TestNG with ReportNG at 22:16 PDT on Thursday 22 June 2023
root@cc7d7fbb25f7 / 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.462s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.566s
2023-06-22 22:30:51 |

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

2023-06-22 22:30:51 | ------------------------------------

2023-06-22 22:30:51 | [Mutex] isItemNotified: node_reazje0208:exists :: false

2023-06-22 22:30:51 | [Mutex] waiting for: [node_reazje0208:create_node]

2023-06-22 22:30:51 | [Mutex] received everything.

2023-06-22 22:30:51 | [Mutex] isItemNotified: node_reazje0208:create_node:success :: true

2023-06-22 22:30:51 | [Mutex] waiting for: [node_reazje0208:subscribe_node]

2023-06-22 22:30:51 | [Mutex] waiting for: [node_reazje0208:subscribe_node]

2023-06-22 22:30:51 | [Mutex] received everything.

2023-06-22 22:30:51 | [Mutex] isItemNotified: node_reazje0208:subscribe_node:success :: true

2023-06-22 22:30:51 |


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


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

2023-06-22 22:30:51 | command: <data><node>node_reazje0208</node><entry><content>content_cr8wdf0209</content></entry></data>

2023-06-22 22:30:51 | target: http://localhost:8088

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

2023-06-22 22:30:51 | entity: <data><node>node_reazje0208</node><entry><content>content_cr8wdf0209</content></entry></data>

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

2023-06-22 22:30:51 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>ebca6974-181d-4679-9c66-b8d16fde73c9</value></item-id></result>

2023-06-22 22:30:51 | contains: true

2023-06-22 22:30:51 | [Mutex] received everything.

2023-06-22 22:30:51 | [Mutex] isItemNotified: user_regulary52szp0207@test-domain.com:message:received:content_cr8wdf0209 :: true

2023-06-22 22:30:51 |


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


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

2023-06-22 22:30:51 | command: <data><node>node_reazje0208</node><expire-at>2023-06-23T05:30:46Z</expire-at><entry><content>content_xkc7dt0210</content></entry></data>

2023-06-22 22:30:51 | target: http://localhost:8088

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

2023-06-22 22:30:51 | entity: <data><node>node_reazje0208</node><expire-at>2023-06-23T05:30:46Z</expire-at><entry><content>content_xkc7dt0210</content></entry></data>

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

2023-06-22 22:30:51 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>648c7315-2169-4d28-b96e-23895a1a2091</value></item-id></result>

2023-06-22 22:30:51 | contains: true

2023-06-22 22:30:51 | [Mutex] waiting for: [user_regulary52szp0207@test-domain.com:message:received:content_xkc7dt0210]

2023-06-22 22:31:06 | [Mutex] timeout. Not received [user_regulary52szp0207@test-domain.com:message:received:content_xkc7dt0210]

2023-06-22 22:31:06 | [Mutex] isItemNotified: user_regulary52szp0207@test-domain.com:message:received:content_xkc7dt0210 :: false

2023-06-22 22:31:06 |


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


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

2023-06-22 22:31:06 | command: <data><node>node_reazje0208</node><entry><content>content_ag7olb0211</content></entry></data>

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

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

2023-06-22 22:31:06 | entity: <data><node>node_reazje0208</node><entry><content>content_ag7olb0211</content></entry></data>

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

2023-06-22 22:31:06 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>ff2bf9be-431d-44d6-8329-9176a44120d3</value></item-id></result>

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

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

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

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

2023-06-22 22:31:11 | [Mutex] waiting for: [user_regulary52szp0207@test-domain.com:message:received:content_ag7olb0211]

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

2023-06-22 22:31:11 | [Mutex] isItemNotified: user_regulary52szp0207@test-domain.com:message:received:content_ag7olb0211 :: true

2023-06-22 22:31:11 |


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


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

2023-06-22 22:31:11 | [Mutex] isItemNotified: node_reazje0208:subscribe_node:success :: true

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

2023-06-22 22:31:11 | command: <data><node>node_reazje0208</node><expire-at>2023-06-23T05:31:16Z</expire-at><entry><content>content_mkfg6y0212</content></entry></data>

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

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

2023-06-22 22:31:11 | entity: <data><node>node_reazje0208</node><expire-at>2023-06-23T05:31:16Z</expire-at><entry><content>content_mkfg6y0212</content></entry></data>

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

2023-06-22 22:31:11 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>49583e0c-2978-4bf3-82df-05645ed3e267</value></item-id></result>

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

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

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

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

2023-06-22 22:31:19 | [Mutex] waiting for: [user_regulary52szp0207@test-domain.com:message:received:content_mkfg6y0212]

2023-06-22 22:31:19 | [Mutex] waiting for: [user_regulary52szp0207@test-domain.com:message:received:content_mkfg6y0212]

2023-06-22 22:31:19 | [Mutex] waiting for: [user_regulary52szp0207@test-domain.com:message:received:content_mkfg6y0212]

2023-06-22 22:31:34 | [Mutex] timeout. Not received [user_regulary52szp0207@test-domain.com:message:received:content_mkfg6y0212]

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

2023-06-22 22:31:34 | [Mutex] isItemNotified: user_regulary52szp0207@test-domain.com:message:received:content_mkfg6y0212 :: false

2023-06-22 22:31:34 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_mkfg6y0212 :: true