Generated by TestNG with ReportNG at 21:15 PST on Wednesday 28 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.813s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.720s
2022-12-28 21:32:02 |

2022-12-28 21:32:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-12-28 21:32:02 | ------------------------------------

2022-12-28 21:32:02 | [Mutex] isItemNotified: node_hfounm0204:exists :: false

2022-12-28 21:32:02 | [Mutex] waiting for: [node_hfounm0204:create_node]

2022-12-28 21:32:02 | [Mutex] received everything.

2022-12-28 21:32:02 | [Mutex] isItemNotified: node_hfounm0204:create_node:success :: true

2022-12-28 21:32:02 | [Mutex] waiting for: [node_hfounm0204:subscribe_node]

2022-12-28 21:32:02 | [Mutex] waiting for: [node_hfounm0204:subscribe_node]

2022-12-28 21:32:02 | [Mutex] received everything.

2022-12-28 21:32:02 | [Mutex] isItemNotified: node_hfounm0204:subscribe_node:success :: true

2022-12-28 21:32:02 |


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


2022-12-28 21:32:02 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-12-28 21:32:02 | command: <data><node>node_hfounm0204</node><entry><content>content_rzv2y60205</content></entry></data>

2022-12-28 21:32:02 | target: http://localhost:8088

2022-12-28 21:32:02 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-12-28 21:32:02 | entity: <data><node>node_hfounm0204</node><entry><content>content_rzv2y60205</content></entry></data>

2022-12-28 21:32:02 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 29 Dec 2022 05:32:02 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-12-28 21:32:02 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>beb55c4a-11bb-491c-9651-be3f10c6169c</value></item-id></result>

2022-12-28 21:32:02 | contains: true

2022-12-28 21:32:02 | [Mutex] waiting for: [user_regularqng30t0203@test-domain.com:message:received:content_rzv2y60205]

2022-12-28 21:32:02 | [Mutex] received everything.

2022-12-28 21:32:02 | [Mutex] isItemNotified: user_regularqng30t0203@test-domain.com:message:received:content_rzv2y60205 :: true

2022-12-28 21:32:02 |


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


2022-12-28 21:32:02 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-12-28 21:32:02 | command: <data><node>node_hfounm0204</node><expire-at>2022-12-29T05:31:57Z</expire-at><entry><content>content_hn2sc90206</content></entry></data>

2022-12-28 21:32:02 | target: http://localhost:8088

2022-12-28 21:32:02 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-12-28 21:32:02 | entity: <data><node>node_hfounm0204</node><expire-at>2022-12-29T05:31:57Z</expire-at><entry><content>content_hn2sc90206</content></entry></data>

2022-12-28 21:32:02 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 29 Dec 2022 05:32:02 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-12-28 21:32:03 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>8ec591d6-c7b6-4aae-bd3f-6d6897616f35</value></item-id></result>

2022-12-28 21:32:03 | contains: true

2022-12-28 21:32:03 | [Mutex] waiting for: [user_regularqng30t0203@test-domain.com:message:received:content_hn2sc90206]

2022-12-28 21:32:18 | [Mutex] timeout. Not received [user_regularqng30t0203@test-domain.com:message:received:content_hn2sc90206]

2022-12-28 21:32:18 | [Mutex] isItemNotified: user_regularqng30t0203@test-domain.com:message:received:content_hn2sc90206 :: false

2022-12-28 21:32:18 |


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


2022-12-28 21:32:18 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-12-28 21:32:18 | command: <data><node>node_hfounm0204</node><entry><content>content_dfb0g60207</content></entry></data>

2022-12-28 21:32:18 | target: http://localhost:8088

2022-12-28 21:32:18 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-12-28 21:32:18 | entity: <data><node>node_hfounm0204</node><entry><content>content_dfb0g60207</content></entry></data>

2022-12-28 21:32:18 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 29 Dec 2022 05:32:18 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-12-28 21:32:18 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>245c0270-cfac-47f4-9095-bd4f38267542</value></item-id></result>

2022-12-28 21:32:18 | contains: true

2022-12-28 21:32:23 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-12-28 21:32:23 | [Mutex] waiting for: [user_regularqng30t0203@test-domain.com:message:received:content_dfb0g60207]

2022-12-28 21:32:23 | [Mutex] received everything.

2022-12-28 21:32:23 | [Mutex] isItemNotified: user_regularqng30t0203@test-domain.com:message:received:content_dfb0g60207 :: true

2022-12-28 21:32:23 |


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


2022-12-28 21:32:23 | [Mutex] received everything.

2022-12-28 21:32:23 | [Mutex] isItemNotified: node_hfounm0204:subscribe_node:success :: true

2022-12-28 21:32:23 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-12-28 21:32:23 | command: <data><node>node_hfounm0204</node><expire-at>2022-12-29T05:32:28Z</expire-at><entry><content>content_fpuxmy0208</content></entry></data>

2022-12-28 21:32:23 | target: http://localhost:8088

2022-12-28 21:32:23 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-12-28 21:32:23 | entity: <data><node>node_hfounm0204</node><expire-at>2022-12-29T05:32:28Z</expire-at><entry><content>content_fpuxmy0208</content></entry></data>

2022-12-28 21:32:23 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 29 Dec 2022 05:32:23 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-12-28 21:32:23 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>93c179b8-ceb1-405c-98d0-31581d1a9efd</value></item-id></result>

2022-12-28 21:32:23 | contains: true

2022-12-28 21:32:31 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

2022-12-28 21:32:31 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-12-28 21:32:31 | [Mutex] waiting for: [user_regularqng30t0203@test-domain.com:message:received:content_fpuxmy0208]

2022-12-28 21:32:31 | [Mutex] waiting for: [user_regularqng30t0203@test-domain.com:message:received:content_fpuxmy0208]

2022-12-28 21:32:46 | [Mutex] timeout. Not received [user_regularqng30t0203@test-domain.com:message:received:content_fpuxmy0208]

2022-12-28 21:32:46 | [Mutex] received everything.

2022-12-28 21:32:46 | [Mutex] isItemNotified: user_regularqng30t0203@test-domain.com:message:received:content_fpuxmy0208 :: false

2022-12-28 21:32:46 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_fpuxmy0208 :: true