Generated by TestNG with ReportNG at 23:00 PDT on Sunday 15 May 2022
root@21fb2cc9076b / Java 17.0.2 (Private Build) / Linux 4.14.186-146.268.amzn2.x86_64 (amd64)

REST: Item publication on PubSub node with message expiration using REST API - #2959

Suites · Log Output

Test duration : 45.003s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.636s
2022-05-15 23:14:55 |

2022-05-15 23:14:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-05-15 23:14:55 | ------------------------------------

2022-05-15 23:14:55 | [Mutex] isItemNotified: node_a5z9ew0204:exists :: false

2022-05-15 23:14:55 | [Mutex] waiting for: [node_a5z9ew0204:create_node]

2022-05-15 23:14:55 | [Mutex] received everything.

2022-05-15 23:14:55 | [Mutex] isItemNotified: node_a5z9ew0204:create_node:success :: true

2022-05-15 23:14:55 | [Mutex] waiting for: [node_a5z9ew0204:subscribe_node]

2022-05-15 23:14:55 | [Mutex] waiting for: [node_a5z9ew0204:subscribe_node]

2022-05-15 23:14:55 | [Mutex] received everything.

2022-05-15 23:14:55 | [Mutex] isItemNotified: node_a5z9ew0204:subscribe_node:success :: true

2022-05-15 23:14:55 |


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


2022-05-15 23:14:55 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-05-15 23:14:55 | command: <data><node>node_a5z9ew0204</node><entry><content>content_h0qzgu0205</content></entry></data>

2022-05-15 23:14:55 | target: http://localhost:8088

2022-05-15 23:14:55 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-05-15 23:14:55 | entity: <data><node>node_a5z9ew0204</node><entry><content>content_h0qzgu0205</content></entry></data>

2022-05-15 23:14:55 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 16 May 2022 06:14:55 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-05-15 23:14:55 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>01bab6af-9f29-46d4-9773-f9477f48dc97</value></item-id></result>

2022-05-15 23:14:55 | contains: true

2022-05-15 23:14:55 | [Mutex] received everything.

2022-05-15 23:14:55 | [Mutex] isItemNotified: user_regularavoijw0203@test-domain.com:message:received:content_h0qzgu0205 :: true

2022-05-15 23:14:55 |


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


2022-05-15 23:14:55 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-05-15 23:14:55 | command: <data><node>node_a5z9ew0204</node><expire-at>2022-05-16T06:14:50Z</expire-at><entry><content>content_9hpmod0206</content></entry></data>

2022-05-15 23:14:55 | target: http://localhost:8088

2022-05-15 23:14:55 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-05-15 23:14:55 | entity: <data><node>node_a5z9ew0204</node><expire-at>2022-05-16T06:14:50Z</expire-at><entry><content>content_9hpmod0206</content></entry></data>

2022-05-15 23:14:55 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 16 May 2022 06:14:55 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-05-15 23:14:55 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>f3c938ea-f21e-4952-8397-54f295345d13</value></item-id></result>

2022-05-15 23:14:55 | contains: true

2022-05-15 23:14:55 | [Mutex] waiting for: [user_regularavoijw0203@test-domain.com:message:received:content_9hpmod0206]

2022-05-15 23:15:10 | [Mutex] timeout. Not received [user_regularavoijw0203@test-domain.com:message:received:content_9hpmod0206]

2022-05-15 23:15:10 | [Mutex] isItemNotified: user_regularavoijw0203@test-domain.com:message:received:content_9hpmod0206 :: false

2022-05-15 23:15:10 |


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


2022-05-15 23:15:10 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-05-15 23:15:10 | command: <data><node>node_a5z9ew0204</node><entry><content>content_3nydql0207</content></entry></data>

2022-05-15 23:15:10 | target: http://localhost:8088

2022-05-15 23:15:10 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-05-15 23:15:10 | entity: <data><node>node_a5z9ew0204</node><entry><content>content_3nydql0207</content></entry></data>

2022-05-15 23:15:10 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 16 May 2022 06:15:10 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-05-15 23:15:10 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>14f5a75c-0fc3-4157-8fe9-f24d5b5790f8</value></item-id></result>

2022-05-15 23:15:10 | contains: true

2022-05-15 23:15:15 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-05-15 23:15:15 | [Mutex] waiting for: [user_regularavoijw0203@test-domain.com:message:received:content_3nydql0207]

2022-05-15 23:15:15 | [Mutex] received everything.

2022-05-15 23:15:15 | [Mutex] isItemNotified: user_regularavoijw0203@test-domain.com:message:received:content_3nydql0207 :: true

2022-05-15 23:15:15 |


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


2022-05-15 23:15:15 | [Mutex] received everything.

2022-05-15 23:15:15 | [Mutex] isItemNotified: node_a5z9ew0204:subscribe_node:success :: true

2022-05-15 23:15:15 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-05-15 23:15:15 | command: <data><node>node_a5z9ew0204</node><expire-at>2022-05-16T06:15:20Z</expire-at><entry><content>content_h0466o0208</content></entry></data>

2022-05-15 23:15:15 | target: http://localhost:8088

2022-05-15 23:15:15 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-05-15 23:15:15 | entity: <data><node>node_a5z9ew0204</node><expire-at>2022-05-16T06:15:20Z</expire-at><entry><content>content_h0466o0208</content></entry></data>

2022-05-15 23:15:15 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 16 May 2022 06:15:15 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-05-15 23:15:15 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>b599da42-72b4-415d-bba8-50f8c59ff9e2</value></item-id></result>

2022-05-15 23:15:15 | contains: true

2022-05-15 23:15:23 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-05-15 23:15:23 | [Mutex] waiting for: [user_regularavoijw0203@test-domain.com:message:received:content_h0466o0208]

2022-05-15 23:15:23 | [Mutex] waiting for: [user_regularavoijw0203@test-domain.com:message:received:content_h0466o0208]

2022-05-15 23:15:38 | [Mutex] timeout. Not received [user_regularavoijw0203@test-domain.com:message:received:content_h0466o0208]

2022-05-15 23:15:38 | [Mutex] received everything.

2022-05-15 23:15:38 | [Mutex] isItemNotified: user_regularavoijw0203@test-domain.com:message:received:content_h0466o0208 :: false

2022-05-15 23:15:38 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_h0466o0208 :: true