Generated by TestNG with ReportNG at 22:30 PDT on Thursday 06 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.737s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.664s
2023-07-06 22:45:15 |

2023-07-06 22:45:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2023-07-06 22:45:15 | ------------------------------------

2023-07-06 22:45:15 | [Mutex] isItemNotified: node_sszciy0208:exists :: false

2023-07-06 22:45:15 | [Mutex] waiting for: [node_sszciy0208:create_node]

2023-07-06 22:45:15 | [Mutex] received everything.

2023-07-06 22:45:15 | [Mutex] isItemNotified: node_sszciy0208:create_node:success :: true

2023-07-06 22:45:15 | [Mutex] waiting for: [node_sszciy0208:subscribe_node]

2023-07-06 22:45:15 | [Mutex] waiting for: [node_sszciy0208:subscribe_node]

2023-07-06 22:45:15 | [Mutex] received everything.

2023-07-06 22:45:15 | [Mutex] isItemNotified: node_sszciy0208:subscribe_node:success :: true

2023-07-06 22:45:15 |


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


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

2023-07-06 22:45:15 | command: <data><node>node_sszciy0208</node><entry><content>content_dp5yst0209</content></entry></data>

2023-07-06 22:45:15 | target: http://localhost:8088

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

2023-07-06 22:45:15 | entity: <data><node>node_sszciy0208</node><entry><content>content_dp5yst0209</content></entry></data>

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

2023-07-06 22:45:15 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>e6620ff3-fe00-40a3-82f6-46c4a6925473</value></item-id></result>

2023-07-06 22:45:15 | contains: true

2023-07-06 22:45:15 | [Mutex] waiting for: [user_regular1w4dvu0207@test-domain.com:message:received:content_dp5yst0209]

2023-07-06 22:45:15 | [Mutex] received everything.

2023-07-06 22:45:15 | [Mutex] isItemNotified: user_regular1w4dvu0207@test-domain.com:message:received:content_dp5yst0209 :: true

2023-07-06 22:45:15 |


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


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

2023-07-06 22:45:15 | command: <data><node>node_sszciy0208</node><expire-at>2023-07-07T05:45:10Z</expire-at><entry><content>content_lgwyje0210</content></entry></data>

2023-07-06 22:45:15 | target: http://localhost:8088

2023-07-06 22:45:15 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-07-06 22:45:15 | entity: <data><node>node_sszciy0208</node><expire-at>2023-07-07T05:45:10Z</expire-at><entry><content>content_lgwyje0210</content></entry></data>

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

2023-07-06 22:45:15 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>c82bbadb-7422-4065-ac79-048a2dd82dc4</value></item-id></result>

2023-07-06 22:45:15 | contains: true

2023-07-06 22:45:15 | [Mutex] waiting for: [user_regular1w4dvu0207@test-domain.com:message:received:content_lgwyje0210]

2023-07-06 22:45:30 | [Mutex] timeout. Not received [user_regular1w4dvu0207@test-domain.com:message:received:content_lgwyje0210]

2023-07-06 22:45:30 | [Mutex] isItemNotified: user_regular1w4dvu0207@test-domain.com:message:received:content_lgwyje0210 :: false

2023-07-06 22:45:30 |


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


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

2023-07-06 22:45:30 | command: <data><node>node_sszciy0208</node><entry><content>content_j2uj0n0211</content></entry></data>

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

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

2023-07-06 22:45:30 | entity: <data><node>node_sszciy0208</node><entry><content>content_j2uj0n0211</content></entry></data>

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

2023-07-06 22:45:30 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>1bae188a-4659-41af-a836-775df754d241</value></item-id></result>

2023-07-06 22:45:30 | contains: true

2023-07-06 22:45:35 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2023-07-06 22:45:36 | [Mutex] waiting for: [user_regular1w4dvu0207@test-domain.com:message:received:content_j2uj0n0211]

2023-07-06 22:45:36 | [Mutex] waiting for: [user_regular1w4dvu0207@test-domain.com:message:received:content_j2uj0n0211]

2023-07-06 22:45:36 | [Mutex] received everything.

2023-07-06 22:45:36 | [Mutex] isItemNotified: user_regular1w4dvu0207@test-domain.com:message:received:content_j2uj0n0211 :: true

2023-07-06 22:45:36 |


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


2023-07-06 22:45:36 | [Mutex] received everything.

2023-07-06 22:45:36 | [Mutex] isItemNotified: node_sszciy0208:subscribe_node:success :: true

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

2023-07-06 22:45:36 | command: <data><node>node_sszciy0208</node><expire-at>2023-07-07T05:45:41Z</expire-at><entry><content>content_jhhcs60212</content></entry></data>

2023-07-06 22:45:36 | target: http://localhost:8088

2023-07-06 22:45:36 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-07-06 22:45:36 | entity: <data><node>node_sszciy0208</node><expire-at>2023-07-07T05:45:41Z</expire-at><entry><content>content_jhhcs60212</content></entry></data>

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

2023-07-06 22:45:36 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>0dc64121-a390-4026-8744-31ae74539862</value></item-id></result>

2023-07-06 22:45:36 | contains: true

2023-07-06 22:45:44 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2023-07-06 22:45:44 | [Mutex] waiting for: [user_regular1w4dvu0207@test-domain.com:message:received:content_jhhcs60212]

2023-07-06 22:45:44 | [Mutex] waiting for: [user_regular1w4dvu0207@test-domain.com:message:received:content_jhhcs60212]

2023-07-06 22:45:44 | [Mutex] waiting for: [user_regular1w4dvu0207@test-domain.com:message:received:content_jhhcs60212]

2023-07-06 22:45:59 | [Mutex] timeout. Not received [user_regular1w4dvu0207@test-domain.com:message:received:content_jhhcs60212]

2023-07-06 22:45:59 | [Mutex] received everything.

2023-07-06 22:45:59 | [Mutex] isItemNotified: user_regular1w4dvu0207@test-domain.com:message:received:content_jhhcs60212 :: false

2023-07-06 22:45:59 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_jhhcs60212 :: true