Generated by TestNG with ReportNG at 22:17 PDT on Friday 17 June 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 : 44.568s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.601s
2022-06-17 22:32:16 |

2022-06-17 22:32:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-06-17 22:32:16 | ------------------------------------

2022-06-17 22:32:16 | [Mutex] isItemNotified: node_m3phzz0204:exists :: false

2022-06-17 22:32:16 | [Mutex] waiting for: [node_m3phzz0204:create_node]

2022-06-17 22:32:16 | [Mutex] waiting for: [node_m3phzz0204:create_node]

2022-06-17 22:32:16 | [Mutex] received everything.

2022-06-17 22:32:16 | [Mutex] isItemNotified: node_m3phzz0204:create_node:success :: true

2022-06-17 22:32:16 | [Mutex] waiting for: [node_m3phzz0204:subscribe_node]

2022-06-17 22:32:16 | [Mutex] waiting for: [node_m3phzz0204:subscribe_node]

2022-06-17 22:32:16 | [Mutex] received everything.

2022-06-17 22:32:16 | [Mutex] isItemNotified: node_m3phzz0204:subscribe_node:success :: true

2022-06-17 22:32:16 |


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


2022-06-17 22:32:16 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-06-17 22:32:16 | command: <data><node>node_m3phzz0204</node><entry><content>content_1wsh4y0205</content></entry></data>

2022-06-17 22:32:16 | target: http://localhost:8088

2022-06-17 22:32:16 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-06-17 22:32:16 | entity: <data><node>node_m3phzz0204</node><entry><content>content_1wsh4y0205</content></entry></data>

2022-06-17 22:32:16 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 18 Jun 2022 05:32:16 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-06-17 22:32:16 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>ae5e383c-e52a-40c4-90b9-a6cdae6c5dd4</value></item-id></result>

2022-06-17 22:32:16 | contains: true

2022-06-17 22:32:16 | [Mutex] received everything.

2022-06-17 22:32:16 | [Mutex] isItemNotified: user_regular9ui2qp0203@test-domain.com:message:received:content_1wsh4y0205 :: true

2022-06-17 22:32:16 |


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


2022-06-17 22:32:16 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-06-17 22:32:16 | command: <data><node>node_m3phzz0204</node><expire-at>2022-06-18T05:32:11Z</expire-at><entry><content>content_hkcrvy0206</content></entry></data>

2022-06-17 22:32:16 | target: http://localhost:8088

2022-06-17 22:32:16 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-06-17 22:32:16 | entity: <data><node>node_m3phzz0204</node><expire-at>2022-06-18T05:32:11Z</expire-at><entry><content>content_hkcrvy0206</content></entry></data>

2022-06-17 22:32:16 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 18 Jun 2022 05:32:16 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-06-17 22:32:16 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>b54f8b72-ea35-4ae9-a284-0dea35ab2e0c</value></item-id></result>

2022-06-17 22:32:16 | contains: true

2022-06-17 22:32:16 | [Mutex] waiting for: [user_regular9ui2qp0203@test-domain.com:message:received:content_hkcrvy0206]

2022-06-17 22:32:31 | [Mutex] timeout. Not received [user_regular9ui2qp0203@test-domain.com:message:received:content_hkcrvy0206]

2022-06-17 22:32:31 | [Mutex] isItemNotified: user_regular9ui2qp0203@test-domain.com:message:received:content_hkcrvy0206 :: false

2022-06-17 22:32:31 |


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


2022-06-17 22:32:31 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-06-17 22:32:31 | command: <data><node>node_m3phzz0204</node><entry><content>content_svgmos0207</content></entry></data>

2022-06-17 22:32:31 | target: http://localhost:8088

2022-06-17 22:32:31 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-06-17 22:32:31 | entity: <data><node>node_m3phzz0204</node><entry><content>content_svgmos0207</content></entry></data>

2022-06-17 22:32:31 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 18 Jun 2022 05:32:31 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-06-17 22:32:31 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>a4693147-a0c8-47c4-b454-e8b663977d55</value></item-id></result>

2022-06-17 22:32:31 | contains: true

2022-06-17 22:32:36 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-06-17 22:32:36 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222

2022-06-17 22:32:36 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-06-17 22:32:36 | [Mutex] waiting for: [user_regular9ui2qp0203@test-domain.com:message:received:content_svgmos0207]

2022-06-17 22:32:36 | [Mutex] waiting for: [user_regular9ui2qp0203@test-domain.com:message:received:content_svgmos0207]

2022-06-17 22:32:36 | [Mutex] received everything.

2022-06-17 22:32:36 | [Mutex] isItemNotified: user_regular9ui2qp0203@test-domain.com:message:received:content_svgmos0207 :: true

2022-06-17 22:32:36 |


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


2022-06-17 22:32:36 | [Mutex] received everything.

2022-06-17 22:32:36 | [Mutex] isItemNotified: node_m3phzz0204:subscribe_node:success :: true

2022-06-17 22:32:36 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-06-17 22:32:36 | command: <data><node>node_m3phzz0204</node><expire-at>2022-06-18T05:32:41Z</expire-at><entry><content>content_j47ype0208</content></entry></data>

2022-06-17 22:32:36 | target: http://localhost:8088

2022-06-17 22:32:36 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-06-17 22:32:36 | entity: <data><node>node_m3phzz0204</node><expire-at>2022-06-18T05:32:41Z</expire-at><entry><content>content_j47ype0208</content></entry></data>

2022-06-17 22:32:36 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 18 Jun 2022 05:32:36 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-06-17 22:32:36 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>4a290f60-cd48-4862-8d08-fe0bf913380c</value></item-id></result>

2022-06-17 22:32:36 | contains: true

2022-06-17 22:32:44 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-06-17 22:32:44 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222

2022-06-17 22:32:44 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-06-17 22:32:44 | [Mutex] waiting for: [user_regular9ui2qp0203@test-domain.com:message:received:content_j47ype0208]

2022-06-17 22:32:44 | [Mutex] waiting for: [user_regular9ui2qp0203@test-domain.com:message:received:content_j47ype0208]

2022-06-17 22:32:59 | [Mutex] timeout. Not received [user_regular9ui2qp0203@test-domain.com:message:received:content_j47ype0208]

2022-06-17 22:32:59 | [Mutex] received everything.

2022-06-17 22:32:59 | [Mutex] isItemNotified: user_regular9ui2qp0203@test-domain.com:message:received:content_j47ype0208 :: false

2022-06-17 22:32:59 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_j47ype0208 :: true