Generated by TestNG with ReportNG at 22:18 PDT on Monday 15 August 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.602s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.556s
2022-08-15 22:33:10 |

2022-08-15 22:33:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-08-15 22:33:10 | ------------------------------------

2022-08-15 22:33:10 | [Mutex] isItemNotified: node_kh82rn0204:exists :: false

2022-08-15 22:33:10 | [Mutex] waiting for: [node_kh82rn0204:create_node]

2022-08-15 22:33:10 | [Mutex] received everything.

2022-08-15 22:33:10 | [Mutex] isItemNotified: node_kh82rn0204:create_node:success :: true

2022-08-15 22:33:10 | [Mutex] waiting for: [node_kh82rn0204:subscribe_node]

2022-08-15 22:33:10 | [Mutex] received everything.

2022-08-15 22:33:10 | [Mutex] isItemNotified: node_kh82rn0204:subscribe_node:success :: true

2022-08-15 22:33:10 |


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


2022-08-15 22:33:10 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-15 22:33:10 | command: <data><node>node_kh82rn0204</node><entry><content>content_wc7hk40205</content></entry></data>

2022-08-15 22:33:10 | target: http://localhost:8088

2022-08-15 22:33:10 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-08-15 22:33:10 | entity: <data><node>node_kh82rn0204</node><entry><content>content_wc7hk40205</content></entry></data>

2022-08-15 22:33:10 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 16 Aug 2022 05:33:10 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-15 22:33:10 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>619c4f3a-6f92-4dd5-a029-6ec2d9b06c94</value></item-id></result>

2022-08-15 22:33:10 | contains: true

2022-08-15 22:33:10 | [Mutex] received everything.

2022-08-15 22:33:10 | [Mutex] isItemNotified: user_regularb6lowr0203@test-domain.com:message:received:content_wc7hk40205 :: true

2022-08-15 22:33:10 |


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


2022-08-15 22:33:10 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-15 22:33:10 | command: <data><node>node_kh82rn0204</node><expire-at>2022-08-16T05:33:05Z</expire-at><entry><content>content_w6sngs0206</content></entry></data>

2022-08-15 22:33:10 | target: http://localhost:8088

2022-08-15 22:33:10 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-08-15 22:33:10 | entity: <data><node>node_kh82rn0204</node><expire-at>2022-08-16T05:33:05Z</expire-at><entry><content>content_w6sngs0206</content></entry></data>

2022-08-15 22:33:10 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 16 Aug 2022 05:33:10 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-15 22:33:10 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>d0d04bab-74fe-4e1e-b353-03f65433d87f</value></item-id></result>

2022-08-15 22:33:10 | contains: true

2022-08-15 22:33:10 | [Mutex] waiting for: [user_regularb6lowr0203@test-domain.com:message:received:content_w6sngs0206]

2022-08-15 22:33:25 | [Mutex] timeout. Not received [user_regularb6lowr0203@test-domain.com:message:received:content_w6sngs0206]

2022-08-15 22:33:25 | [Mutex] isItemNotified: user_regularb6lowr0203@test-domain.com:message:received:content_w6sngs0206 :: false

2022-08-15 22:33:25 |


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


2022-08-15 22:33:25 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-15 22:33:25 | command: <data><node>node_kh82rn0204</node><entry><content>content_eio6h90207</content></entry></data>

2022-08-15 22:33:25 | target: http://localhost:8088

2022-08-15 22:33:25 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-08-15 22:33:25 | entity: <data><node>node_kh82rn0204</node><entry><content>content_eio6h90207</content></entry></data>

2022-08-15 22:33:25 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 16 Aug 2022 05:33:25 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-15 22:33:25 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>d0816f77-e5bb-4a9d-b9e1-40260675f8b1</value></item-id></result>

2022-08-15 22:33:25 | contains: true

2022-08-15 22:33:30 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-08-15 22:33:30 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222

2022-08-15 22:33:30 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-08-15 22:33:30 | [Mutex] waiting for: [user_regularb6lowr0203@test-domain.com:message:received:content_eio6h90207]

2022-08-15 22:33:30 | [Mutex] waiting for: [user_regularb6lowr0203@test-domain.com:message:received:content_eio6h90207]

2022-08-15 22:33:30 | [Mutex] received everything.

2022-08-15 22:33:30 | [Mutex] isItemNotified: user_regularb6lowr0203@test-domain.com:message:received:content_eio6h90207 :: true

2022-08-15 22:33:30 |


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


2022-08-15 22:33:30 | [Mutex] received everything.

2022-08-15 22:33:30 | [Mutex] isItemNotified: node_kh82rn0204:subscribe_node:success :: true

2022-08-15 22:33:30 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-15 22:33:30 | command: <data><node>node_kh82rn0204</node><expire-at>2022-08-16T05:33:35Z</expire-at><entry><content>content_2gcd2n0208</content></entry></data>

2022-08-15 22:33:30 | target: http://localhost:8088

2022-08-15 22:33:30 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-08-15 22:33:30 | entity: <data><node>node_kh82rn0204</node><expire-at>2022-08-16T05:33:35Z</expire-at><entry><content>content_2gcd2n0208</content></entry></data>

2022-08-15 22:33:31 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 16 Aug 2022 05:33:31 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-15 22:33:31 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>757928da-97f3-4522-a4e7-731811570918</value></item-id></result>

2022-08-15 22:33:31 | contains: true

2022-08-15 22:33:39 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-08-15 22:33:39 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222

2022-08-15 22:33:39 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-08-15 22:33:39 | [Mutex] waiting for: [user_regularb6lowr0203@test-domain.com:message:received:content_2gcd2n0208]

2022-08-15 22:33:39 | [Mutex] waiting for: [user_regularb6lowr0203@test-domain.com:message:received:content_2gcd2n0208]

2022-08-15 22:33:54 | [Mutex] timeout. Not received [user_regularb6lowr0203@test-domain.com:message:received:content_2gcd2n0208]

2022-08-15 22:33:54 | [Mutex] received everything.

2022-08-15 22:33:54 | [Mutex] isItemNotified: user_regularb6lowr0203@test-domain.com:message:received:content_2gcd2n0208 :: false

2022-08-15 22:33:54 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_2gcd2n0208 :: true