Generated by TestNG with ReportNG at 09:55 PST on Friday 30 December 2022
root@7c41cec37518 / 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.499s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.621s
2022-12-30 10:10:38 |

2022-12-30 10:10:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-12-30 10:10:38 | ------------------------------------

2022-12-30 10:10:38 | [Mutex] isItemNotified: node_q461uy0204:exists :: false

2022-12-30 10:10:38 | [Mutex] waiting for: [node_q461uy0204:create_node]

2022-12-30 10:10:38 | [Mutex] waiting for: [node_q461uy0204:create_node]

2022-12-30 10:10:38 | [Mutex] received everything.

2022-12-30 10:10:38 | [Mutex] isItemNotified: node_q461uy0204:create_node:success :: true

2022-12-30 10:10:38 | [Mutex] waiting for: [node_q461uy0204:subscribe_node]

2022-12-30 10:10:38 | [Mutex] waiting for: [node_q461uy0204:subscribe_node]

2022-12-30 10:10:38 | [Mutex] received everything.

2022-12-30 10:10:38 | [Mutex] isItemNotified: node_q461uy0204:subscribe_node:success :: true

2022-12-30 10:10:38 |


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


2022-12-30 10:10:38 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-12-30 10:10:38 | command: <data><node>node_q461uy0204</node><entry><content>content_g4atme0205</content></entry></data>

2022-12-30 10:10:38 | target: http://localhost:8088

2022-12-30 10:10:38 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-12-30 10:10:38 | entity: <data><node>node_q461uy0204</node><entry><content>content_g4atme0205</content></entry></data>

2022-12-30 10:10:38 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 30 Dec 2022 18:10:38 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-12-30 10:10:38 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>9cafaf3e-81a3-4829-92ee-f4caf7ff1b8e</value></item-id></result>

2022-12-30 10:10:38 | contains: true

2022-12-30 10:10:38 | [Mutex] waiting for: [user_regulartt2ypi0203@test-domain.com:message:received:content_g4atme0205]

2022-12-30 10:10:38 | [Mutex] received everything.

2022-12-30 10:10:38 | [Mutex] isItemNotified: user_regulartt2ypi0203@test-domain.com:message:received:content_g4atme0205 :: true

2022-12-30 10:10:38 |


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


2022-12-30 10:10:38 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-12-30 10:10:38 | command: <data><node>node_q461uy0204</node><expire-at>2022-12-30T18:10:33Z</expire-at><entry><content>content_wpixfc0206</content></entry></data>

2022-12-30 10:10:38 | target: http://localhost:8088

2022-12-30 10:10:38 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-12-30 10:10:38 | entity: <data><node>node_q461uy0204</node><expire-at>2022-12-30T18:10:33Z</expire-at><entry><content>content_wpixfc0206</content></entry></data>

2022-12-30 10:10:38 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 30 Dec 2022 18:10:38 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-12-30 10:10:38 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>f6229128-2e81-4416-9005-b9c4afb1767e</value></item-id></result>

2022-12-30 10:10:38 | contains: true

2022-12-30 10:10:38 | [Mutex] waiting for: [user_regulartt2ypi0203@test-domain.com:message:received:content_wpixfc0206]

2022-12-30 10:10:53 | [Mutex] timeout. Not received [user_regulartt2ypi0203@test-domain.com:message:received:content_wpixfc0206]

2022-12-30 10:10:53 | [Mutex] isItemNotified: user_regulartt2ypi0203@test-domain.com:message:received:content_wpixfc0206 :: false

2022-12-30 10:10:53 |


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


2022-12-30 10:10:53 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-12-30 10:10:53 | command: <data><node>node_q461uy0204</node><entry><content>content_i4c5tg0207</content></entry></data>

2022-12-30 10:10:53 | target: http://localhost:8088

2022-12-30 10:10:53 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-12-30 10:10:53 | entity: <data><node>node_q461uy0204</node><entry><content>content_i4c5tg0207</content></entry></data>

2022-12-30 10:10:53 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 30 Dec 2022 18:10:53 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-12-30 10:10:53 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>160d3320-6adb-40a2-90e7-8dd8d9151f09</value></item-id></result>

2022-12-30 10:10:53 | contains: true

2022-12-30 10:10:58 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-12-30 10:10:58 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222

2022-12-30 10:10:58 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-12-30 10:10:58 | [Mutex] received everything.

2022-12-30 10:10:58 | [Mutex] isItemNotified: user_regulartt2ypi0203@test-domain.com:message:received:content_i4c5tg0207 :: true

2022-12-30 10:10:58 |


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


2022-12-30 10:10:58 | [Mutex] received everything.

2022-12-30 10:10:58 | [Mutex] isItemNotified: node_q461uy0204:subscribe_node:success :: true

2022-12-30 10:10:58 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-12-30 10:10:58 | command: <data><node>node_q461uy0204</node><expire-at>2022-12-30T18:11:03Z</expire-at><entry><content>content_rc3bpx0208</content></entry></data>

2022-12-30 10:10:58 | target: http://localhost:8088

2022-12-30 10:10:58 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-12-30 10:10:58 | entity: <data><node>node_q461uy0204</node><expire-at>2022-12-30T18:11:03Z</expire-at><entry><content>content_rc3bpx0208</content></entry></data>

2022-12-30 10:10:59 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 30 Dec 2022 18:10:59 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-12-30 10:10:59 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>665907d8-e037-4dc7-b334-5d4ec5bc901a</value></item-id></result>

2022-12-30 10:10:59 | contains: true

2022-12-30 10:11:07 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-12-30 10:11:07 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222

2022-12-30 10:11:07 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-12-30 10:11:07 | [Mutex] waiting for: [user_regulartt2ypi0203@test-domain.com:message:received:content_rc3bpx0208]

2022-12-30 10:11:07 | [Mutex] waiting for: [user_regulartt2ypi0203@test-domain.com:message:received:content_rc3bpx0208]

2022-12-30 10:11:07 | [Mutex] waiting for: [user_regulartt2ypi0203@test-domain.com:message:received:content_rc3bpx0208]

2022-12-30 10:11:22 | [Mutex] timeout. Not received [user_regulartt2ypi0203@test-domain.com:message:received:content_rc3bpx0208]

2022-12-30 10:11:22 | [Mutex] received everything.

2022-12-30 10:11:22 | [Mutex] isItemNotified: user_regulartt2ypi0203@test-domain.com:message:received:content_rc3bpx0208 :: false

2022-12-30 10:11:22 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_rc3bpx0208 :: true