Generated by TestNG with ReportNG at 21:45 PST on Monday 16 January 2023
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.525s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.667s
2023-01-16 22:00:55 |

2023-01-16 22:00:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2023-01-16 22:00:55 | ------------------------------------

2023-01-16 22:00:55 | [Mutex] isItemNotified: node_kkry8s0204:exists :: false

2023-01-16 22:00:55 | [Mutex] waiting for: [node_kkry8s0204:create_node]

2023-01-16 22:00:55 | [Mutex] received everything.

2023-01-16 22:00:55 | [Mutex] isItemNotified: node_kkry8s0204:create_node:success :: true

2023-01-16 22:00:55 | [Mutex] waiting for: [node_kkry8s0204:subscribe_node]

2023-01-16 22:00:55 | [Mutex] waiting for: [node_kkry8s0204:subscribe_node]

2023-01-16 22:00:55 | [Mutex] received everything.

2023-01-16 22:00:55 | [Mutex] isItemNotified: node_kkry8s0204:subscribe_node:success :: true

2023-01-16 22:00:55 |


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


2023-01-16 22:00:55 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-01-16 22:00:55 | command: <data><node>node_kkry8s0204</node><entry><content>content_2rrni10205</content></entry></data>

2023-01-16 22:00:55 | target: http://localhost:8088

2023-01-16 22:00:55 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-01-16 22:00:55 | entity: <data><node>node_kkry8s0204</node><entry><content>content_2rrni10205</content></entry></data>

2023-01-16 22:00:55 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 17 Jan 2023 06:00:55 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-01-16 22:00:55 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>36b4f1e4-2b7d-4eed-8752-5f844de84efc</value></item-id></result>

2023-01-16 22:00:55 | contains: true

2023-01-16 22:00:55 | [Mutex] waiting for: [user_regular1wwq4u0203@test-domain.com:message:received:content_2rrni10205]

2023-01-16 22:00:55 | [Mutex] received everything.

2023-01-16 22:00:55 | [Mutex] isItemNotified: user_regular1wwq4u0203@test-domain.com:message:received:content_2rrni10205 :: true

2023-01-16 22:00:55 |


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


2023-01-16 22:00:55 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-01-16 22:00:55 | command: <data><node>node_kkry8s0204</node><expire-at>2023-01-17T06:00:50Z</expire-at><entry><content>content_2kt1dp0206</content></entry></data>

2023-01-16 22:00:55 | target: http://localhost:8088

2023-01-16 22:00:55 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-01-16 22:00:55 | entity: <data><node>node_kkry8s0204</node><expire-at>2023-01-17T06:00:50Z</expire-at><entry><content>content_2kt1dp0206</content></entry></data>

2023-01-16 22:00:55 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 17 Jan 2023 06:00:55 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-01-16 22:00:55 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>28cb15cd-ea26-4201-89a2-f8e19cda23f8</value></item-id></result>

2023-01-16 22:00:55 | contains: true

2023-01-16 22:00:55 | [Mutex] waiting for: [user_regular1wwq4u0203@test-domain.com:message:received:content_2kt1dp0206]

2023-01-16 22:01:10 | [Mutex] timeout. Not received [user_regular1wwq4u0203@test-domain.com:message:received:content_2kt1dp0206]

2023-01-16 22:01:10 | [Mutex] isItemNotified: user_regular1wwq4u0203@test-domain.com:message:received:content_2kt1dp0206 :: false

2023-01-16 22:01:10 |


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


2023-01-16 22:01:10 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-01-16 22:01:10 | command: <data><node>node_kkry8s0204</node><entry><content>content_f37zys0207</content></entry></data>

2023-01-16 22:01:10 | target: http://localhost:8088

2023-01-16 22:01:10 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-01-16 22:01:10 | entity: <data><node>node_kkry8s0204</node><entry><content>content_f37zys0207</content></entry></data>

2023-01-16 22:01:10 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 17 Jan 2023 06:01:10 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-01-16 22:01:10 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>afe4911e-05ab-483d-bb42-3f2c0122a3f8</value></item-id></result>

2023-01-16 22:01:10 | contains: true

2023-01-16 22:01:15 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-01-16 22:01:15 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222

2023-01-16 22:01:15 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-01-16 22:01:16 | [Mutex] waiting for: [user_regular1wwq4u0203@test-domain.com:message:received:content_f37zys0207]

2023-01-16 22:01:16 | [Mutex] waiting for: [user_regular1wwq4u0203@test-domain.com:message:received:content_f37zys0207]

2023-01-16 22:01:16 | [Mutex] received everything.

2023-01-16 22:01:16 | [Mutex] isItemNotified: user_regular1wwq4u0203@test-domain.com:message:received:content_f37zys0207 :: true

2023-01-16 22:01:16 |


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


2023-01-16 22:01:16 | [Mutex] received everything.

2023-01-16 22:01:16 | [Mutex] isItemNotified: node_kkry8s0204:subscribe_node:success :: true

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

2023-01-16 22:01:16 | command: <data><node>node_kkry8s0204</node><expire-at>2023-01-17T06:01:21Z</expire-at><entry><content>content_e7aspo0208</content></entry></data>

2023-01-16 22:01:16 | target: http://localhost:8088

2023-01-16 22:01:16 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-01-16 22:01:16 | entity: <data><node>node_kkry8s0204</node><expire-at>2023-01-17T06:01:21Z</expire-at><entry><content>content_e7aspo0208</content></entry></data>

2023-01-16 22:01:16 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 17 Jan 2023 06:01:16 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-01-16 22:01:16 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>6cc21909-ce35-4277-8be7-e6166698b6ae</value></item-id></result>

2023-01-16 22:01:16 | contains: true

2023-01-16 22:01:24 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

2023-01-16 22:01:24 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-01-16 22:01:24 | [Mutex] waiting for: [user_regular1wwq4u0203@test-domain.com:message:received:content_e7aspo0208]

2023-01-16 22:01:24 | [Mutex] waiting for: [user_regular1wwq4u0203@test-domain.com:message:received:content_e7aspo0208]

2023-01-16 22:01:24 | [Mutex] waiting for: [user_regular1wwq4u0203@test-domain.com:message:received:content_e7aspo0208]

2023-01-16 22:01:39 | [Mutex] timeout. Not received [user_regular1wwq4u0203@test-domain.com:message:received:content_e7aspo0208]

2023-01-16 22:01:39 | [Mutex] received everything.

2023-01-16 22:01:39 | [Mutex] isItemNotified: user_regular1wwq4u0203@test-domain.com:message:received:content_e7aspo0208 :: false

2023-01-16 22:01:39 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_e7aspo0208 :: true