Generated by TestNG with ReportNG at 22:47 PDT on Wednesday 06 July 2022
root@f9c07ffec79b / 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.809s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.609s
2022-07-06 23:01:29 |

2022-07-06 23:01:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-07-06 23:01:29 | ------------------------------------

2022-07-06 23:01:29 | [Mutex] isItemNotified: node_izmvv50204:exists :: false

2022-07-06 23:01:29 | [Mutex] waiting for: [node_izmvv50204:create_node]

2022-07-06 23:01:29 | [Mutex] received everything.

2022-07-06 23:01:29 | [Mutex] isItemNotified: node_izmvv50204:create_node:success :: true

2022-07-06 23:01:29 | [Mutex] waiting for: [node_izmvv50204:subscribe_node]

2022-07-06 23:01:29 | [Mutex] received everything.

2022-07-06 23:01:29 | [Mutex] isItemNotified: node_izmvv50204:subscribe_node:success :: true

2022-07-06 23:01:29 |


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


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

2022-07-06 23:01:29 | command: <data><node>node_izmvv50204</node><entry><content>content_5mf77t0205</content></entry></data>

2022-07-06 23:01:29 | target: http://localhost:8088

2022-07-06 23:01:29 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-07-06 23:01:29 | entity: <data><node>node_izmvv50204</node><entry><content>content_5mf77t0205</content></entry></data>

2022-07-06 23:01:29 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 07 Jul 2022 06:01:29 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-06 23:01:29 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>816d9ca6-225f-4111-89ea-05fe6d5fab47</value></item-id></result>

2022-07-06 23:01:29 | contains: true

2022-07-06 23:01:29 | [Mutex] waiting for: [user_regular4ekvna0203@test-domain.com:message:received:content_5mf77t0205]

2022-07-06 23:01:29 | [Mutex] received everything.

2022-07-06 23:01:29 | [Mutex] isItemNotified: user_regular4ekvna0203@test-domain.com:message:received:content_5mf77t0205 :: true

2022-07-06 23:01:29 |


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


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

2022-07-06 23:01:29 | command: <data><node>node_izmvv50204</node><expire-at>2022-07-07T06:01:24Z</expire-at><entry><content>content_jdwzy40206</content></entry></data>

2022-07-06 23:01:29 | target: http://localhost:8088

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

2022-07-06 23:01:29 | entity: <data><node>node_izmvv50204</node><expire-at>2022-07-07T06:01:24Z</expire-at><entry><content>content_jdwzy40206</content></entry></data>

2022-07-06 23:01:29 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 07 Jul 2022 06:01:29 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-06 23:01:29 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>d5adaa2e-dbeb-46d1-bb8b-a6451bf9b852</value></item-id></result>

2022-07-06 23:01:29 | contains: true

2022-07-06 23:01:29 | [Mutex] waiting for: [user_regular4ekvna0203@test-domain.com:message:received:content_jdwzy40206]

2022-07-06 23:01:44 | [Mutex] timeout. Not received [user_regular4ekvna0203@test-domain.com:message:received:content_jdwzy40206]

2022-07-06 23:01:44 | [Mutex] isItemNotified: user_regular4ekvna0203@test-domain.com:message:received:content_jdwzy40206 :: false

2022-07-06 23:01:44 |


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


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

2022-07-06 23:01:44 | command: <data><node>node_izmvv50204</node><entry><content>content_ap46tg0207</content></entry></data>

2022-07-06 23:01:44 | target: http://localhost:8088

2022-07-06 23:01:44 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-07-06 23:01:44 | entity: <data><node>node_izmvv50204</node><entry><content>content_ap46tg0207</content></entry></data>

2022-07-06 23:01:44 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 07 Jul 2022 06:01:44 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-06 23:01:44 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>2b9c7325-33bb-4e23-8b1c-8ab84b734314</value></item-id></result>

2022-07-06 23:01:44 | contains: true

2022-07-06 23:01:49 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-07-06 23:01:50 | [Mutex] waiting for: [user_regular4ekvna0203@test-domain.com:message:received:content_ap46tg0207]

2022-07-06 23:01:50 | [Mutex] waiting for: [user_regular4ekvna0203@test-domain.com:message:received:content_ap46tg0207]

2022-07-06 23:01:50 | [Mutex] received everything.

2022-07-06 23:01:50 | [Mutex] isItemNotified: user_regular4ekvna0203@test-domain.com:message:received:content_ap46tg0207 :: true

2022-07-06 23:01:50 |


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


2022-07-06 23:01:50 | [Mutex] received everything.

2022-07-06 23:01:50 | [Mutex] isItemNotified: node_izmvv50204:subscribe_node:success :: true

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

2022-07-06 23:01:50 | command: <data><node>node_izmvv50204</node><expire-at>2022-07-07T06:01:55Z</expire-at><entry><content>content_jzbxzb0208</content></entry></data>

2022-07-06 23:01:50 | target: http://localhost:8088

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

2022-07-06 23:01:50 | entity: <data><node>node_izmvv50204</node><expire-at>2022-07-07T06:01:55Z</expire-at><entry><content>content_jzbxzb0208</content></entry></data>

2022-07-06 23:01:50 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 07 Jul 2022 06:01:50 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-06 23:01:50 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>85b4a930-b120-4448-9f81-9963777b86e7</value></item-id></result>

2022-07-06 23:01:50 | contains: true

2022-07-06 23:01:58 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-07-06 23:01:58 | [Mutex] waiting for: [user_regular4ekvna0203@test-domain.com:message:received:content_jzbxzb0208]

2022-07-06 23:01:58 | [Mutex] waiting for: [user_regular4ekvna0203@test-domain.com:message:received:content_jzbxzb0208]

2022-07-06 23:02:13 | [Mutex] timeout. Not received [user_regular4ekvna0203@test-domain.com:message:received:content_jzbxzb0208]

2022-07-06 23:02:13 | [Mutex] received everything.

2022-07-06 23:02:13 | [Mutex] isItemNotified: user_regular4ekvna0203@test-domain.com:message:received:content_jzbxzb0208 :: false

2022-07-06 23:02:13 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_jzbxzb0208 :: true