Generated by TestNG with ReportNG at 09:40 PDT on Tuesday 24 May 2022
root@1bc69cf4cb94 / 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.642s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.627s
2022-05-24 09:54:40 |

2022-05-24 09:54:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-05-24 09:54:40 | ------------------------------------

2022-05-24 09:54:40 | [Mutex] isItemNotified: node_mk5l0b0204:exists :: false

2022-05-24 09:54:40 | [Mutex] waiting for: [node_mk5l0b0204:create_node]

2022-05-24 09:54:40 | [Mutex] waiting for: [node_mk5l0b0204:create_node]

2022-05-24 09:54:40 | [Mutex] received everything.

2022-05-24 09:54:40 | [Mutex] isItemNotified: node_mk5l0b0204:create_node:success :: true

2022-05-24 09:54:40 | [Mutex] waiting for: [node_mk5l0b0204:subscribe_node]

2022-05-24 09:54:40 | [Mutex] waiting for: [node_mk5l0b0204:subscribe_node]

2022-05-24 09:54:40 | [Mutex] received everything.

2022-05-24 09:54:40 | [Mutex] isItemNotified: node_mk5l0b0204:subscribe_node:success :: true

2022-05-24 09:54:40 |


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


2022-05-24 09:54:40 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-05-24 09:54:40 | command: <data><node>node_mk5l0b0204</node><entry><content>content_9qmxnd0205</content></entry></data>

2022-05-24 09:54:40 | target: http://localhost:8088

2022-05-24 09:54:40 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-05-24 09:54:40 | entity: <data><node>node_mk5l0b0204</node><entry><content>content_9qmxnd0205</content></entry></data>

2022-05-24 09:54:40 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 24 May 2022 16:54:40 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-05-24 09:54:40 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>f4586b62-7d41-4981-ab0e-5594c8e65d37</value></item-id></result>

2022-05-24 09:54:40 | contains: true

2022-05-24 09:54:40 | [Mutex] received everything.

2022-05-24 09:54:40 | [Mutex] isItemNotified: user_regular8e7k0j0203@test-domain.com:message:received:content_9qmxnd0205 :: true

2022-05-24 09:54:40 |


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


2022-05-24 09:54:40 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-05-24 09:54:40 | command: <data><node>node_mk5l0b0204</node><expire-at>2022-05-24T16:54:35Z</expire-at><entry><content>content_oj60vc0206</content></entry></data>

2022-05-24 09:54:40 | target: http://localhost:8088

2022-05-24 09:54:40 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-05-24 09:54:40 | entity: <data><node>node_mk5l0b0204</node><expire-at>2022-05-24T16:54:35Z</expire-at><entry><content>content_oj60vc0206</content></entry></data>

2022-05-24 09:54:40 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 24 May 2022 16:54:40 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-05-24 09:54:40 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>89881d03-5b92-4138-b735-62be93f68e88</value></item-id></result>

2022-05-24 09:54:40 | contains: true

2022-05-24 09:54:40 | [Mutex] waiting for: [user_regular8e7k0j0203@test-domain.com:message:received:content_oj60vc0206]

2022-05-24 09:54:55 | [Mutex] timeout. Not received [user_regular8e7k0j0203@test-domain.com:message:received:content_oj60vc0206]

2022-05-24 09:54:55 | [Mutex] isItemNotified: user_regular8e7k0j0203@test-domain.com:message:received:content_oj60vc0206 :: false

2022-05-24 09:54:55 |


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


2022-05-24 09:54:55 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-05-24 09:54:55 | command: <data><node>node_mk5l0b0204</node><entry><content>content_i0xni00207</content></entry></data>

2022-05-24 09:54:55 | target: http://localhost:8088

2022-05-24 09:54:55 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-05-24 09:54:55 | entity: <data><node>node_mk5l0b0204</node><entry><content>content_i0xni00207</content></entry></data>

2022-05-24 09:54:55 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 24 May 2022 16:54:55 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-05-24 09:54:55 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>b8954287-d801-46ac-acc4-bd65dfd66065</value></item-id></result>

2022-05-24 09:54:55 | contains: true

2022-05-24 09:55:00 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-05-24 09:55:00 | [Mutex] waiting for: [user_regular8e7k0j0203@test-domain.com:message:received:content_i0xni00207]

2022-05-24 09:55:00 | [Mutex] waiting for: [user_regular8e7k0j0203@test-domain.com:message:received:content_i0xni00207]

2022-05-24 09:55:00 | [Mutex] received everything.

2022-05-24 09:55:00 | [Mutex] isItemNotified: user_regular8e7k0j0203@test-domain.com:message:received:content_i0xni00207 :: true

2022-05-24 09:55:00 |


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


2022-05-24 09:55:00 | [Mutex] received everything.

2022-05-24 09:55:00 | [Mutex] isItemNotified: node_mk5l0b0204:subscribe_node:success :: true

2022-05-24 09:55:00 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-05-24 09:55:00 | command: <data><node>node_mk5l0b0204</node><expire-at>2022-05-24T16:55:05Z</expire-at><entry><content>content_t6r0sv0208</content></entry></data>

2022-05-24 09:55:00 | target: http://localhost:8088

2022-05-24 09:55:00 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-05-24 09:55:00 | entity: <data><node>node_mk5l0b0204</node><expire-at>2022-05-24T16:55:05Z</expire-at><entry><content>content_t6r0sv0208</content></entry></data>

2022-05-24 09:55:00 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 24 May 2022 16:55:00 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-05-24 09:55:00 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>cd286820-ab7d-473d-848e-3bab6384d4c8</value></item-id></result>

2022-05-24 09:55:00 | contains: true

2022-05-24 09:55:08 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

2022-05-24 09:55:08 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-05-24 09:55:08 | [Mutex] waiting for: [user_regular8e7k0j0203@test-domain.com:message:received:content_t6r0sv0208]

2022-05-24 09:55:08 | [Mutex] waiting for: [user_regular8e7k0j0203@test-domain.com:message:received:content_t6r0sv0208]

2022-05-24 09:55:23 | [Mutex] timeout. Not received [user_regular8e7k0j0203@test-domain.com:message:received:content_t6r0sv0208]

2022-05-24 09:55:23 | [Mutex] received everything.

2022-05-24 09:55:23 | [Mutex] isItemNotified: user_regular8e7k0j0203@test-domain.com:message:received:content_t6r0sv0208 :: false

2022-05-24 09:55:23 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_t6r0sv0208 :: true