Generated by TestNG with ReportNG at 22:50 PDT on Sunday 01 May 2022
root@61c39d2ed70d / 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.223s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.641s
2022-05-01 23:05:03 |

2022-05-01 23:05:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-05-01 23:05:03 | ------------------------------------

2022-05-01 23:05:03 | [Mutex] isItemNotified: node_i5vvbw0204:exists :: false

2022-05-01 23:05:03 | [Mutex] waiting for: [node_i5vvbw0204:create_node]

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

2022-05-01 23:05:03 | [Mutex] isItemNotified: node_i5vvbw0204:create_node:success :: true

2022-05-01 23:05:03 | [Mutex] waiting for: [node_i5vvbw0204:subscribe_node]

2022-05-01 23:05:03 | [Mutex] waiting for: [node_i5vvbw0204:subscribe_node]

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

2022-05-01 23:05:03 | [Mutex] isItemNotified: node_i5vvbw0204:subscribe_node:success :: true

2022-05-01 23:05:03 |


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


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

2022-05-01 23:05:03 | command: <data><node>node_i5vvbw0204</node><entry><content>content_twyxo0205</content></entry></data>

2022-05-01 23:05:03 | target: http://localhost:8088

2022-05-01 23:05:03 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false]

2022-05-01 23:05:03 | entity: <data><node>node_i5vvbw0204</node><entry><content>content_twyxo0205</content></entry></data>

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

2022-05-01 23:05:03 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>7eb1f64c-e2aa-458a-b1f0-8355a8984742</value></item-id></result>

2022-05-01 23:05:03 | contains: true

2022-05-01 23:05:03 | [Mutex] waiting for: [user_regularsss3vn0203@test-domain.com:message:received:content_twyxo0205]

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

2022-05-01 23:05:03 | [Mutex] isItemNotified: user_regularsss3vn0203@test-domain.com:message:received:content_twyxo0205 :: true

2022-05-01 23:05:03 |


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


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

2022-05-01 23:05:03 | command: <data><node>node_i5vvbw0204</node><expire-at>2022-05-02T06:04:58Z</expire-at><entry><content>content_7t2hm90206</content></entry></data>

2022-05-01 23:05:03 | target: http://localhost:8088

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

2022-05-01 23:05:03 | entity: <data><node>node_i5vvbw0204</node><expire-at>2022-05-02T06:04:58Z</expire-at><entry><content>content_7t2hm90206</content></entry></data>

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

2022-05-01 23:05:03 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>eb9e23af-e132-4a27-bf4c-74c7d81bdd29</value></item-id></result>

2022-05-01 23:05:03 | contains: true

2022-05-01 23:05:03 | [Mutex] waiting for: [user_regularsss3vn0203@test-domain.com:message:received:content_7t2hm90206]

2022-05-01 23:05:18 | [Mutex] timeout. Not received [user_regularsss3vn0203@test-domain.com:message:received:content_7t2hm90206]

2022-05-01 23:05:18 | [Mutex] isItemNotified: user_regularsss3vn0203@test-domain.com:message:received:content_7t2hm90206 :: false

2022-05-01 23:05:18 |


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


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

2022-05-01 23:05:18 | command: <data><node>node_i5vvbw0204</node><entry><content>content_inwptt0207</content></entry></data>

2022-05-01 23:05:18 | target: http://localhost:8088

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

2022-05-01 23:05:18 | entity: <data><node>node_i5vvbw0204</node><entry><content>content_inwptt0207</content></entry></data>

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

2022-05-01 23:05:18 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>7e16d462-abab-4db7-8271-21a5c2f437b6</value></item-id></result>

2022-05-01 23:05:18 | contains: true

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

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

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

2022-05-01 23:05:23 | [Mutex] waiting for: [user_regularsss3vn0203@test-domain.com:message:received:content_inwptt0207]

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

2022-05-01 23:05:23 | [Mutex] isItemNotified: user_regularsss3vn0203@test-domain.com:message:received:content_inwptt0207 :: true

2022-05-01 23:05:23 |


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


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

2022-05-01 23:05:23 | [Mutex] isItemNotified: node_i5vvbw0204:subscribe_node:success :: true

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

2022-05-01 23:05:23 | command: <data><node>node_i5vvbw0204</node><expire-at>2022-05-02T06:05:28Z</expire-at><entry><content>content_id4gae0208</content></entry></data>

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

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

2022-05-01 23:05:23 | entity: <data><node>node_i5vvbw0204</node><expire-at>2022-05-02T06:05:28Z</expire-at><entry><content>content_id4gae0208</content></entry></data>

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

2022-05-01 23:05:23 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>c2cc49f3-9f0b-4ee2-8b6f-c8d2fd8197ee</value></item-id></result>

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

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

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

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

2022-05-01 23:05:31 | [Mutex] waiting for: [user_regularsss3vn0203@test-domain.com:message:received:content_id4gae0208]

2022-05-01 23:05:46 | [Mutex] timeout. Not received [user_regularsss3vn0203@test-domain.com:message:received:content_id4gae0208]

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

2022-05-01 23:05:46 | [Mutex] isItemNotified: user_regularsss3vn0203@test-domain.com:message:received:content_id4gae0208 :: false

2022-05-01 23:05:46 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_id4gae0208 :: true