Sunday, March 29, 2020
Friday, March 27, 2020
Concurrent Versions System : CVS
https://en.wikipedia.org/wiki/Concurrent_Versions_System
The Concurrent Versions System (CVS), also known as the Concurrent Versioning System, is a free client-server revision control system in the field of software development.
Thursday, March 26, 2020
Wednesday, March 25, 2020
Tuesday, March 24, 2020
Service Account
https://www.vegaitsourcing.rs/media-center/blog/chapter-2-jenkins-service-account-setup-and-certificates
Service account, in few words, is an account by which rights and privileges some tool will perform its tasks.
So, in this case, when JENKINS server will try to do some builds or actually to perform any operation against operating system, it will use that service account. Technically speaking, service account is same like regular interactive accounts but it has its own specific purpose and in most cases it's not used for any other interaction.
Service account, in few words, is an account by which rights and privileges some tool will perform its tasks.
So, in this case, when JENKINS server will try to do some builds or actually to perform any operation against operating system, it will use that service account. Technically speaking, service account is same like regular interactive accounts but it has its own specific purpose and in most cases it's not used for any other interaction.
Monday, March 23, 2020
Saturday, March 21, 2020
Git Create new repository local and push to remote, git clone
Git clone command in LDAP
https://serverfault.com/questions/269067/git-clone-with-user-and-password
http://user:password@host.com/name/.git
------------------------------------------------------------------------------------------------------------------------
Click on Create Repository
Create local folder as shown below.
Thursday, March 19, 2020
Amazon web service and EC2
amazon Ec2 is an IAAS (Infrastructure as as serivce) from AWS. Its compared to a VM in the data center world.
Application (Programming) Language vs Scripting Language
https://www.programmingeeks.com/scripting-vs-programming-languages/
The compiled languages came to be known as programming languages and the ones that utilized an interpreter were known as scripting languages.
Scripting Language:
Interpreter based, no need to compile
Does not create a file type
JavaScript, PHP, Ruby, Perl, VB Script, etc.
Programming Language:
Compiler based ,needs to compile first
Creates a .exe file
C, C++, Java, Pascal, C#, VB, Basic, COBOL, etc.
The compiled languages came to be known as programming languages and the ones that utilized an interpreter were known as scripting languages.
Scripting Language:
Interpreter based, no need to compile
Does not create a file type
JavaScript, PHP, Ruby, Perl, VB Script, etc.
Programming Language:
Compiler based ,needs to compile first
Creates a .exe file
C, C++, Java, Pascal, C#, VB, Basic, COBOL, etc.
BeanShell : Java light weight interpreter scripting language , used in JMeter
https://beanshell.github.io/manual/bshmanual.html
Download .jar file https://beanshell.github.io/download.html
place it in
__JavaInstalltionPath_\lib\ext folder
C:\Program Files\Java\jre1.8.0_231\lib\ext
Check JavaPath is pointing correctly.
We can run in command prompt as well in GUI
1) Cmd Prompt
2) GUI
Open GUI command
Cookies vs Sessions
Cookies are textual information created by server
and stored on client machine only. Cookie can only be read from the domain that it has
been issued from. For example, a cookie set using the domain www.guru99.com
cannot be read from the domain career.guru99.com.
Most websites are having option to disable cookies,
third party cookies or both.
Cookies Ex: Page visited information, User
preferences, remembering username and password.
Session: sessions get stored on the client as well as a server. A session creates a file in a temporary directory on the server where registered session variables and their values are stored. This data will be available to all pages on the site during that visit.
Whenever a session is created, a cookie containing the unique session id is stored on the user’s computer and sends the session id with every request to the server.
Whenever a session is created, a cookie containing the unique session id is stored on the user’s computer and sends the session id with every request to the server.
If the client browser does not support cookies, the
unique session id is displayed in the URL.The session values are automatically
deleted when the browser is closed.
Key Differences:
- Cookies are client-side files that contain user information, whereas Sessions are server-side files that contain user information.
- Cookie is not dependent on session, but Session is dependent on Cookie.
- Cookie expires depending on the lifetime you set for it, while a Session ends when a user closes his/her browser.
Wednesday, March 18, 2020
Tuesday, March 17, 2020
Sunday, March 15, 2020
Thursday, March 12, 2020
SMTP vs IMAP/POP3
Simple Mail Transfer Protocol
Internet Message Access Protocol:
Post Office Protocol version 3
SMTP is used for sending emails while IMAP/POP3 is used for retrieving emails
Post Office Protocol version 3 (POP3) is a standard mail protocol used to receive emails from a remote server to a local email client. POP3 allows you to download email messages on your local computer and read them even when you are offline.
The Internet Message Access Protocol (IMAP) is a mail protocol used for accessing email on a remote web server from a local client. IMAP and POP3 are the two most commonly used Internet mail protocols for retrieving emails.
Swagger /OpenAPI : API documentation
https://dotnettutorials.net/lesson/how-to-use-swagger-in-web-api/
1. Create a Web API project
2. Install Nuget package Swashbuckle: https://www.nuget.org/packages/Swashbuckle/
Start a new debugging session by pressing the F5 key and navigate to http://localhost:[PORT_NUM]/swagger and then you should see the help pages for your APIs.
Now expand an API and then click on the “Try it out!” button which will make a call to that specific API and return results
Wednesday, March 11, 2020
Tuesday, March 10, 2020
Monday, March 9, 2020
Thursday, March 5, 2020
Subscribe to:
Posts (Atom)
JMeter Simple Controller
Simple Controller is just a container for user request.
-
We can convert in 2 ways. 1 . online tool http://editor.swagger.io/#/ 2. Go to https://swagger.io/docs/open-source-tools/swagger-c...
-
to invoke Notepad on Windows and open the JMeter readme in it, configure the OS Process Sampler as the following: Command: notepad....
-
BeanShell PreProcessor to the sampler import org.apache.jmeter.protocol.http.control.Header; sampler.getHeaderManager().removeHeaderN...