Generated by TestNG with ReportNG at 00:14 PDT on Thursday 26 October 2023
root@8dfa9d99ff97 / 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.636s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.612s
2023-10-26 00:28:57 |

2023-10-26 00:28:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2023-10-26 00:28:57 | ------------------------------------

2023-10-26 00:28:57 | [Mutex] isItemNotified: node_y39ppp0208:exists :: false

2023-10-26 00:28:57 | [Mutex] waiting for: [node_y39ppp0208:create_node]

2023-10-26 00:28:57 | [Mutex] received everything.

2023-10-26 00:28:57 | [Mutex] isItemNotified: node_y39ppp0208:create_node:success :: true

2023-10-26 00:28:57 | [Mutex] waiting for: [node_y39ppp0208:subscribe_node]

2023-10-26 00:28:57 | [Mutex] waiting for: [node_y39ppp0208:subscribe_node]

2023-10-26 00:28:57 | [Mutex] received everything.

2023-10-26 00:28:57 | [Mutex] isItemNotified: node_y39ppp0208:subscribe_node:success :: true

2023-10-26 00:28:57 |


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


2023-10-26 00:28:57 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-10-26 00:28:57 | command: <data><node>node_y39ppp0208</node><entry><content>content_eu1s0g0209</content></entry></data>

2023-10-26 00:28:57 | target: http://localhost:8088

2023-10-26 00:28:57 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-10-26 00:28:57 | entity: <data><node>node_y39ppp0208</node><entry><content>content_eu1s0g0209</content></entry></data>

2023-10-26 00:28:57 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 26 Oct 2023 07:28:57 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-10-26 00:28:57 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>9c1dcb13-fa18-4fea-94ec-ca1404948ac3</value></item-id></result>

2023-10-26 00:28:57 | contains: true

2023-10-26 00:28:57 | [Mutex] waiting for: [user_regularhkun4n0207@test-domain.com:message:received:content_eu1s0g0209]

2023-10-26 00:28:57 | [Mutex] received everything.

2023-10-26 00:28:57 | [Mutex] isItemNotified: user_regularhkun4n0207@test-domain.com:message:received:content_eu1s0g0209 :: true

2023-10-26 00:28:57 |


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


2023-10-26 00:28:57 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-10-26 00:28:57 | command: <data><node>node_y39ppp0208</node><expire-at>2023-10-26T07:28:52Z</expire-at><entry><content>content_ekma8i0210</content></entry></data>

2023-10-26 00:28:57 | target: http://localhost:8088

2023-10-26 00:28:57 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-10-26 00:28:57 | entity: <data><node>node_y39ppp0208</node><expire-at>2023-10-26T07:28:52Z</expire-at><entry><content>content_ekma8i0210</content></entry></data>

2023-10-26 00:28:57 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 26 Oct 2023 07:28:57 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-10-26 00:28:58 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>160be507-6467-4aeb-9768-914a85b156d5</value></item-id></result>

2023-10-26 00:28:58 | contains: true

2023-10-26 00:28:58 | [Mutex] waiting for: [user_regularhkun4n0207@test-domain.com:message:received:content_ekma8i0210]

2023-10-26 00:29:13 | [Mutex] timeout. Not received [user_regularhkun4n0207@test-domain.com:message:received:content_ekma8i0210]

2023-10-26 00:29:13 | [Mutex] isItemNotified: user_regularhkun4n0207@test-domain.com:message:received:content_ekma8i0210 :: false

2023-10-26 00:29:13 |


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


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

2023-10-26 00:29:13 | command: <data><node>node_y39ppp0208</node><entry><content>content_2mv9m50211</content></entry></data>

2023-10-26 00:29:13 | target: http://localhost:8088

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

2023-10-26 00:29:13 | entity: <data><node>node_y39ppp0208</node><entry><content>content_2mv9m50211</content></entry></data>

2023-10-26 00:29:13 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 26 Oct 2023 07:29:13 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-10-26 00:29:13 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>ebf8820d-2dcb-40a9-ad4c-c2849aa7c660</value></item-id></result>

2023-10-26 00:29:13 | contains: true

2023-10-26 00:29:18 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-10-26 00:29:18 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] DNS entry stored in session object: localhost:5222

2023-10-26 00:29:18 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-10-26 00:29:18 | [Mutex] received everything.

2023-10-26 00:29:18 | [Mutex] isItemNotified: user_regularhkun4n0207@test-domain.com:message:received:content_2mv9m50211 :: true

2023-10-26 00:29:18 |


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


2023-10-26 00:29:18 | [Mutex] received everything.

2023-10-26 00:29:18 | [Mutex] isItemNotified: node_y39ppp0208:subscribe_node:success :: true

2023-10-26 00:29:18 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-10-26 00:29:18 | command: <data><node>node_y39ppp0208</node><expire-at>2023-10-26T07:29:23Z</expire-at><entry><content>content_y4orjf0212</content></entry></data>

2023-10-26 00:29:18 | target: http://localhost:8088

2023-10-26 00:29:18 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-10-26 00:29:18 | entity: <data><node>node_y39ppp0208</node><expire-at>2023-10-26T07:29:23Z</expire-at><entry><content>content_y4orjf0212</content></entry></data>

2023-10-26 00:29:18 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 26 Oct 2023 07:29:18 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-10-26 00:29:18 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>35f28fe4-3c2b-4506-a2c7-ff3fbac47e72</value></item-id></result>

2023-10-26 00:29:18 | contains: true

2023-10-26 00:29:26 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

2023-10-26 00:29:26 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-10-26 00:29:26 | [Mutex] waiting for: [user_regularhkun4n0207@test-domain.com:message:received:content_y4orjf0212]

2023-10-26 00:29:26 | [Mutex] waiting for: [user_regularhkun4n0207@test-domain.com:message:received:content_y4orjf0212]

2023-10-26 00:29:41 | [Mutex] timeout. Not received [user_regularhkun4n0207@test-domain.com:message:received:content_y4orjf0212]

2023-10-26 00:29:41 | [Mutex] received everything.

2023-10-26 00:29:41 | [Mutex] isItemNotified: user_regularhkun4n0207@test-domain.com:message:received:content_y4orjf0212 :: false

2023-10-26 00:29:41 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_y4orjf0212 :: true