Generated by TestNG with ReportNG at 22:49 PDT on Tuesday 12 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.830s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.622s
2022-07-12 23:03:33 |

2022-07-12 23:03:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-07-12 23:03:33 | ------------------------------------

2022-07-12 23:03:33 | [Mutex] isItemNotified: node_9df0c70204:exists :: false

2022-07-12 23:03:33 | [Mutex] waiting for: [node_9df0c70204:create_node]

2022-07-12 23:03:33 | [Mutex] received everything.

2022-07-12 23:03:33 | [Mutex] isItemNotified: node_9df0c70204:create_node:success :: true

2022-07-12 23:03:33 | [Mutex] waiting for: [node_9df0c70204:subscribe_node]

2022-07-12 23:03:33 | [Mutex] waiting for: [node_9df0c70204:subscribe_node]

2022-07-12 23:03:33 | [Mutex] received everything.

2022-07-12 23:03:33 | [Mutex] isItemNotified: node_9df0c70204:subscribe_node:success :: true

2022-07-12 23:03:33 |


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


2022-07-12 23:03:33 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-12 23:03:33 | command: <data><node>node_9df0c70204</node><entry><content>content_a5svc80205</content></entry></data>

2022-07-12 23:03:33 | target: http://localhost:8088

2022-07-12 23:03:33 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-07-12 23:03:33 | entity: <data><node>node_9df0c70204</node><entry><content>content_a5svc80205</content></entry></data>

2022-07-12 23:03:33 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 13 Jul 2022 06:03:33 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-12 23:03:33 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>016cc4fa-7d3a-44af-8951-ea972ab4cb27</value></item-id></result>

2022-07-12 23:03:33 | contains: true

2022-07-12 23:03:33 | [Mutex] received everything.

2022-07-12 23:03:33 | [Mutex] isItemNotified: user_regulardyyeiq0203@test-domain.com:message:received:content_a5svc80205 :: true

2022-07-12 23:03:33 |


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


2022-07-12 23:03:33 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-12 23:03:33 | command: <data><node>node_9df0c70204</node><expire-at>2022-07-13T06:03:28Z</expire-at><entry><content>content_uamt7o0206</content></entry></data>

2022-07-12 23:03:33 | target: http://localhost:8088

2022-07-12 23:03:33 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-07-12 23:03:33 | entity: <data><node>node_9df0c70204</node><expire-at>2022-07-13T06:03:28Z</expire-at><entry><content>content_uamt7o0206</content></entry></data>

2022-07-12 23:03:33 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 13 Jul 2022 06:03:33 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-12 23:03:33 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>4a8bd111-edda-4fbd-9279-253c9ef0951b</value></item-id></result>

2022-07-12 23:03:33 | contains: true

2022-07-12 23:03:33 | [Mutex] waiting for: [user_regulardyyeiq0203@test-domain.com:message:received:content_uamt7o0206]

2022-07-12 23:03:48 | [Mutex] timeout. Not received [user_regulardyyeiq0203@test-domain.com:message:received:content_uamt7o0206]

2022-07-12 23:03:48 | [Mutex] isItemNotified: user_regulardyyeiq0203@test-domain.com:message:received:content_uamt7o0206 :: false

2022-07-12 23:03:48 |


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


2022-07-12 23:03:49 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-12 23:03:49 | command: <data><node>node_9df0c70204</node><entry><content>content_v5wqzn0207</content></entry></data>

2022-07-12 23:03:49 | target: http://localhost:8088

2022-07-12 23:03:49 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-07-12 23:03:49 | entity: <data><node>node_9df0c70204</node><entry><content>content_v5wqzn0207</content></entry></data>

2022-07-12 23:03:49 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 13 Jul 2022 06:03:49 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-12 23:03:49 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>701a797e-38c4-4b89-af0a-fbde505a97d0</value></item-id></result>

2022-07-12 23:03:49 | contains: true

2022-07-12 23:03:54 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

2022-07-12 23:03:54 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-07-12 23:03:54 | [Mutex] waiting for: [user_regulardyyeiq0203@test-domain.com:message:received:content_v5wqzn0207]

2022-07-12 23:03:54 | [Mutex] waiting for: [user_regulardyyeiq0203@test-domain.com:message:received:content_v5wqzn0207]

2022-07-12 23:03:54 | [Mutex] received everything.

2022-07-12 23:03:54 | [Mutex] isItemNotified: user_regulardyyeiq0203@test-domain.com:message:received:content_v5wqzn0207 :: true

2022-07-12 23:03:54 |


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


2022-07-12 23:03:54 | [Mutex] received everything.

2022-07-12 23:03:54 | [Mutex] isItemNotified: node_9df0c70204:subscribe_node:success :: true

2022-07-12 23:03:54 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-12 23:03:54 | command: <data><node>node_9df0c70204</node><expire-at>2022-07-13T06:03:59Z</expire-at><entry><content>content_d4f73m0208</content></entry></data>

2022-07-12 23:03:54 | target: http://localhost:8088

2022-07-12 23:03:54 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-07-12 23:03:54 | entity: <data><node>node_9df0c70204</node><expire-at>2022-07-13T06:03:59Z</expire-at><entry><content>content_d4f73m0208</content></entry></data>

2022-07-12 23:03:54 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 13 Jul 2022 06:03:54 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-12 23:03:54 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>00eef900-b6c3-4320-9a7a-26cb59a77945</value></item-id></result>

2022-07-12 23:03:54 | contains: true

2022-07-12 23:04:02 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-07-12 23:04:02 | [Mutex] waiting for: [user_regulardyyeiq0203@test-domain.com:message:received:content_d4f73m0208]

2022-07-12 23:04:17 | [Mutex] timeout. Not received [user_regulardyyeiq0203@test-domain.com:message:received:content_d4f73m0208]

2022-07-12 23:04:17 | [Mutex] received everything.

2022-07-12 23:04:17 | [Mutex] isItemNotified: user_regulardyyeiq0203@test-domain.com:message:received:content_d4f73m0208 :: false

2022-07-12 23:04:17 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_d4f73m0208 :: true