Generated by TestNG with ReportNG at 22:18 PDT on Wednesday 27 July 2022
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.926s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.644s
2022-07-27 22:32:33 |

2022-07-27 22:32:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-07-27 22:32:33 | ------------------------------------

2022-07-27 22:32:33 | [Mutex] isItemNotified: node_wih0ad0204:exists :: false

2022-07-27 22:32:33 | [Mutex] waiting for: [node_wih0ad0204:create_node]

2022-07-27 22:32:33 | [Mutex] received everything.

2022-07-27 22:32:33 | [Mutex] isItemNotified: node_wih0ad0204:create_node:success :: true

2022-07-27 22:32:33 | [Mutex] waiting for: [node_wih0ad0204:subscribe_node]

2022-07-27 22:32:33 | [Mutex] waiting for: [node_wih0ad0204:subscribe_node]

2022-07-27 22:32:33 | [Mutex] received everything.

2022-07-27 22:32:33 | [Mutex] isItemNotified: node_wih0ad0204:subscribe_node:success :: true

2022-07-27 22:32:33 |


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


2022-07-27 22:32:33 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-27 22:32:33 | command: <data><node>node_wih0ad0204</node><entry><content>content_rlwqxi0205</content></entry></data>

2022-07-27 22:32:33 | target: http://localhost:8088

2022-07-27 22:32:33 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-07-27 22:32:33 | entity: <data><node>node_wih0ad0204</node><entry><content>content_rlwqxi0205</content></entry></data>

2022-07-27 22:32:33 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 28 Jul 2022 05:32:33 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-27 22:32:33 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>48889885-96d3-4692-aa9f-6ac7657d5c41</value></item-id></result>

2022-07-27 22:32:33 | contains: true

2022-07-27 22:32:33 | [Mutex] received everything.

2022-07-27 22:32:33 | [Mutex] isItemNotified: user_regularsw1tym0203@test-domain.com:message:received:content_rlwqxi0205 :: true

2022-07-27 22:32:33 |


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


2022-07-27 22:32:33 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-27 22:32:33 | command: <data><node>node_wih0ad0204</node><expire-at>2022-07-28T05:32:28Z</expire-at><entry><content>content_vnnn470206</content></entry></data>

2022-07-27 22:32:33 | target: http://localhost:8088

2022-07-27 22:32:33 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-07-27 22:32:33 | entity: <data><node>node_wih0ad0204</node><expire-at>2022-07-28T05:32:28Z</expire-at><entry><content>content_vnnn470206</content></entry></data>

2022-07-27 22:32:33 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 28 Jul 2022 05:32:33 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-27 22:32:33 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>f61d08f5-adaf-4fdc-ab11-83cbaf444188</value></item-id></result>

2022-07-27 22:32:33 | contains: true

2022-07-27 22:32:33 | [Mutex] waiting for: [user_regularsw1tym0203@test-domain.com:message:received:content_vnnn470206]

2022-07-27 22:32:48 | [Mutex] timeout. Not received [user_regularsw1tym0203@test-domain.com:message:received:content_vnnn470206]

2022-07-27 22:32:48 | [Mutex] isItemNotified: user_regularsw1tym0203@test-domain.com:message:received:content_vnnn470206 :: false

2022-07-27 22:32:48 |


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


2022-07-27 22:32:48 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-27 22:32:48 | command: <data><node>node_wih0ad0204</node><entry><content>content_c9a1ab0207</content></entry></data>

2022-07-27 22:32:48 | target: http://localhost:8088

2022-07-27 22:32:48 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-07-27 22:32:48 | entity: <data><node>node_wih0ad0204</node><entry><content>content_c9a1ab0207</content></entry></data>

2022-07-27 22:32:48 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 28 Jul 2022 05:32:48 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-27 22:32:48 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>e48070af-4eb5-47c5-be8b-eb8d109355cb</value></item-id></result>

2022-07-27 22:32:48 | contains: true

2022-07-27 22:32:53 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-07-27 22:32:53 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222

2022-07-27 22:32:53 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-07-27 22:32:53 | [Mutex] waiting for: [user_regularsw1tym0203@test-domain.com:message:received:content_c9a1ab0207]

2022-07-27 22:32:53 | [Mutex] received everything.

2022-07-27 22:32:53 | [Mutex] isItemNotified: user_regularsw1tym0203@test-domain.com:message:received:content_c9a1ab0207 :: true

2022-07-27 22:32:53 |


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


2022-07-27 22:32:53 | [Mutex] received everything.

2022-07-27 22:32:53 | [Mutex] isItemNotified: node_wih0ad0204:subscribe_node:success :: true

2022-07-27 22:32:53 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-27 22:32:53 | command: <data><node>node_wih0ad0204</node><expire-at>2022-07-28T05:32:58Z</expire-at><entry><content>content_yymazy0208</content></entry></data>

2022-07-27 22:32:53 | target: http://localhost:8088

2022-07-27 22:32:53 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-07-27 22:32:53 | entity: <data><node>node_wih0ad0204</node><expire-at>2022-07-28T05:32:58Z</expire-at><entry><content>content_yymazy0208</content></entry></data>

2022-07-27 22:32:53 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 28 Jul 2022 05:32:53 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-27 22:32:53 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>5ea3ee9f-b2a6-4aa6-9cfe-f1771e88ac36</value></item-id></result>

2022-07-27 22:32:53 | contains: true

2022-07-27 22:33:01 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-07-27 22:33:01 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222

2022-07-27 22:33:01 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-07-27 22:33:01 | [Mutex] waiting for: [user_regularsw1tym0203@test-domain.com:message:received:content_yymazy0208]

2022-07-27 22:33:16 | [Mutex] timeout. Not received [user_regularsw1tym0203@test-domain.com:message:received:content_yymazy0208]

2022-07-27 22:33:16 | [Mutex] received everything.

2022-07-27 22:33:16 | [Mutex] isItemNotified: user_regularsw1tym0203@test-domain.com:message:received:content_yymazy0208 :: false

2022-07-27 22:33:16 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_yymazy0208 :: true