Generated by TestNG with ReportNG at 22:47 PDT on Thursday 11 August 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.933s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.610s
2022-08-11 23:02:17 |

2022-08-11 23:02:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-08-11 23:02:17 | ------------------------------------

2022-08-11 23:02:17 | [Mutex] isItemNotified: node_6uwm1a0204:exists :: false

2022-08-11 23:02:17 | [Mutex] waiting for: [node_6uwm1a0204:create_node]

2022-08-11 23:02:17 | [Mutex] received everything.

2022-08-11 23:02:17 | [Mutex] isItemNotified: node_6uwm1a0204:create_node:success :: true

2022-08-11 23:02:17 | [Mutex] waiting for: [node_6uwm1a0204:subscribe_node]

2022-08-11 23:02:17 | [Mutex] waiting for: [node_6uwm1a0204:subscribe_node]

2022-08-11 23:02:17 | [Mutex] received everything.

2022-08-11 23:02:17 | [Mutex] isItemNotified: node_6uwm1a0204:subscribe_node:success :: true

2022-08-11 23:02:17 |


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


2022-08-11 23:02:17 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-11 23:02:17 | command: <data><node>node_6uwm1a0204</node><entry><content>content_7ra48f0205</content></entry></data>

2022-08-11 23:02:17 | target: http://localhost:8088

2022-08-11 23:02:17 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-08-11 23:02:17 | entity: <data><node>node_6uwm1a0204</node><entry><content>content_7ra48f0205</content></entry></data>

2022-08-11 23:02:17 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 12 Aug 2022 06:02:17 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-11 23:02:17 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>619cd276-ace2-4333-b3ff-e735e6b3a19c</value></item-id></result>

2022-08-11 23:02:17 | contains: true

2022-08-11 23:02:17 | [Mutex] waiting for: [user_regular9wdnky0203@test-domain.com:message:received:content_7ra48f0205]

2022-08-11 23:02:17 | [Mutex] received everything.

2022-08-11 23:02:17 | [Mutex] isItemNotified: user_regular9wdnky0203@test-domain.com:message:received:content_7ra48f0205 :: true

2022-08-11 23:02:17 |


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


2022-08-11 23:02:17 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-11 23:02:17 | command: <data><node>node_6uwm1a0204</node><expire-at>2022-08-12T06:02:12Z</expire-at><entry><content>content_xnx8g20206</content></entry></data>

2022-08-11 23:02:17 | target: http://localhost:8088

2022-08-11 23:02:17 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-08-11 23:02:17 | entity: <data><node>node_6uwm1a0204</node><expire-at>2022-08-12T06:02:12Z</expire-at><entry><content>content_xnx8g20206</content></entry></data>

2022-08-11 23:02:17 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 12 Aug 2022 06:02:17 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-11 23:02:17 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>21810958-d612-4d64-bde3-d25e2042ab60</value></item-id></result>

2022-08-11 23:02:17 | contains: true

2022-08-11 23:02:17 | [Mutex] waiting for: [user_regular9wdnky0203@test-domain.com:message:received:content_xnx8g20206]

2022-08-11 23:02:32 | [Mutex] timeout. Not received [user_regular9wdnky0203@test-domain.com:message:received:content_xnx8g20206]

2022-08-11 23:02:32 | [Mutex] isItemNotified: user_regular9wdnky0203@test-domain.com:message:received:content_xnx8g20206 :: false

2022-08-11 23:02:32 |


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


2022-08-11 23:02:32 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-11 23:02:32 | command: <data><node>node_6uwm1a0204</node><entry><content>content_a7wxy90207</content></entry></data>

2022-08-11 23:02:32 | target: http://localhost:8088

2022-08-11 23:02:32 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-08-11 23:02:32 | entity: <data><node>node_6uwm1a0204</node><entry><content>content_a7wxy90207</content></entry></data>

2022-08-11 23:02:32 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 12 Aug 2022 06:02:32 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-11 23:02:32 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>43286f08-0485-4282-80c8-f19d5c47ab39</value></item-id></result>

2022-08-11 23:02:32 | contains: true

2022-08-11 23:02:37 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-08-11 23:02:37 | [Mutex] waiting for: [user_regular9wdnky0203@test-domain.com:message:received:content_a7wxy90207]

2022-08-11 23:02:37 | [Mutex] received everything.

2022-08-11 23:02:37 | [Mutex] isItemNotified: user_regular9wdnky0203@test-domain.com:message:received:content_a7wxy90207 :: true

2022-08-11 23:02:37 |


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


2022-08-11 23:02:37 | [Mutex] received everything.

2022-08-11 23:02:37 | [Mutex] isItemNotified: node_6uwm1a0204:subscribe_node:success :: true

2022-08-11 23:02:37 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-11 23:02:37 | command: <data><node>node_6uwm1a0204</node><expire-at>2022-08-12T06:02:42Z</expire-at><entry><content>content_t9upj70208</content></entry></data>

2022-08-11 23:02:37 | target: http://localhost:8088

2022-08-11 23:02:37 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-08-11 23:02:37 | entity: <data><node>node_6uwm1a0204</node><expire-at>2022-08-12T06:02:42Z</expire-at><entry><content>content_t9upj70208</content></entry></data>

2022-08-11 23:02:37 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 12 Aug 2022 06:02:37 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-11 23:02:37 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>943ad447-f3a2-4c12-ae1f-c276f6c92d2f</value></item-id></result>

2022-08-11 23:02:37 | contains: true

2022-08-11 23:02:45 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-08-11 23:02:45 | [Mutex] waiting for: [user_regular9wdnky0203@test-domain.com:message:received:content_t9upj70208]

2022-08-11 23:02:45 | [Mutex] waiting for: [user_regular9wdnky0203@test-domain.com:message:received:content_t9upj70208]

2022-08-11 23:03:00 | [Mutex] timeout. Not received [user_regular9wdnky0203@test-domain.com:message:received:content_t9upj70208]

2022-08-11 23:03:00 | [Mutex] received everything.

2022-08-11 23:03:00 | [Mutex] isItemNotified: user_regular9wdnky0203@test-domain.com:message:received:content_t9upj70208 :: false

2022-08-11 23:03:00 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_t9upj70208 :: true