Wednesday, April 15, 2020

Google Classroom vs Moodle [learning management systems (LMS)]


JMeter Only Once Controller true for Loop Count -------------- For all Threads to run only once the requests write If Controller (groovy Script)


Hi

JMeter run the Once Only Controller , one time for each thread. So, it will be applicable for Loop Count.





If you need to Once only for All Thread, we should use, if Controller and Groovy script

https://sqa.stackexchange.com/questions/35977/how-to-enforce-run-once-only-controller-in-jmeter


${__groovy(ctx.getThreadNum() == 0 &&  vars.getIteration() == 1,)}


















Windows Registry - setting for Windows and Other installed programs.



a database on hard drive, stores important information setting for Windows and Other installed programs.

ex: we can customize task bar
       Right click context menu
       Change font in the command  prompt
       Change the delay of mouse over
       Stopping windows update.


Tuesday, April 14, 2020

.INI file --> initialization file. ----used to set parameters for the operating system and some programs : Its been deprecated by Windows Registry now


Convert Swagger UI/View to Swagger Json



https://stackoverflow.com/questions/21336488/generate-webapi-documentation-in-swagger-json-format

As stated, /swagger takes you to the swagger UI.

If you're using Swashbuckle, then /swagger/docs/v1 should take you to the swagger.json file - I found this using Chrome Dev tools.

Edit: if you're using Swashbuckle.AspNetCore, then the url is slightly different - /swagger/v1/swagger.json



 http/https://xyz.com/module1/swagger/index.html  --->

 http/https://xyz.com/module1/swagger/v1/swagger.json



Unicode UTF-8 vs ASCII


ASCII is (0-127) 7 bit (1111111) representation of keyboard keys.

@ = 64
A = 65
Delete Key = 127

Hexa Decimal is represented by 4 binary digits.



 Unicode assigns each character a unique number, or code point

UTF-8 is the encoding format, 

1- byte encoding   

 


2 -byte encoding



3- byte encoding




4 -byte encoding

Below screenshot is 4 byte encoding.






https://www.youtube.com/watch?v=sqPTR_v4qFA

https://www.youtube.com/watch?v=5aJKKgSEUnY

Team forge : Web based Application Life Cycle Manager


JMeter Simple Controller

  Simple Controller is just a  container  for user request.